[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.22 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-178 started "build pkgmgr-server.spec" at Mon Dec 16 08:01:51 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --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/ --clean /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.22/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.22/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7l/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 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/debug/ [ 3s] /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/ [ 9s] /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/ [ 12s] expanding package dependencies... [ 13s] copying qemu [ 13s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 13s] [ 13s] registering binfmt handlers for cross build [ 13s] calculating packages to download... [ 17s] [1/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/gumd-1.0.8-0.armv7l.rpm ... [ 17s] [2/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/libgum-1.0.8-0.armv7l.rpm ... [ 17s] [3/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/libgum-devel-1.0.8-0.armv7l.rpm ... [ 17s] [4/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/rust-glib-sys-0.17.10-1.armv7l.rpm ... [ 18s] [5/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/rust-minizip-sys-0.1.2-1.armv7l.rpm ... [ 18s] [ 18s] cycle: nss -> libsoftokn3 [ 18s] breaking dependency nss -> libsoftokn3 [ 18s] [1/42] preinstalling libmagic-data... [ 18s] [2/42] preinstalling libncurses... [ 18s] [3/42] preinstalling setup... [ 18s] [4/42] preinstalling filesystem... [ 18s] [5/42] preinstalling glibc... [ 18s] [6/42] preinstalling libgcc... [ 18s] [7/42] preinstalling bash... [ 18s] [8/42] preinstalling diffutils... [ 18s] [9/42] preinstalling grep... [ 18s] [10/42] preinstalling libattr... [ 18s] [11/42] preinstalling libblkid... [ 18s] [12/42] preinstalling libbz2... [ 18s] [13/42] preinstalling libcap... [ 19s] [14/42] preinstalling libfreebl3... [ 19s] [15/42] preinstalling liblua... [ 19s] [16/42] preinstalling liblzma... [ 19s] [17/42] preinstalling libpopt... [ 19s] [18/42] preinstalling libreadline... [ 19s] [19/42] preinstalling libsmack... [ 19s] [20/42] preinstalling libsqlite... [ 19s] [21/42] preinstalling libuuid... [ 19s] [22/42] preinstalling libxcrypt... [ 19s] [23/42] preinstalling libzstd1... [ 19s] [24/42] preinstalling nspr... [ 19s] [25/42] preinstalling sed... [ 19s] [26/42] preinstalling zlib... [ 19s] [27/42] preinstalling qemu-accel-x86_64-armv7l... [ 27s] [28/42] preinstalling qemu-linux-user-x86_64-cross... [ 30s] [29/42] preinstalling coreutils... [ 30s] [30/42] preinstalling libacl... [ 31s] [31/42] preinstalling libelf... [ 31s] [32/42] preinstalling libmount... [ 31s] [33/42] preinstalling smack... [ 31s] [34/42] preinstalling bzip2... [ 31s] [35/42] preinstalling libmagic... [ 31s] [36/42] preinstalling libxml2... [ 31s] [37/42] preinstalling tar... [ 31s] [38/42] preinstalling util-linux... [ 31s] [39/42] preinstalling util-linux-su... [ 31s] [40/42] preinstalling nss... [ 31s] [41/42] preinstalling libsoftokn3... [ 31s] [42/42] preinstalling rpm... [ 31s] [ 32s] running qemu-linux-user-x86_64-cross postinstall script [ 32s] running qemu-accel-x86_64-armv7l postinstall script [ 32s] mv: cannot stat `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/14.2.0/liblto_plugin.so': No such file or directory [ 32s] running setup postinstall script [ 32s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 32s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 32s] initializing rpm db... [ 32s] reordering...cycle: gio-branding-upstream -> libgio [ 32s] breaking dependency libgio -> gio-branding-upstream [ 32s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 32s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 32s] cycle: libgum -> gumd [ 32s] breaking dependency libgum -> gumd [ 32s] cycle: glibc-devel -> libxcrypt-devel [ 32s] breaking dependency libxcrypt-devel -> glibc-devel [ 32s] cycle: rust -> rust-devel [ 32s] breaking dependency rust-devel -> rust [ 32s] cycle: libsoftokn3 -> nss [ 32s] breaking dependency nss -> libsoftokn3 [ 32s] reordering done [ 33s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 33s] [2/241] cumulate dlog-config-persistent-logs-9.0.1-1 [ 33s] [3/241] cumulate libmagic-data-5.45-1.4 [ 33s] [4/241] cumulate pcre2-syntax-10.40-1 [ 33s] [5/241] cumulate python3-pyparsing-3.1.1-1.1 [ 33s] [6/241] cumulate python3-six-1.16.0-1.1 [ 33s] [7/241] cumulate rust-std-static-1.74.0-1 [ 33s] [8/241] cumulate setup-0.9-1.1 [ 33s] [9/241] cumulate filesystem-3.1-1.1 [ 33s] [10/241] cumulate python3-packaging-23.2-1.1 [ 33s] [11/241] cumulate glibc-2.39-1.6 [ 33s] [12/241] cumulate libatomic-14.2.0-1.6 [ 33s] [13/241] cumulate libgcc-14.2.0-1.6 [ 33s] [14/241] cumulate bash-3.2.57-1.1 [ 33s] [15/241] cumulate capi-base-common-0.4.82-1 [ 33s] [16/241] cumulate cpio-2.8-1.1 [ 33s] [17/241] cumulate diffutils-3.10-1.1 [ 33s] [18/241] cumulate fdupes-2.2.1-1.4 [ 33s] [19/241] cumulate findutils-4.3.8-1.4 [ 33s] [20/241] cumulate gdbm-1.8.3-1.6 [ 33s] [21/241] cumulate hostname-3.23-1.1 [ 33s] [22/241] cumulate iniparser-4.1-1.1 [ 33s] [23/241] cumulate libattr-2.5.1-1.4 [ 33s] [24/241] cumulate libblkid-2.39.3-1.4 [ 33s] [25/241] cumulate libbz2-1.0.8-1.4 [ 33s] [26/241] cumulate libcap-2.69-1.4 [ 33s] [27/241] cumulate libexpat-2.6.2-1.5 [ 33s] [28/241] cumulate libffi-3.4.2-1.5 [ 33s] [29/241] cumulate libfreebl3-3.98-1.6 [ 33s] [30/241] cumulate libgfortran-14.2.0-1.6 [ 33s] [31/241] cumulate libgomp-14.2.0-1.6 [ 33s] [32/241] cumulate libitm-14.2.0-1.6 [ 33s] [33/241] cumulate libjson-0.17-0 [ 33s] [34/241] cumulate libltdl-2.4.7-1.6 [ 33s] [35/241] cumulate liblua-5.1.5-1.4 [ 33s] [36/241] cumulate liblzma-5.4.5-1.6 [ 33s] [37/241] cumulate libopenssl11-1.1.1w-1.5 [ 33s] [38/241] cumulate libopenssl3-3.0.13-1.6 [ 33s] [39/241] cumulate libpcre-8.45-1.4 [ 33s] [40/241] cumulate libpopt-1.16-1.3 [ 33s] [41/241] cumulate libpython3_121_0-3.12.0-1.5 [ 33s] [42/241] cumulate libsmack-1.3.1-1.3 [ 33s] [43/241] cumulate libsmartcols-2.39.3-1.4 [ 33s] [44/241] cumulate libsqlite-3.44.0-1.4 [ 33s] [45/241] cumulate libstdc++-14.2.0-1.6 [ 33s] [46/241] cumulate libuuid-2.39.3-1.4 [ 33s] [47/241] cumulate libxcrypt-4.4.36-1.6 [ 33s] [48/241] cumulate libzstd1-1.5.5-1.5 [ 33s] [49/241] cumulate m4-1.4.19-1.1 [ 33s] [50/241] cumulate net-tools-2.0_20121208git-1.3 [ 33s] [51/241] cumulate nspr-4.35-1.4 [ 33s] [52/241] cumulate patch-2.7.6-1.3 [ 33s] [53/241] cumulate pkg-config-0.29.2-1.4 [ 33s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 33s] [55/241] cumulate sed-4.1c-1.4 [ 33s] [56/241] cumulate update-alternatives-1.22.2-1.1 [ 33s] [57/241] cumulate which-2.17-1.1 [ 33s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 33s] [59/241] cumulate zlib-1.3-1.5 [ 33s] [60/241] cumulate pcre2-10.40-1 [ 33s] [61/241] cumulate pcre2-utf16-10.40-1 [ 33s] [62/241] cumulate pcre2-utf32-10.40-1 [ 34s] [63/241] cumulate build-compare-2023.06.18-1.1 [ 34s] [64/241] cumulate hal-rootstrap-checker-0.1.0-1.1 [ 34s] [65/241] cumulate libstdc++-devel-14.2.0-1.6 [ 34s] [66/241] cumulate qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 34s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 34s] [68/241] cumulate capi-base-common-devel-0.4.82-1 [ 34s] [69/241] cumulate cpp-14.2.0-1.6 [ 34s] [70/241] cumulate gcc-c++-14.2.0-1.6 [ 34s] [71/241] cumulate libblkid-devel-2.39.3-1.4 [ 34s] [72/241] cumulate libffi-devel-3.4.2-1.5 [ 34s] [73/241] cumulate tidl-2.3.0-1 [ 34s] [74/241] cumulate unzip-610c25-1.1 [ 34s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 34s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 34s] [77/241] cumulate binutils-libs-2.43-1.6 [ 34s] [78/241] cumulate coreutils-6.9-14.1 [ 34s] [79/241] cumulate gawk-3.1.5-1.1 [ 34s] [80/241] cumulate grep-2.5.2-1.3 [ 34s] [81/241] cumulate libacl-2.3.2-1.4 [ 34s] [82/241] cumulate libcap-tools-2.69-1.4 [ 34s] [83/241] cumulate libcc1-14.2.0-1.6 [ 34s] [84/241] cumulate libelf-0.189-1.6 [ 34s] [85/241] cumulate libglib-2.80.5-0 [ 34s] [86/241] cumulate libmount-2.39.3-1.4 [ 34s] [87/241] cumulate libubsan-14.2.0-1.6 [ 34s] [88/241] cumulate make-4.4-1.4 [ 34s] [89/241] cumulate minizip-1.3-1.5 [ 34s] [90/241] cumulate nss-certs-3.98-1.6 [ 34s] [91/241] cumulate smack-1.3.1-1.3 [ 34s] [92/241] cumulate sqlite-3.44.0-1.4 [ 34s] [93/241] cumulate bzip2-1.0.8-1.4 [ 34s] [94/241] cumulate dlog-9.0.1-1 [ 34s] [95/241] cumulate gettext-runtime-0.21.1-2.5 [ 34s] [96/241] cumulate libfdisk-2.39.3-1.4 [ 34s] [97/241] cumulate libkmod-31-1.1 [ 34s] [98/241] cumulate libmagic-5.45-1.4 [ 34s] [99/241] cumulate libxml2-2.12.5-1.5 [ 34s] [100/241] cumulate shadow-utils-4.1.4.2-7.1 [ 34s] [101/241] cumulate xz-5.4.5-1.6 [ 34s] [102/241] cumulate pcre2-devel-10.40-1 [ 34s] [103/241] cumulate perl-5.38.0-1.4 [ 34s] [104/241] cumulate cynara-db-migration-0.19.4-1 [ 34s] [105/241] cumulate ttrace-1.1.0-1 [ 34s] [106/241] cumulate build-mkbaselibs-20120927-1.1 [ 34s] [107/241] cumulate linux-glibc-devel-6.6-1.6 [ 35s] [108/241] cumulate dlog-logger-9.0.1-1 [ 35s] [109/241] cumulate minizip-devel-1.3-1.5 [ 35s] [110/241] cumulate terminfo-base-full-6.4-1.6 [ 35s] [111/241] cumulate acl-2.3.2-1.4 [ 35s] [112/241] cumulate autoconf-2.71-1.7 [ 35s] [113/241] cumulate file-5.45-1.4 [ 35s] [114/241] cumulate glibc-locale-2.39-1.6 [ 35s] [115/241] cumulate libgmodule-2.80.5-0 [ 35s] [116/241] cumulate libgthread-2.80.5-0 [ 35s] [117/241] cumulate libmount-devel-2.39.3-1.4 [ 35s] [118/241] cumulate tar-1.17-1.1 [ 35s] [119/241] cumulate tizen-platform-config-5.0-1 [ 35s] [120/241] cumulate binutils-2.43-1.6 [ 35s] [121/241] cumulate gzip-1.3.12-1.4 [ 35s] [122/241] cumulate libgobject-2.80.5-0 [ 35s] [123/241] cumulate pam-1.1.6-1.3 [ 35s] [124/241] cumulate tzdata-2023c-1.1 [ 35s] [125/241] cumulate libdw-0.189-1.6 [ 35s] [126/241] cumulate security-config-1.0-1 [ 35s] [127/241] cumulate gettext-tools-0.21.1-2.5 [ 35s] [128/241] cumulate libarchive-3.7.2-1.5 [ 35s] [129/241] cumulate shared-mime-info-1.7-0 [ 36s] [130/241] cumulate gcc-14.2.0-1.6 [ 36s] [131/241] cumulate qemu-accel-x86_64-armv7l-0.4-1.1 [ 36s] [132/241] cumulate automake-1.16.5-1.6 [ 36s] [133/241] cumulate libtzplatform-config-5.0-1 [ 36s] [134/241] cumulate libasm-0.189-1.6 [ 36s] [135/241] cumulate libncurses5-6.4-1.6 [ 36s] [136/241] cumulate libncurses6-6.4-1.6 [ 36s] [137/241] cumulate build-20120927-1.1 [ 36s] [138/241] cumulate libsystemd-244-0 [ 36s] [139/241] cumulate libgirepository2-2.80.5-0 [ 36s] [140/241] cumulate libdlog-9.0.1-1 [ 36s] [141/241] cumulate libncurses-6.4-1.6 [ 36s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 36s] [143/241] cumulate capi-system-resource-1.0.0-0 [ 36s] [144/241] cumulate dbus-libs-1.12.20-3 [ 36s] [145/241] cumulate less-643-1.1 [ 36s] [146/241] cumulate libdlog-devel-9.0.1-1 [ 36s] [147/241] cumulate libreadline-5.2-1.4 [ 36s] [148/241] cumulate libtool-2.4.7-1.6 [ 36s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 36s] [150/241] cumulate parcel-0.17.3-0 [ 36s] [151/241] cumulate elfutils-0.189-1.6 [ 36s] [152/241] cumulate cmake-3.25.2-1.5 [ 36s] [153/241] cumulate libcynara-commons-0.19.4-1 [ 36s] [154/241] cumulate capi-system-info-0.5.2-1 [ 36s] [155/241] cumulate systemd-244-0 [ 37s] [156/241] cumulate readline-devel-5.2-1.4 [ 37s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 37s] [158/241] cumulate libcynara-session-0.19.4-1 [ 37s] [159/241] cumulate parcel-devel-0.17.3-0 [ 37s] [160/241] cumulate pkgmgr-0.20.21-0 [ 37s] [161/241] cumulate systemd-devel-244-0 [ 37s] [162/241] cumulate libcynara-creds-commons-0.19.4-1 [ 37s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 37s] [164/241] cumulate libcynara-client-0.19.4-1 [ 37s] [165/241] cumulate python3-base-3.12.0-1.5 [ 37s] [166/241] cumulate util-linux-2.39.3-1.4 [ 37s] [167/241] cumulate python3-3.12.0-1.1 [ 37s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 37s] [169/241] cumulate libcynara-creds-socket-0.19.4-1 [ 37s] [170/241] cumulate util-linux-su-2.39.3-1.4 [ 37s] [171/241] cumulate dbus-1.12.20-3 [ 37s] [172/241] cumulate python3-setuptools-69.0.2-1.1 [ 37s] [173/241] cumulate libxcrypt-devel-4.4.36-1.6 [ 37s] [174/241] cumulate rust-devel-1.74.0-1 [ 37s] [175/241] cumulate nss-3.98-1.6 [ 37s] [176/241] cumulate libgio-2.80.5-0 [ 37s] [177/241] cumulate gio-branding-upstream-2.80.5-0 [ 37s] [178/241] cumulate glibc-devel-2.39-1.6 [ 37s] [179/241] cumulate libjson-glib-1.8.0-0 [ 37s] [180/241] cumulate libsoftokn3-3.98-1.6 [ 37s] [181/241] cumulate rust-1.74.0-1 [ 37s] [182/241] cumulate glib2-tools-2.80.5-0 [ 37s] [183/241] cumulate libgum-1.0.8-0 [ 37s] [184/241] cumulate libsyscommon-5.0.0-0 [ 37s] [185/241] cumulate buxton2-1.8.10-0 [ 37s] [186/241] cumulate rpm-4.14.1.1-1.6 [ 37s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 37s] [188/241] cumulate rust-either-1.8.1-1 [ 37s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 37s] [190/241] cumulate zlib-devel-1.3-1.5 [ 37s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 38s] [192/241] cumulate rust-difflib-0.4.0-1 [ 38s] [193/241] cumulate rust-downcast-0.11.0-1 [ 38s] [194/241] cumulate rust-fragile-2.0.0-1 [ 38s] [195/241] cumulate rust-libc-0.2.139-1 [ 38s] [196/241] cumulate rust-libm-0.2.6-1 [ 38s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 38s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 38s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 38s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 38s] [201/241] cumulate rust-termtree-0.4.1-1 [ 38s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 38s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 38s] [204/241] cumulate vconf-compat-1.8.10-0 [ 38s] [205/241] cumulate bundle-0.17.3-0 [ 38s] [206/241] cumulate gumd-1.0.8-0 [ 38s] [207/241] cumulate rpm-build-4.14.1.1-1.6 [ 38s] [208/241] cumulate bundle-devel-0.17.3-0 [ 38s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 38s] [210/241] cumulate rust-itertools-0.10.5-1 [ 38s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 38s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 38s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 38s] [214/241] cumulate rust-regex-1.7.1-1 [ 38s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 38s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 38s] [217/241] cumulate libstorage-1.0.0-0 [ 38s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 38s] [219/241] cumulate glib2-devel-2.80.5-0 [ 38s] [220/241] cumulate libgum-devel-1.0.8-0 [ 38s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 38s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 38s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 38s] [224/241] cumulate rust-quote-1.0.23-1 [ 38s] [225/241] cumulate rust-spin-0.9.5-1 [ 38s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 38s] [227/241] cumulate aul-0.66.0-1 [ 38s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 38s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 38s] [230/241] cumulate rust-syn-1.0.107-1 [ 38s] [231/241] cumulate aul-devel-0.66.0-1 [ 38s] [232/241] cumulate rust-predicates-3.0.4-1 [ 38s] [233/241] cumulate rpc-port-1.19.1-0 [ 38s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 38s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 38s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 38s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 38s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 38s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 38s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 38s] [241/241] cumulate rust-mockall-0.11.4-1 [ 38s] now installing cumulated packages [ 39s] Preparing... ######################################## [ 39s] Updating / installing... [ 39s] pcre2-syntax-10.40-1 ######################################## [ 39s] setup-0.9-1.1 ##############warning: /etc/profile created as /etc/profile.rpmnew [ 39s] ########################## [ 39s] filesystem-3.1-1.1 ######################################## [ 45s] rust-std-static-1.74.0-1 ######################################## [ 45s] python3-six-1.16.0-1.1 ######################################## [ 45s] python3-pyparsing-3.1.1-1.1 ######################################## [ 45s] python3-packaging-23.2-1.1 ######################################## [ 45s] libmagic-data-5.45-1.4 ######################################## [ 45s] dlog-config-persistent-logs-9.0.1-1 ######################################## [ 45s] default-ac-domains-0.1-1.1 ######################################## [ 46s] glibc-2.39-1.6 ######################################## [ 46s] libgcc-14.2.0-1.6 ######################################## [ 47s] bash-3.2.57-1.1 ######################################## [ 47s] rust-std-shared-1.74.0-1 ######################################## [ 48s] pkg-config-0.29.2-1.4 ######################################## [ 48s] libstdc++-14.2.0-1.6 ######################################## [ 48s] zlib-1.3-1.5 ######################################## [ 49s] coreutils-6.9-14.1 ######################################## [ 49s] liblzma-5.4.5-1.6 ######################################## [ 50s] libxml2-2.12.5-1.5 ######################################## [ 50s] capi-base-common-0.4.82-1 ######################################## [ 50s] libxcrypt-4.4.36-1.6 ######################################## [ 51s] libbz2-1.0.8-1.4 ######################################## [ 51s] libsqlite-3.44.0-1.4 ######################################## [ 51s] shadow-utils-4.1.4.2-7.1 ######################################## [ 51s] libelf-0.189-1.6 ######################################## [ 52s] libblkid-2.39.3-1.4 ######################################## [ 52s] libmount-2.39.3-1.4 ######################################## [ 52s] libcap-2.69-1.4 ######################################## [ 52s] libffi-3.4.2-1.5 ######################################## [ 53s] libuuid-2.39.3-1.4 ######################################## [ 53s] capi-base-common-devel-0.4.82-1 ######################################## [ 53s] libdw-0.189-1.6 ######################################## [ 53s] pam-1.1.6-1.3 ######################################## [ 54s] libsystemd-244-0 ######################################## [ 54s] libmagic-5.45-1.4 ######################################## [ 54s] minizip-1.3-1.5 ######################################## [ 54s] rust-cfg-if-1.0.0-1 ######################################## [ 55s] libexpat-2.6.2-1.5 ######################################## [ 55s] libsmack-1.3.1-1.3 ######################################## [ 55s] smack-1.3.1-1.3 ######################################## [ 55s] tizen-platform-config-5.0-1 ######################################## [ 56s] libtzplatform-config-5.0-1 ######################################## [ 57s] nspr-4.35-1.4 ######################################## [ 57s] pcre2-10.40-1 ######################################## [ 57s] libglib-2.80.5-0 ######################################## [ 57s] libgobject-2.80.5-0 ######################################## [ 57s] libgmodule-2.80.5-0 ######################################## [ 58s] libatomic-14.2.0-1.6 ######################################## [ 58s] terminfo-base-full-6.4-1.6 ######################################## [ 58s] libncurses6-6.4-1.6 ######################################## [ 58s] libreadline-5.2-1.4 ######################################## [ 59s] libgirepository2-2.80.5-0 ######################################## [ 59s] dlog-9.0.1-1 ######################################## [ 59s] rust-predicates-core-1.0.6-1 ######################################## [ 59s] rust-unicode-ident-1.0.6-1 ######################################## [ 60s] rust-proc-macro2-1.0.51-1 ######################################## [ 60s] rust-quote-1.0.23-1 ######################################## [ 61s] rust-syn-1.0.107-1 ######################################## [ 62s] findutils-4.3.8-1.4 ######################################## [ 62s] gdbm-1.8.3-1.6 ######################################## [ 65s] perl-5.38.0-1.4 ######################################## [ 65s] libfreebl3-3.98-1.6 ######################################## [ 65s] liblua-5.1.5-1.4 ######################################## [ 66s] libopenssl3-3.0.13-1.6 ######################################## [ 66s] libpopt-1.16-1.3 ######################################## [ 66s] libzstd1-1.5.5-1.5 ######################################## [ 66s] xdgmime-0.0.17-1.1 ######################################## [ 66s] xdgmime-devel-0.0.17-1.1 ######################################## [ 66s] build-mkbaselibs-20120927-1.1 ######################################## [ 66s] libtzplatform-config-devel-5.0-1 ######################################## [ 66s] libffi-devel-3.4.2-1.5 ######################################## [ 66s] libblkid-devel-2.39.3-1.4 ######################################## [ 66s] libmount-devel-2.39.3-1.4 ######################################## [ 66s] xz-devel-5.4.5-1.6 ######################################## [ 67s] linux-glibc-devel-6.6-1.6 ######################################## [ 67s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 67s] cynara-db-migration-0.19.4-1 ######################################## [ 67s] rust-mockall_derive-0.11.4-1 ######################################## [ 67s] dlog-logger-9.0.1-1 ######################################## [ 67s] libdlog-9.0.1-1 ######################################## [ 68s] libcynara-commons-0.19.4-1 ######################################## [ 68s] parcel-0.17.3-0 ######################################## [ 68s] parcel-devel-0.17.3-0 ######################################## [ 68s] libdlog-devel-9.0.1-1 ######################################## [ 68s] capi-system-resource-1.0.0-0 ######################################## [ 68s] libcynara-client-0.19.4-1 ######################################## [ 68s] libcynara-session-0.19.4-1 ######################################## [ 68s] capi-system-resource-devel-1.0.0-0 ######################################## [ 68s] libcynara-creds-commons-0.19.4-1 ######################################## [ 68s] libcynara-creds-socket-0.19.4-1 ######################################## [ 69s] libxml2-tools-2.12.5-1.5 ######################################## [ 69s] libncurses5-6.4-1.6 ######################################## [ 69s] ncurses-devel-6.4-1.6 ######################################## [ 69s] readline-devel-5.2-1.4 ######################################## [ 89s] rust-devel-1.74.0-1 ######################################## [ 89s] libgthread-2.80.5-0 ######################################## [ 89s] nss-certs-3.98-1.6 ######################################## [ 89s] libsoftokn3-3.98-1.6 ######################################## [ 89s] nss-3.98-1.6 ######################################## [ 89s] dbus-libs-1.12.20-3 ######################################## [ 90s] libasm-0.189-1.6 ######################################## [ 90s] libfdisk-2.39.3-1.4 ######################################## [ 90s] libcap-tools-2.69-1.4 ######################################## [ 90s] security-config-1.0-1 ######################################## [ 90s] groupadd: group 'dbus' already exists [ 93s] groupadd: group 'priv_appdebugging' already exists [ 101s] rm: cannot remove `/opt/share/security-config/test': No such file or directory [ 101s] cat: /etc/tizen-build.conf: No such file or directory [ 101s] dbus-1.12.20-3 ######################################## [ 101s] sqlite-3.44.0-1.4 ######################################## [ 101s] bzip2-1.0.8-1.4 ######################################## [ 101s] ttrace-1.1.0-1 ######################################## [ 102s] libkmod-31-1.1 ######################################## [ 102s] xz-5.4.5-1.6 ######################################## [ 102s] gzip-1.3.12-1.4 ######################################## [ 102s] binutils-libs-2.43-1.6 ######################################## [ 103s] binutils-2.43-1.6 ######################################## [ 103s] libcc1-14.2.0-1.6 ######################################## [ 104s] libubsan-14.2.0-1.6 ######################################## [ 104s] gettext-runtime-0.21.1-2.5 ######################################## [ 104s] rust-either-1.8.1-1 ######################################## [ 105s] rust-itertools-0.10.5-1 ######################################## [ 105s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 105s] rust-anstyle-0.3.5-1 ######################################## [ 106s] rust-difflib-0.4.0-1 ######################################## [ 106s] rust-downcast-0.11.0-1 ######################################## [ 106s] rust-fragile-2.0.0-1 ######################################## [ 106s] rust-libc-0.2.139-1 ######################################## [ 107s] rust-libm-0.2.6-1 ######################################## [ 107s] rust-num-traits-0.2.15-1 ######################################## [ 107s] rust-float-cmp-0.9.0-1 ######################################## [ 108s] rust-regex-syntax-0.6.28-1 ######################################## [ 108s] rust-regex-1.7.1-1 ######################################## [ 109s] rust-predicates-3.0.4-1 ######################################## [ 109s] rust-scopeguard-1.1.0-1 ######################################## [ 109s] rust-lock_api-0.4.9-1 ######################################## [ 109s] rust-spin-0.9.5-1 ######################################## [ 109s] rust-lazy_static-1.4.0-1 ######################################## [ 110s] rust-termtree-0.4.1-1 ######################################## [ 110s] rust-predicates-tree-1.0.9-1 ######################################## [ 110s] make-4.4-1.4 ######################################## [ 110s] iniparser-4.1-1.1 ######################################## [ 110s] capi-system-info-0.5.2-1 ######################################## [ 110s] pkgmgr-0.20.21-0 ######################################## [ 111s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 111s] libattr-2.5.1-1.4 ######################################## [ 111s] libacl-2.3.2-1.4 ######################################## [ 111s] tar-1.17-1.1 ######################################## [ 111s] libarchive-3.7.2-1.5 ######################################## [ 112s] rpm-4.14.1.1-1.6 ######################################## [ 112s] acl-2.3.2-1.4 ######################################## [ 112s] libgfortran-14.2.0-1.6 ######################################## [ 113s] libgomp-14.2.0-1.6 ######################################## [ 113s] libitm-14.2.0-1.6 ######################################## [ 117s] gcc-14.2.0-1.6 ######################################## [ 117s] libxcrypt-devel-4.4.36-1.6 ######################################## [ 117s] glibc-devel-2.39-1.6 ######################################## [ 117s] zlib-devel-1.3-1.5 ######################################## [ 117s] libxml2-devel-2.12.5-1.5 ######################################## [ 117s] libjson-0.17-0 ######################################## [ 117s] libltdl-2.4.7-1.6 ######################################## [ 118s] libopenssl11-1.1.1w-1.5 ######################################## [ 118s] libpcre-8.45-1.4 ######################################## [ 118s] grep-2.5.2-1.3 ######################################## [ 118s] shared-mime-info-1.7-0 ######################################## [ 126s] gio-branding-upstream-2.80.5-0 ######################################## [ 126s] libgio-2.80.5-0 ######################################## [ 127s] libgum-1.0.8-0 ######################################## [ 127s] gumd-1.0.8-0 ######################################## [ 127s] libjson-glib-1.8.0-0 ######################################## [ 128s] bundle-0.17.3-0 ######################################## [ 128s] bundle-devel-0.17.3-0 ######################################## [ 128s] glib2-tools-2.80.5-0 ######################################## [ 128s] libsyscommon-5.0.0-0 ######################################## [ 128s] buxton2-1.8.10-0 ######################################## [ 129s] libpython3_121_0-3.12.0-1.5 ######################################## [ 131s] python3-base-3.12.0-1.5 ######################################## [ 131s] python3-3.12.0-1.1 ######################################## [ 131s] python3-setuptools-69.0.2-1.1 ######################################## [ 131s] libsmartcols-2.39.3-1.4 ######################################## [ 131s] m4-1.4.19-1.1 ######################################## [ 131s] autoconf-2.71-1.7 ######################################## [ 132s] automake-1.16.5-1.6 ######################################## [ 132s] patch-2.7.6-1.3 ######################################## [ 132s] sed-4.1c-1.4 ######################################## [ 132s] util-linux-2.39.3-1.4 ######################################## [ 132s] vconf-compat-1.8.10-0 ######################################## [ 132s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 132s] pkgmgr-info-0.28.5-1 ######################################## [ 133s] libstorage-1.0.0-0 ######################################## [ 133s] update-alternatives-1.22.2-1.1 ######################################## [ 134s] systemd-244-0 ######################################## [ 135s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 135s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 135s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 135s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 135s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 136s] aul-0.66.0-1 ######################################## [ 136s] rpc-port-1.19.1-0 ######################################## [ 136s] pkgmgr-client-0.20.21-0 ######################################## [ 136s] pkgmgr-installer-0.20.21-0 ######################################## [ 136s] pcre2-utf16-10.40-1 ######################################## [ 137s] pcre2-utf32-10.40-1 ######################################## [ 137s] pcre2-devel-10.40-1 ######################################## [ 137s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 137s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 137s] rpc-port-devel-1.19.1-0 ######################################## [ 137s] systemd-devel-244-0 ######################################## [ 137s] libtool-2.4.7-1.6 ######################################## [ 137s] sqlite-devel-3.44.0-1.4 ######################################## [ 150s] qemu-accel-x86_64-armv7l-0.4-1.1 ######################################## [ 151s] build-20120927-1.1 ######################################## [ 151s] libncurses-6.4-1.6 ######################################## [ 151s] minizip-devel-1.3-1.5 ######################################## [ 151s] libstdc++-devel-14.2.0-1.6 ######################################## [ 151s] build-compare-2023.06.18-1.1 ######################################## [ 151s] hal-rootstrap-checker-0.1.0-1.1 ######################################## [ 156s] qemu-linux-user-x86_64-cross-5.2.0.2-2######################################## [ 156s] glib2-devel-2.80.5-0 ######################################## [ 156s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 156s] vconf-compat-devel-1.8.10-0 ######################################## [ 156s] aul-devel-0.66.0-1 ######################################## [ 156s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 156s] libgum-devel-1.0.8-0 ######################################## [ 156s] util-linux-su-2.39.3-1.4 ######################################## [ 156s] rpm-build-4.14.1.1-1.6 ######################################## [ 158s] cmake-3.25.2-1.5 ######################################## [ 158s] rust-mockall-0.11.4-1 ######################################## [ 158s] rust-glib-sys-0.17.10-1 ######################################## [ 159s] gettext-tools-0.21.1-2.5 ######################################## [ 159s] elfutils-0.189-1.6 ######################################## [ 172s] rust-1.74.0-1 ######################################## [ 172s] rust-mockall_double-0.3.0-1 ######################################## [ 173s] less-643-1.1 ######################################## [ 173s] file-5.45-1.4 ######################################## [ 174s] glibc-locale-2.39-1.6 ######################################## [ 174s] tzdata-2023c-1.1 ######################################## [ 178s] cpp-14.2.0-1.6 ######################################## [ 180s] gcc-c++-14.2.0-1.6 ######################################## [ 180s] rust-minizip-sys-0.1.2-1 ######################################## [ 181s] tidl-2.3.0-1 ######################################## [ 181s] unzip-610c25-1.1 ######################################## [ 181s] gawk-3.1.5-1.1 ######################################## [ 181s] cpio-2.8-1.1 ######################################## [ 181s] diffutils-3.10-1.1 ######################################## [ 181s] fdupes-2.2.1-1.4 ######################################## [ 181s] hostname-3.23-1.1 ######################################## [ 182s] net-tools-2.0_20121208git-1.3 ######################################## [ 182s] which-2.17-1.1 ######################################## [ 182s] Running capi-system-info %posttrans script [ 182s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 182s] iniparser: cannot open /etc/info.ini [ 182s] Running pkgmgr %posttrans script [ 182s] /var/tmp/rpm-tmp.pVdnoC: line 5: pkg_initdb: command not found [ 182s] /var/tmp/rpm-tmp.pVdnoC: line 6: install_preload_pkg: command not found [ 182s] /var/tmp/rpm-tmp.pVdnoC: line 13: pkgcmd: command not found [ 182s] /var/tmp/rpm-tmp.pVdnoC: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 183s] Running buxton2 %posttrans script [ 183s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 183s] /etc/buxton2/*: No such file or directory [ 183s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 183s] /var/lib/buxton2/*: No such file or directory [ 187s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.22/etc/nsswitch.conf... [ 187s] now finalizing build dir... [ 189s] ----------------------------------------------------------------- [ 189s] ----- building pkgmgr-server.spec (user abuild) [ 189s] ----------------------------------------------------------------- [ 189s] ----------------------------------------------------------------- [ 190s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 190s] Building target platforms: armv7l-tizen-linux [ 190s] Building for target armv7l-tizen-linux [ 190s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1Dqzms [ 190s] + umask 022 [ 190s] + cd /home/abuild/rpmbuild/BUILD [ 190s] + cd /home/abuild/rpmbuild/BUILD [ 190s] + rm -rf pkgmgr-server-1.0.15 [ 190s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 190s] + /bin/tar -xof - [ 190s] + STATUS=0 [ 190s] + '[' 0 -ne 0 ']' [ 190s] + cd pkgmgr-server-1.0.15 [ 190s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 190s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 190s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 190s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 190s] + exit 0 [ 190s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U1InrC [ 190s] + umask 022 [ 190s] + cd /home/abuild/rpmbuild/BUILD [ 190s] + cd pkgmgr-server-1.0.15 [ 190s] + ref=/usr/lib/rpm [ 190s] + mints=0 [ 190s] + case $(uname -m) in [ 191s] ++ uname -m [ 191s] + for s in guess sub [ 191s] ++ find -maxdepth 8 -name config.guess [ 191s] + for s in guess sub [ 191s] ++ find -maxdepth 8 -name config.sub [ 191s] + LANG=C [ 191s] + export LANG [ 191s] + unset DISPLAY [ 191s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 191s] + export CFLAGS [ 191s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 191s] + export CXXFLAGS [ 191s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 191s] + export FFLAGS [ 191s] + LDFLAGS= [ 191s] + export LDFLAGS [ 191s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 191s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 191s] ++ awk 'BEGIN {FS="."}{print $1}' [ 191s] ++ echo 1.0.15 [ 191s] + MAJORVER=1 [ 191s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + export CFLAGS [ 191s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 191s] + export CXXFLAGS [ 191s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 191s] + export FFLAGS [ 191s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 191s] -- The C compiler identification is GNU 14.2.0 [ 191s] -- The CXX compiler identification is GNU 14.2.0 [ 191s] -- Detecting C compiler ABI info [ 191s] -- Detecting C compiler ABI info - done [ 191s] -- Check for working C compiler: /bin/cc - skipped [ 191s] -- Detecting C compile features [ 191s] -- Detecting C compile features - done [ 192s] -- Detecting CXX compiler ABI info [ 192s] -- Detecting CXX compiler ABI info - done [ 192s] -- Check for working CXX compiler: /bin/c++ - skipped [ 192s] -- Detecting CXX compile features [ 192s] -- Detecting CXX compile features - done [ 192s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 192s] -- Checking for module 'rpc-port' [ 192s] -- Found rpc-port, version [ 193s] -- Checking for module 'dlog' [ 194s] -- Found dlog, version 1.0 [ 195s] -- Checking for module 'gio-2.0' [ 195s] -- Found gio-2.0, version 2.80.5 [ 196s] -- Checking for module 'glib-2.0' [ 197s] -- Found glib-2.0, version 2.80.5 [ 197s] -- Checking for module 'capi-base-common' [ 198s] -- Found capi-base-common, version 0.4.82 [ 198s] -- Checking for module 'pkgmgr' [ 199s] -- Found pkgmgr, version 0.20.21 [ 199s] -- Checking for module 'libtzplatform-config' [ 200s] -- Found libtzplatform-config, version 2.0 [ 200s] -- Configuring done [ 200s] -- Generating done [ 200s] CMake Warning: [ 200s] Manually-specified variables were not used by the project: [ 200s] [ 200s] FULLVER [ 200s] INCLUDE_INSTALL_DIR [ 200s] MAJORVER [ 200s] SHARE_INSTALL_PREFIX [ 200s] SYSCONF_INSTALL_DIR [ 200s] [ 200s] [ 200s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 200s] + make -j8 [ 200s] /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 [ 200s] /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 [ 200s] make -f CMakeFiles/Makefile2 all [ 200s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 200s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 200s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] 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= [ 200s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] 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= [ 200s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 200s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 200s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 200s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 200s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 200s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 200s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 201s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 201s] 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 [ 201s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 201s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 201s] [ 75%] Built target util_pkgmgr_server [ 202s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 202s] 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 [ 202s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 203s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 203s] [100%] Built target tidl_pkgmgr_server [ 203s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 203s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 203s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 203s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 203s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 203s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 203s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 205s] warning: unused import: `boxed` [ 205s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 205s] | [ 205s] 4 | use std::{boxed, str}; [ 205s] | ^^^^^ [ 205s] | [ 205s] = note: `#[warn(unused_imports)]` on by default [ 205s] [ 205s] warning: unused import: `std::mem` [ 205s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 205s] | [ 205s] 6 | use std::mem; [ 205s] | ^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::ptr` [ 205s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 205s] | [ 205s] 7 | use std::ptr; [ 205s] | ^^^^^^^^ [ 205s] [ 205s] warning: unused import: `malloc` [ 205s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 205s] | [ 205s] 8 | use libc::{free, malloc, strlen}; [ 205s] | ^^^^^^ [ 205s] [ 205s] warning: unused import: `super::Server` [ 205s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 205s] | [ 205s] 10 | use super::Server; [ 205s] | ^^^^^^^^^^^^^ [ 205s] [ 205s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 205s] | [ 205s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 205s] | [ 205s] = note: `#[warn(non_camel_case_types)]` on by default [ 205s] [ 205s] warning: unused imports: `pid_t`, `uid_t` [ 205s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 205s] | [ 205s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ ^^^^^ [ 205s] [ 205s] warning: unused imports: `c_int`, `c_void` [ 205s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 205s] | [ 205s] 4 | use std::ffi::{c_int, c_void}; [ 205s] | ^^^^^ ^^^^^^ [ 205s] [ 205s] warning: unused import: `std::path::Path` [ 205s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 205s] | [ 205s] 10 | use std::path::Path; [ 205s] | ^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: denote infinite loops with `loop { ... }` [ 205s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 205s] | [ 205s] 50 | while true { [ 205s] | ^^^^^^^^^^ help: use `loop` [ 205s] | [ 205s] = note: `#[warn(while_true)]` on by default [ 205s] [ 205s] warning: unnecessary parentheses around `if` condition [ 205s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 205s] | [ 205s] 73 | if (mut_queue.is_queue_empty()) { [ 205s] | ^ ^ [ 205s] | [ 205s] = note: `#[warn(unused_parens)]` on by default [ 205s] help: remove these parentheses [ 205s] | [ 205s] 73 - if (mut_queue.is_queue_empty()) { [ 205s] 73 + if mut_queue.is_queue_empty() { [ 205s] | [ 205s] [ 205s] warning: unnecessary trailing semicolon [ 205s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 205s] | [ 205s] 297 | ; [ 205s] | ^ help: remove this semicolon [ 205s] | [ 205s] = note: `#[warn(redundant_semicolons)]` on by default [ 205s] [ 205s] warning: unused import: `super::Server` [ 205s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 205s] | [ 205s] 1 | use super::Server; [ 205s] | ^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::Server` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 205s] | [ 205s] 1 | use super::Server; [ 205s] | ^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::backend_context::*` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 205s] | [ 205s] 4 | use super::backend_context::*; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::request_result::*` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 205s] | [ 205s] 5 | use super::request_result::*; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::request_type::*` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 205s] | [ 205s] 6 | use super::request_type::*; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::util::*` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 205s] | [ 205s] 7 | use super::util::*; [ 205s] | ^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused imports: `pid_t`, `uid_t` [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 205s] | [ 205s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ ^^^^^ [ 205s] [ 205s] warning: unused import: `std::io::Error` [ 205s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 205s] | [ 205s] 3 | use std::io::Error; [ 205s] | ^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::mem` [ 205s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 205s] | [ 205s] 6 | use std::mem; [ 205s] | ^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::ptr` [ 205s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 205s] | [ 205s] 7 | use std::ptr; [ 205s] | ^^^^^^^^ [ 205s] [ 205s] warning: unused imports: `free`, `malloc`, `strlen` [ 205s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 205s] | [ 205s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 205s] | ^^^^ ^^^^^^ ^^^^^^ [ 205s] [ 205s] warning: unused import: `super::Server` [ 205s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 205s] | [ 205s] 10 | use super::Server; [ 205s] | ^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::service::Service` [ 205s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 205s] | [ 205s] 13 | use super::service::Service; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unnecessary trailing semicolon [ 205s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 205s] | [ 205s] 49 | ; [ 205s] | ^ help: remove this semicolon [ 205s] [ 205s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 205s] | [ 205s] 7 | GETSIZE_SYNC(String, i32, i32), [ 205s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 205s] [ 205s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 205s] | [ 205s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 205s] [ 205s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 205s] | [ 205s] 3 | MOUNT_INSTALL, [ 205s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 205s] [ 205s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 205s] | [ 205s] 7 | ENABLE_PKG, [ 205s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 205s] [ 205s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 205s] | [ 205s] 8 | DISABLE_PKG, [ 205s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 205s] [ 205s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 205s] | [ 205s] 9 | REGISTER_PKG_UPDATE_INFO, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 205s] [ 205s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 205s] | [ 205s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 205s] [ 205s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 205s] | [ 205s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 205s] [ 205s] warning: variant `ENABLE_APP` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 205s] | [ 205s] 12 | ENABLE_APP, [ 205s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 205s] [ 205s] warning: variant `DISABLE_APP` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 205s] | [ 205s] 13 | DISABLE_APP, [ 205s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 205s] [ 205s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 205s] | [ 205s] 15 | GETSIZE_SYNC, [ 205s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 205s] [ 205s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 205s] | [ 205s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 205s] [ 205s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 205s] | [ 205s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 205s] [ 205s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 205s] | [ 205s] 22 | GENERATE_LICENSE_REQUEST, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 205s] [ 205s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 205s] | [ 205s] 23 | REGISTER_LICENSE, [ 205s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 205s] [ 205s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 205s] | [ 205s] 24 | DECRYPT_PACKAGE, [ 205s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 205s] [ 205s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 205s] | [ 205s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 205s] [ 205s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 205s] | [ 205s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 205s] [ 205s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 205s] | [ 205s] 27 | SET_APP_LABEL, [ 205s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 205s] [ 205s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 205s] | [ 205s] 28 | SET_APP_ICON, [ 205s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 205s] [ 205s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 205s] | [ 205s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 205s] [ 205s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 205s] | [ 205s] 30 | RESOURCE_SHARE_COPY, [ 205s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 205s] [ 205s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 205s] | [ 205s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 205s] [ 205s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 205s] | [ 205s] 32 | RESOURCE_SHARE_REMOVE, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 205s] [ 205s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 205s] | [ 205s] 33 | RESOURCE_SHARE_UNINSTALL, [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 205s] [ 205s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 205s] | [ 205s] 34 | REMOVE_FILE, [ 205s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 205s] [ 205s] warning: unused import: `CStr` [ 205s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 205s] | [ 205s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 205s] | ^^^^ [ 205s] [ 205s] warning: unused import: `pid_t` [ 205s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 205s] | [ 205s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 205s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 205s] | [ 205s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 205s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 205s] [ 205s] warning: unused import: `pid_t` [ 205s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: unused import: `std::cell::RefCell` [ 205s] --> ./src/pkgmgr/server/util.rs:1:5 [ 205s] | [ 205s] 1 | use std::cell::RefCell; [ 205s] | ^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::rc::Rc` [ 205s] --> ./src/pkgmgr/server/util.rs:8:5 [ 205s] | [ 205s] 8 | use std::rc::Rc; [ 205s] | ^^^^^^^^^^^ [ 205s] [ 205s] warning: type `xmlChar` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/util.rs:34:6 [ 205s] | [ 205s] 34 | type xmlChar = c_uchar; [ 205s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 205s] [ 205s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 205s] --> ./src/pkgmgr/server/util.rs:35:6 [ 205s] | [ 205s] 35 | type xmlTextReaderPtr = *mut c_void; [ 205s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 205s] [ 205s] warning: unused imports: `CStr`, `CString` [ 205s] --> ./src/pkgmgr/server/util.rs:39:43 [ 205s] | [ 205s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 205s] | ^^^^ ^^^^^^^ [ 205s] [ 205s] warning: unused import: `pid_t` [ 205s] --> ./src/pkgmgr/server/util.rs:40:37 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: unnecessary parentheses around `if` condition [ 205s] --> ./src/pkgmgr/server/util.rs:474:24 [ 205s] | [ 205s] 474 | if (cur == depth + 1) { [ 205s] | ^ ^ [ 205s] | [ 205s] help: remove these parentheses [ 205s] | [ 205s] 474 - if (cur == depth + 1) { [ 205s] 474 + if cur == depth + 1 { [ 205s] | [ 205s] [ 205s] warning: unnecessary parentheses around `if` condition [ 205s] --> ./src/pkgmgr/server/util.rs:571:12 [ 205s] | [ 205s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 205s] | ^ ^ [ 205s] | [ 205s] help: remove these parentheses [ 205s] | [ 205s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 205s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 205s] | [ 205s] [ 205s] warning: unused import: `super::super::super::server::signal::*` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 205s] | [ 205s] 1 | use super::super::super::server::signal::*; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::ffi::CString` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 205s] | [ 205s] 2 | use std::ffi::CString; [ 205s] | ^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::ffi::CStr` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 205s] | [ 205s] 3 | use std::ffi::CStr; [ 205s] | ^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::ffi::c_char` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 205s] | [ 205s] 4 | use std::ffi::c_char; [ 205s] | ^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::mem` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 205s] | [ 205s] 5 | use std::mem; [ 205s] | ^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `mockall::predicate::*` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 205s] | [ 205s] 6 | use mockall::predicate::*; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `mockall::*` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 205s] | [ 205s] 7 | use mockall::*; [ 205s] | ^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused imports: `pid_t`, `uid_t` [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 205s] | [ 205s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ ^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 205s] | [ 205s] 3 | pub mod signal_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 205s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 205s] | [ 205s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 205s] | [ 205s] 4 | pub mod admin_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 205s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 205s] | [ 205s] 2 | use super::super::super::server::admin_service::AdminService; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 205s] | [ 205s] 4 | pub mod admin_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::service::Service` [ 205s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 205s] | [ 205s] 3 | use super::super::super::server::service::Service; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 205s] | [ 205s] 4 | pub mod admin_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 205s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 205s] | [ 205s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 205s] | [ 205s] 5 | pub mod cache_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 205s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 205s] | [ 205s] 2 | use super::super::super::server::cache_service::CacheService; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 205s] | [ 205s] 5 | pub mod cache_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::service::Service` [ 205s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 205s] | [ 205s] 3 | use super::super::super::server::service::Service; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 205s] | [ 205s] 5 | pub mod cache_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 205s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 205s] | [ 205s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 205s] | [ 205s] 6 | pub mod delayed_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 205s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 205s] | [ 205s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 205s] | [ 205s] 6 | pub mod delayed_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::service::Service` [ 205s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 205s] | [ 205s] 3 | use super::super::super::server::service::Service; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 205s] | [ 205s] 6 | pub mod delayed_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 205s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 205s] | [ 205s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 205s] | [ 205s] 7 | pub mod info_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 205s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 205s] | [ 205s] 2 | use super::super::super::server::info_service::InfoService; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 205s] | [ 205s] 7 | pub mod info_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `super::super::super::server::service::Service` [ 205s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 205s] | [ 205s] 3 | use super::super::super::server::service::Service; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] | [ 205s] help: consider adding a `#[cfg(test)]` to the containing module [ 205s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 205s] | [ 205s] 7 | pub mod info_service_tests; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::cell::RefCell` [ 205s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 205s] | [ 205s] 22 | use std::cell::RefCell; [ 205s] | ^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::rc::Rc` [ 205s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 205s] | [ 205s] 26 | use std::rc::Rc; [ 205s] | ^^^^^^^^^^^ [ 205s] [ 205s] warning: unused import: `std::process::Command` [ 205s] --> ./src/main.rs:9:5 [ 205s] | [ 205s] 9 | use std::process::Command; [ 205s] | ^^^^^^^^^^^^^^^^^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 205s] | [ 205s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] | [ 205s] = note: `#[warn(deprecated)]` on by default [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 205s] | [ 205s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 205s] | [ 205s] 20 | const GLOBAL_USER: uid_t = 201; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 205s] | [ 205s] 322 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 205s] | [ 205s] 443 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 205s] | [ 205s] 548 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 205s] | [ 205s] 595 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 205s] | [ 205s] 718 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 205s] | [ 205s] 801 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 205s] | [ 205s] 853 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 205s] | [ 205s] 937 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 205s] | [ 205s] 990 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 205s] | [ 205s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 205s] | [ 205s] 1072 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 205s] | [ 205s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 205s] | [ 205s] 1151 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 205s] | [ 205s] 1152 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 205s] | [ 205s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 205s] | [ 205s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 205s] | [ 205s] 1215 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 205s] | [ 205s] 1216 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 205s] | [ 205s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 205s] | [ 205s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 205s] | [ 205s] 1270 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 205s] | [ 205s] 1271 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 205s] | [ 205s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 205s] | [ 205s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 205s] | [ 205s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 205s] | [ 205s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 205s] | [ 205s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 205s] | [ 205s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 205s] | [ 205s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 205s] | [ 205s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 205s] | [ 205s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 205s] | [ 205s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 205s] | [ 205s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 205s] | [ 205s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 205s] | [ 205s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 205s] | [ 205s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 205s] | [ 205s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 205s] | [ 205s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 205s] | [ 205s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 205s] | [ 205s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 205s] | [ 205s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 205s] | [ 205s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 205s] | [ 205s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 205s] | [ 205s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 205s] | [ 205s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 205s] | [ 205s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 205s] | [ 205s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 205s] | [ 205s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 205s] | [ 205s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 205s] | [ 205s] 1535 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 205s] | [ 205s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 205s] | [ 205s] 1588 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 205s] | [ 205s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 205s] | [ 205s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 205s] | [ 205s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 205s] | [ 205s] 1765 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 205s] | [ 205s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 205s] | [ 205s] 1818 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 205s] | [ 205s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 205s] | [ 205s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 205s] | [ 205s] 1873 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 205s] | [ 205s] 1874 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 205s] | [ 205s] 1985 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 205s] | [ 205s] 1986 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 205s] | [ 205s] 2035 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 205s] | [ 205s] 2036 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 205s] | [ 205s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 205s] | [ 205s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 205s] | [ 205s] 2105 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 205s] | [ 205s] 2106 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 205s] | [ 205s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 205s] | [ 205s] 2155 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 205s] | [ 205s] 2156 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 205s] | [ 205s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 205s] | [ 205s] 2312 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 205s] | [ 205s] 2313 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 205s] | [ 205s] 2383 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 205s] | [ 205s] 2384 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 205s] | [ 205s] 2453 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 205s] | [ 205s] 2454 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 205s] | [ 205s] 2532 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 205s] | [ 205s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 205s] | [ 205s] 2681 | pid: *mut pid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 205s] | [ 205s] 2682 | uid: *mut uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 205s] | [ 205s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 205s] | [ 205s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 205s] | [ 205s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 205s] | [ 205s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 205s] | [ 205s] 23 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 205s] | [ 205s] 48 | target_uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 205s] | [ 205s] 53 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 205s] | [ 205s] 106 | pid: *mut pid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 205s] | [ 205s] 107 | uid: *mut uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 205s] | [ 205s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 205s] | [ 205s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 205s] | [ 205s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 205s] | [ 205s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 205s] | [ 205s] 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... [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 205s] | [ 205s] 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... [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 205s] | [ 205s] 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... [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 205s] | [ 205s] 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... [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 205s] | [ 205s] 54 | target_uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 205s] | [ 205s] 60 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 205s] | [ 205s] 61 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 205s] | [ 205s] 114 | target_uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 205s] | [ 205s] 120 | let mut caller_pid: pid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 205s] | [ 205s] 121 | let mut caller_uid: uid_t = 0; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 205s] | [ 205s] 223 | target_uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 205s] | [ 205s] 225 | pid: *mut pid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 205s] | [ 205s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 205s] | [ 205s] 242 | pid: *mut pid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 205s] | [ 205s] 243 | uid: *mut uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 205s] | [ 205s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 205s] | [ 205s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 205s] | [ 205s] 99 | const GLOBAL_USER: uid_t = 201; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 205s] | [ 205s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 205s] | [ 205s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 205s] | [ 205s] 102 | let mut uid_vec: Vec = vec![]; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 205s] | [ 205s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 205s] | [ 205s] 124 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 205s] | [ 205s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 205s] | [ 205s] 62 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 205s] | [ 205s] 86 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 205s] | [ 205s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:4:26 [ 205s] | [ 205s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:4:33 [ 205s] | [ 205s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:22:21 [ 205s] | [ 205s] 22 | const REGULAR_USER: uid_t = 5000; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:23:20 [ 205s] | [ 205s] 23 | const GLOBAL_USER: uid_t = 201; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:25:18 [ 205s] | [ 205s] 25 | const APPFW_UID: uid_t = 301; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:307:36 [ 205s] | [ 205s] 307 | let uid : uid_t = user_data as uid_t; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:307:15 [ 205s] | [ 205s] 307 | let uid : uid_t = user_data as uid_t; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:326:81 [ 205s] | [ 205s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:326:93 [ 205s] | [ 205s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:326:25 [ 205s] | [ 205s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:326:37 [ 205s] | [ 205s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:389:57 [ 205s] | [ 205s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:420:55 [ 205s] | [ 205s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:686:62 [ 205s] | [ 205s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:696:63 [ 205s] | [ 205s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:706:44 [ 205s] | [ 205s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:706:63 [ 205s] | [ 205s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:728:49 [ 205s] | [ 205s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:738:50 [ 205s] | [ 205s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:747:55 [ 205s] | [ 205s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:757:56 [ 205s] | [ 205s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:766:61 [ 205s] | [ 205s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:775:62 [ 205s] | [ 205s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:784:67 [ 205s] | [ 205s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:793:68 [ 205s] | [ 205s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:802:54 [ 205s] | [ 205s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:802:64 [ 205s] | [ 205s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:813:47 [ 205s] | [ 205s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:835:53 [ 205s] | [ 205s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:855:25 [ 205s] | [ 205s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:983:69 [ 205s] | [ 205s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 205s] | [ 205s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 205s] | [ 205s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 205s] | [ 205s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 205s] | [ 205s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 205s] | [ 205s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 205s] | [ 205s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 205s] | [ 205s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 205s] | [ 205s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:156:14 [ 205s] | [ 205s] 156 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:166:14 [ 205s] | [ 205s] 166 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:180:14 [ 205s] | [ 205s] 180 | uid: uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:185:14 [ 205s] | [ 205s] 185 | uid: uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:189:14 [ 205s] | [ 205s] 189 | uid: uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:194:14 [ 205s] | [ 205s] 194 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:200:14 [ 205s] | [ 205s] 200 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:206:14 [ 205s] | [ 205s] 206 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:212:14 [ 205s] | [ 205s] 212 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:218:14 [ 205s] | [ 205s] 218 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:224:14 [ 205s] | [ 205s] 224 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:237:32 [ 205s] | [ 205s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:266:21 [ 205s] | [ 205s] 266 | caller_uid: uid_t [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:274:14 [ 205s] | [ 205s] 274 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:40:30 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:40:37 [ 205s] | [ 205s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:46:18 [ 205s] | [ 205s] 46 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:52:18 [ 205s] | [ 205s] 52 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:67:18 [ 205s] | [ 205s] 67 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:101:18 [ 205s] | [ 205s] 101 | uid: uid_t, [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:122:70 [ 205s] | [ 205s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:123:66 [ 205s] | [ 205s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:124:59 [ 205s] | [ 205s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/util.rs:125:97 [ 205s] | [ 205s] 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; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 205s] | [ 205s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 205s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 205s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 205s] | [ 205s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 205s] | ^^^^^ [ 205s] [ 208s] warning: unreachable expression [ 208s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 208s] | [ 208s] 61 | return G_SOURCE_CONTINUE; [ 208s] | ------------------------ any code following this expression is unreachable [ 208s] ... [ 208s] 64 | 1 [ 208s] | ^ unreachable expression [ 208s] | [ 208s] = note: `#[warn(unreachable_code)]` on by default [ 208s] [ 210s] warning: unused variable: `context` [ 210s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 210s] | [ 210s] 297 | context: *mut c_void, [ 210s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 210s] | [ 210s] = note: `#[warn(unused_variables)]` on by default [ 210s] [ 210s] warning: unused variable: `context` [ 210s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 210s] | [ 210s] 306 | context: *mut c_void, [ 210s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 210s] [ 210s] warning: unused variable: `user_data` [ 210s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 210s] | [ 210s] 307 | user_data: *mut c_void, [ 210s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 210s] [ 210s] warning: unused variable: `ret` [ 210s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 210s] | [ 210s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 210s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 210s] [ 210s] warning: unused variable: `req_id` [ 210s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 210s] | [ 210s] 318 | req_id: *const c_char, [ 210s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 210s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 211s] | [ 211s] 415 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] | [ 211s] = note: `#[warn(unused_mut)]` on by default [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 211s] | [ 211s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: unused variable: `req_id` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 211s] | [ 211s] 434 | req_id: *const c_char, [ 211s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 211s] | [ 211s] 510 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 211s] | [ 211s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 211s] | [ 211s] 571 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 211s] | [ 211s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: unused variable: `req_id` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 211s] | [ 211s] 591 | req_id: *const c_char, [ 211s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 211s] | [ 211s] 688 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 211s] | [ 211s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: unused variable: `req_id` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 211s] | [ 211s] 706 | req_id: *const c_char, [ 211s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 211s] | [ 211s] 763 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 211s] | [ 211s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 211s] | [ 211s] 824 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 211s] | [ 211s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 211s] | [ 211s] 898 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 211s] | [ 211s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 211s] | [ 211s] 961 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 211s] | [ 211s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 211s] | [ 211s] 1038 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `ret` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 211s] | [ 211s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 211s] | [ 211s] 1123 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `pkg_id` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 211s] | [ 211s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 211s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 211s] | [ 211s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 211s] | ----^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 211s] | [ 211s] 1190 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 211s] | [ 211s] 1248 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 211s] | [ 211s] 1297 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `is_global` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 211s] | [ 211s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 211s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 211s] [ 211s] warning: unused variable: `is_global` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 211s] | [ 211s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 211s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 211s] [ 211s] warning: unused variable: `is_global` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 211s] | [ 211s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 211s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 211s] [ 211s] warning: unused variable: `is_global` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 211s] | [ 211s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 211s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 211s] [ 211s] warning: unused variable: `caller_uid` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 211s] | [ 211s] 1535 | let mut caller_uid: uid_t = 0; [ 211s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 211s] | [ 211s] 1521 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 211s] | [ 211s] 1535 | let mut caller_uid: uid_t = 0; [ 211s] | ----^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 211s] | [ 211s] 1558 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `caller_uid` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 211s] | [ 211s] 1588 | let mut caller_uid: uid_t = 0; [ 211s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 211s] | [ 211s] 1574 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 211s] | [ 211s] 1588 | let mut caller_uid: uid_t = 0; [ 211s] | ----^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 211s] | [ 211s] 1611 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 211s] | [ 211s] 1627 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 211s] | [ 211s] 1669 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 211s] | [ 211s] 1689 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 211s] | [ 211s] 1731 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `caller_uid` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 211s] | [ 211s] 1765 | let mut caller_uid: uid_t = 0; [ 211s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 211s] | [ 211s] 1751 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 211s] | [ 211s] 1765 | let mut caller_uid: uid_t = 0; [ 211s] | ----^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 211s] | [ 211s] 1788 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `caller_uid` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 211s] | [ 211s] 1818 | let mut caller_uid: uid_t = 0; [ 211s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 211s] | [ 211s] 1804 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 211s] | [ 211s] 1818 | let mut caller_uid: uid_t = 0; [ 211s] | ----^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 211s] | [ 211s] 1841 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 211s] | [ 211s] 1857 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: unused variable: `pid` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 211s] | [ 211s] 1860 | pid: *mut c_int, [ 211s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 211s] [ 211s] warning: unused variable: `user_data` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 211s] | [ 211s] 1861 | user_data: *mut c_void, [ 211s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 211s] | [ 211s] 1900 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 211s] warning: unused variable: `context` [ 211s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 211s] | [ 211s] 1932 | context: *mut c_void, [ 211s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 211s] [ 211s] warning: variable does not need to be mutable [ 211s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 211s] | [ 211s] 2012 | let mut backend_context = BackendContext::new( [ 211s] | ----^^^^^^^^^^^^^^^ [ 211s] | | [ 211s] | help: remove this `mut` [ 211s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 212s] | [ 212s] 2063 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 212s] | [ 212s] 2078 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 212s] | [ 212s] 2081 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 212s] | [ 212s] 2088 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 212s] | [ 212s] 2091 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 212s] | [ 212s] 2133 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 212s] | [ 212s] 2183 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 212s] | [ 212s] 2198 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `uid` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 212s] | [ 212s] 2199 | uid: c_int, [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 212s] [ 212s] warning: unused variable: `pkg_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 212s] | [ 212s] 2200 | pkg_id: *const c_char, [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 212s] | [ 212s] 2201 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 212s] | [ 212s] 2364 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 212s] | [ 212s] 2434 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 212s] | [ 212s] 2504 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 212s] | [ 212s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 212s] | [ 212s] 2552 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 212s] | [ 212s] 2567 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 212s] | [ 212s] 2597 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 212s] | [ 212s] 2612 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 212s] | [ 212s] 2656 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `status` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 212s] | [ 212s] 38 | let mut status: c_int; [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 212s] [ 212s] warning: unused variable: `io` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 212s] | [ 212s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 212s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 212s] [ 212s] warning: unused variable: `cond` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 212s] | [ 212s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 212s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 212s] | [ 212s] 71 | let mut mut_queue = queue.borrow_mut(); [ 212s] | ----^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 212s] | [ 212s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 212s] | ----^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `req_key` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 212s] | [ 212s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 212s] | [ 212s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: unused variable: `s` [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 212s] | [ 212s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 212s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 212s] | [ 212s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 212s] | ----^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 212s] | [ 212s] 31 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 212s] | [ 212s] 40 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 212s] | [ 212s] 41 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 212s] | [ 212s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: value assigned to `pkg_type` is never read [ 212s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 212s] | [ 212s] 63 | let mut pkg_type: String = String::new(); [ 212s] | ^^^^^^^^ [ 212s] | [ 212s] = help: maybe it is overwritten before being read? [ 212s] = note: `#[warn(unused_assignments)]` on by default [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 212s] | [ 212s] 83 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 212s] | [ 212s] 32 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 212s] | [ 212s] 41 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 212s] | [ 212s] 42 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 212s] | [ 212s] 48 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 212s] | [ 212s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 212s] | [ 212s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 212s] | [ 212s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 213s] | [ 213s] 98 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 213s] | [ 213s] 160 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 213s] | [ 213s] 195 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 213s] | [ 213s] 222 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 213s] | [ 213s] 226 | user_data: *mut c_void [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 213s] | [ 213s] 144 | let mut c_req_type: c_int; [ 213s] | ----^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: value assigned to `size_result` is never read [ 213s] --> ./src/pkgmgr/server/util.rs:351:17 [ 213s] | [ 213s] 351 | let mut size_result: i64 = -1; [ 213s] | ^^^^^^^^^^^ [ 213s] | [ 213s] = help: maybe it is overwritten before being read? [ 213s] [ 213s] warning: unused variable: `cond` [ 213s] --> ./src/pkgmgr/server/util.rs:341:9 [ 213s] | [ 213s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 213s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 213s] [ 213s] warning: value assigned to `ret` is never read [ 213s] --> ./src/pkgmgr/server/util.rs:425:21 [ 213s] | [ 213s] 425 | let mut ret: c_int = 0; [ 213s] | ^^^ [ 213s] | [ 213s] = help: maybe it is overwritten before being read? [ 213s] [ 213s] warning: unreachable pattern [ 213s] --> ./src/pkgmgr/server/util.rs:478:17 [ 213s] | [ 213s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 213s] | -------------------------------------- matches any value [ 213s] ... [ 213s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 213s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 213s] | [ 213s] = note: `#[warn(unreachable_patterns)]` on by default [ 213s] [ 213s] warning: unreachable pattern [ 213s] --> ./src/pkgmgr/server/util.rs:483:17 [ 213s] | [ 213s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 213s] | -------------------------------------- matches any value [ 213s] ... [ 213s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 213s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 213s] [ 213s] warning: unreachable pattern [ 213s] --> ./src/pkgmgr/server/util.rs:488:17 [ 213s] | [ 213s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 213s] | -------------------------------------- matches any value [ 213s] ... [ 213s] 488 | _ => { [ 213s] | ^ unreachable pattern [ 213s] [ 213s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 213s] --> ./src/pkgmgr/server/util.rs:473:17 [ 213s] | [ 213s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 213s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 213s] [ 213s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 213s] --> ./src/pkgmgr/server/util.rs:478:17 [ 213s] | [ 213s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 213s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 213s] [ 213s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 213s] --> ./src/pkgmgr/server/util.rs:483:17 [ 213s] | [ 213s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 213s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/util.rs:519:13 [ 213s] | [ 213s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 213s] | ----^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/util.rs:588:13 [ 213s] | [ 213s] 588 | let mut reader = [ 213s] | ----^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `gid` [ 213s] --> ./src/pkgmgr/server/util.rs:891:52 [ 213s] | [ 213s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 213s] | [ 213s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 213s] | ----^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 214s] | [ 214s] 993 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 994 | match CString::new(generated_req_key.clone()) { [ 214s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] = note: `#[warn(unused_unsafe)]` on by default [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 214s] | [ 214s] 993 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 997 | error!("Fail to generate req key, err({:?})", e); [ 214s] | ------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 214s] | [ 214s] 993 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 214s] | [ 214s] 1075 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 1076 | match CString::new(generated_req_key.clone()) { [ 214s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 214s] | [ 214s] 1075 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 214s] | ------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 214s] | [ 214s] 1075 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1106 | debug!("push disable pkg {pkg_id}"); [ 214s] | ----------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 214s] | [ 214s] 1075 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 214s] | [ 214s] 1537 | unsafe { [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 214s] | [ 214s] 1590 | unsafe { [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 214s] | [ 214s] 1641 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 1642 | match CString::new(generated_req_key.clone()) { [ 214s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 214s] | [ 214s] 1641 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 214s] | ------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 214s] | [ 214s] 1641 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 214s] | [ 214s] 1703 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 1704 | match CString::new(generated_req_key.clone()) { [ 214s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 214s] | [ 214s] 1703 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 214s] | ------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 214s] | [ 214s] 1703 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 214s] | [ 214s] 1767 | unsafe { [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 214s] | [ 214s] 1820 | unsafe { [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 214s] | [ 214s] 2294 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 214s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 214s] | [ 214s] 2793 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 214s] 2795 | debug!("admin service start : {ret}"); [ 214s] | ------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 214s] | [ 214s] 2801 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 214s] 2803 | debug!("ret : {ret}"); [ 214s] | --------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 214s] | [ 214s] 204 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 210 | error!("sigprocmask failed"); [ 214s] | ---------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 214s] | [ 214s] 204 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 216 | error!("signalfd failed"); [ 214s] | ------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 214s] | [ 214s] 134 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 139 | debug!("cache service start : {ret}"); [ 214s] | ------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 214s] | [ 214s] 145 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 214s] 147 | debug!("ret : {ret}"); [ 214s] | --------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 214s] | [ 214s] 107 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 112 | debug!("delayed result service start : {ret}"); [ 214s] | ---------------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 214s] | [ 214s] 118 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 214s] 120 | debug!("ret : {ret}"); [ 214s] | --------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 214s] | [ 214s] 165 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 214s] 167 | error!("Failed to mkfifo"); [ 214s] | -------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 214s] | [ 214s] 268 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 273 | debug!("info service start : {ret}"); [ 214s] | ------------------------------------ in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 214s] | [ 214s] 279 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 214s] 281 | debug!("ret : {ret}"); [ 214s] | --------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 214s] | [ 214s] 131 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 214s] | --------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 214s] | [ 214s] 131 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 214s] | --------------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 214s] | [ 214s] 131 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 214s] | ---------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 214s] | [ 214s] 131 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 214s] | ------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 214s] | [ 214s] 131 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 214s] | --------------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 214s] | [ 214s] 309 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 214s] 311 | error!("Failed get appid"); [ 214s] | -------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 214s] | [ 214s] 309 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 214s] | --------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/server/util.rs:326:46 [ 214s] | [ 214s] 325 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 214s] | [ 214s] 325 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 329 | error!("Failed get appid"); [ 214s] | -------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 214s] | [ 214s] 325 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 214s] | --------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 214s] | [ 214s] 342 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 214s] | ---------------------------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 214s] | [ 214s] 342 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 361 | error!("empty result"); [ 214s] | ---------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 214s] | [ 214s] 390 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 214s] | --------------------------------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 214s] | [ 214s] 390 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 406 | error!("Fail to get is readonly"); [ 214s] | --------------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 214s] | [ 214s] 422 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 429 | error!("Not found package"); [ 214s] | --------------------------- in this macro invocation [ 214s] | [ 214s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 214s] | [ 214s] 422 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] ... [ 214s] 445 | debug!("pkgtype - {ret_string}"); [ 214s] | -------------------------------- in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 214s] warning: unnecessary `unsafe` block [ 214s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 214s] | [ 214s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 214s] | ^^^^^^ unnecessary `unsafe` block [ 214s] | [ 214s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 214s] | [ 214s] 803 | unsafe { [ 214s] | ------ because it's nested under this `unsafe` block [ 214s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 214s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 214s] | ------------------------------------------------------ in this macro invocation [ 214s] | [ 214s] = 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) [ 214s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 215s] | [ 215s] 814 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 215s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 215s] | ------------------------------------------------------ in this macro invocation [ 215s] | [ 215s] = 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) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 215s] | [ 215s] 814 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 215s] | ------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 215s] | [ 215s] 814 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 215s] | ------------------------------------------------------------ in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 215s] | [ 215s] 836 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 215s] | --------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 215s] | [ 215s] 836 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 215s] | ------------------------------------------------------------ in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 215s] | [ 215s] 859 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 863 | warn!("cannot get user information from gumd, retry"); [ 215s] | ----------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = 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) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 215s] | [ 215s] 859 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 871 | error!("cannot get user information from gumd, failed"); [ 215s] | ------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 215s] | [ 215s] 859 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 877 | error!("cannot get user type"); [ 215s] | ------------------------------ in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 215s] | [ 215s] 892 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 215s] | ------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 215s] | [ 215s] 892 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 901 | error!("Failed to get list of supplementary group IDs"); [ 215s] | ------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 215s] | [ 215s] 892 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 215s] | --------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 215s] | [ 215s] 928 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 942 | error!("getpwuid_r fail"); [ 215s] | ------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 215s] | [ 215s] 928 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 949 | error!("Fail to get str, err({:?})", e); [ 215s] | --------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 215s] | [ 215s] 928 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 957 | error!("Fail to get str, err({:?})", e); [ 215s] | --------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 215s] | [ 215s] 928 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 215s] | -------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 215s] | [ 215s] 984 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 215s] | ----------------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 215s] | [ 215s] 984 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 215s] | ---------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 215s] | [ 215s] 984 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 215s] | ---------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 215s] | [ 215s] 984 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 215s] | [ 215s] 1081 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 215s] | ----------------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 215s] | [ 215s] 1081 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 215s] | --------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 215s] | [ 215s] 1081 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 215s] | ------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 215s] | [ 215s] 1109 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 215s] | ---------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 215s] | [ 215s] 1129 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 215s] | -------------------------------------------------------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: unnecessary `unsafe` block [ 215s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 215s] | [ 215s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 215s] | ^^^^^^ unnecessary `unsafe` block [ 215s] | [ 215s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 215s] | [ 215s] 1129 | unsafe { [ 215s] | ------ because it's nested under this `unsafe` block [ 215s] ... [ 215s] 1155 | error!("failed to add io watch"); [ 215s] | -------------------------------- in this macro invocation [ 215s] | [ 215s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 215s] [ 215s] warning: constant `SD_LISTEN_FDS_START` is never used [ 215s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 215s] | [ 215s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 215s] | ^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: `#[warn(dead_code)]` on by default [ 215s] [ 215s] warning: multiple variants are never constructed [ 215s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 215s] | [ 215s] 42 | enum AUL_RETURN_VALUE { [ 215s] | ---------------- variants in this enum [ 215s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 215s] | ^^^^^^^^^^^^ [ 215s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 215s] | ^^^^^^^^^^^^ [ 215s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 215s] | ^^^^^^^^^^^^^^^ [ 215s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 215s] | ^^^^^^^^^^^^ [ 215s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 215s] | ^^^^^^^^^^^^^^^^^^^^^ [ 215s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 215s] | ^^^^^^^^^^^^^^^^^^ [ 215s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 215s] | ^^^^^^^^^^^^^^^^^^ [ 215s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 215s] | ^^^^^^^^^^^^^ [ 215s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 215s] | ^^^^^^^^^^^ [ 215s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 215s] | ^^^^^^^^^^^^^^ [ 215s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 215s] | ^^^^^^^^^^^^^^^ [ 215s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 215s] | ^^^^^^^^^^^^ [ 215s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 215s] | ^^^^^^^^^^^ [ 215s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 215s] | ^^^^^^^^^^^^^ [ 215s] 57 | AUL_R_ERROR = -1, //< General error [ 215s] | ^^^^^^^^^^^ [ 215s] [ 215s] warning: field `timer` is never read [ 215s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 215s] | [ 215s] 61 | pub struct Server { [ 215s] | ------ field in this struct [ 215s] 62 | mainloop: *mut GMainLoop, [ 215s] 63 | timer: c_uint [ 215s] | ^^^^^ [ 215s] [ 215s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 215s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 215s] | [ 215s] 27 | enum RPC_PORT_ERROR { [ 215s] | -------------- variants in this enum [ 215s] 28 | NONE = 0, //< Successful [ 215s] 29 | IO_ERROR = -5, //< Internal I/O error [ 215s] | ^^^^^^^^ [ 215s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 215s] | ^^^^^^^^^^^^^ [ 215s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 215s] | ^^^^^^^^^^^^^^^^^ [ 215s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 215s] | ^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: method `generate_request_id` is never used [ 215s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 215s] | [ 215s] 2713 | impl AdminService { [ 215s] | ----------------- method in this implementation [ 215s] ... [ 215s] 2786 | fn generate_request_id(&self) -> String { [ 215s] | ^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: field `request_type` is never read [ 215s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 215s] | [ 215s] 6 | pub struct BackendContext { [ 215s] | -------------- field in this struct [ 215s] 7 | request_type: RequestType, [ 215s] | ^^^^^^^^^^^^ [ 215s] [ 215s] warning: type alias `GIOChannel` is never used [ 215s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 215s] | [ 215s] 14 | type GIOChannel = *mut c_void; [ 215s] | ^^^^^^^^^^ [ 215s] [ 215s] warning: type alias `GIOCondition` is never used [ 215s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 215s] | [ 215s] 15 | type GIOCondition = c_int; [ 215s] | ^^^^^^^^^^^^ [ 215s] [ 215s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 215s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 215s] | [ 215s] 20 | enum PKGMGR_RETURN_VALUE { [ 215s] | ------------------- variants in this enum [ 215s] 21 | ESYSTEM = -9, // Severe system error [ 215s] 22 | EIO = -8, // IO error [ 215s] | ^^^ [ 215s] 23 | ENOMEM = -7, // Out of memory [ 215s] 24 | ENOPKG = -6, // No such package [ 215s] | ^^^^^^ [ 215s] 25 | EPRIV = -5, // Privilege denied [ 215s] | ^^^^^ [ 215s] 26 | ETIMEOUT = -4, // Timeout [ 215s] | ^^^^^^^^ [ 215s] 27 | EINVAL = -3, // Invalid argument [ 215s] | ^^^^^^ [ 215s] 28 | ECOMM = -2, // Comunication Error [ 215s] | ^^^^^ [ 215s] [ 215s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 215s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 215s] | [ 215s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 215s] | ------------------- variants in this enum [ 215s] ... [ 215s] 8 | EPRIV = -5, // Privilege denied [ 215s] | ^^^^^ [ 215s] 9 | ETIMEOUT = -4, // Timeout [ 215s] | ^^^^^^^^ [ 215s] [ 215s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 215s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 215s] | [ 215s] 1 | pub enum RequestType { [ 215s] | ----------- variants in this enum [ 215s] ... [ 215s] 20 | KILL, [ 215s] | ^^^^ [ 215s] 21 | CHECK, [ 215s] | ^^^^^ [ 215s] ... [ 215s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] ... [ 215s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: multiple variants are never constructed [ 215s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 215s] | [ 215s] 9 | enum PKGMGR_REQ { [ 215s] | ---------- variants in this enum [ 215s] 10 | PERM = -1, [ 215s] | ^^^^ [ 215s] 11 | INVALID = 0, [ 215s] | ^^^^^^^ [ 215s] 12 | INSTALL = 1, [ 215s] | ^^^^^^^ [ 215s] 13 | UNINSTALL = 2, [ 215s] | ^^^^^^^^^ [ 215s] 14 | CLEAR = 3, [ 215s] | ^^^^^ [ 215s] 15 | MOVE = 4, [ 215s] | ^^^^ [ 215s] 16 | RECOVER = 5, [ 215s] | ^^^^^^^ [ 215s] 17 | REINSTALL = 6, [ 215s] | ^^^^^^^^^ [ 215s] 18 | GETSIZE = 7, [ 215s] | ^^^^^^^ [ 215s] 19 | UPGRADE = 8, [ 215s] | ^^^^^^^ [ 215s] 20 | SMACK = 9, [ 215s] | ^^^^^ [ 215s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] ... [ 215s] 26 | MOUNT_INSTALL = 15, [ 215s] | ^^^^^^^^^^^^^ [ 215s] 27 | DISABLE_PKG = 16, [ 215s] | ^^^^^^^^^^^ [ 215s] 28 | ENABLE_PKG = 17, [ 215s] | ^^^^^^^^^^ [ 215s] 29 | MIGRATE_EXTIMG = 18, [ 215s] | ^^^^^^^^^^^^^^ [ 215s] 30 | RECOVER_DB = 19, [ 215s] | ^^^^^^^^^^ [ 215s] 31 | RES_COPY = 20, [ 215s] | ^^^^^^^^ [ 215s] 32 | RES_CREATE_DIR = 21, [ 215s] | ^^^^^^^^^^^^^^ [ 215s] 33 | RES_REMOVE = 22, [ 215s] | ^^^^^^^^^^ [ 215s] 34 | RES_UNINSTALL = 23 [ 215s] | ^^^^^^^^^^^^^ [ 215s] [ 215s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 215s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 215s] | [ 215s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 215s] | ^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: function `tzplatform_getuid` is never used [ 215s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 215s] | [ 215s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 215s] | ^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 215s] --> ./src/pkgmgr/server/util.rs:29:7 [ 215s] | [ 215s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 215s] --> ./src/pkgmgr/server/util.rs:30:7 [ 215s] | [ 215s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 215s] | ^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 215s] --> ./src/pkgmgr/server/util.rs:31:7 [ 215s] | [ 215s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: type alias `GIOChannel` is never used [ 215s] --> ./src/pkgmgr/server/util.rs:33:6 [ 215s] | [ 215s] 33 | type GIOChannel = *mut c_void; [ 215s] | ^^^^^^^^^^ [ 215s] [ 215s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 215s] --> ./src/pkgmgr/server/util.rs:136:5 [ 215s] | [ 215s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 215s] | ------------------------ variants in this enum [ 215s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 215s] 136 | PMINFO_UI_APP, //< UI Application [ 215s] | ^^^^^^^^^^^^^ [ 215s] 137 | PMINFO_SVC_APP, //< Service Application [ 215s] | ^^^^^^^^^^^^^^ [ 215s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 215s] | ^^^^^^^^^^^^^^^^^ [ 215s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 215s] | ^^^^^^^^^^^^^^^^ [ 215s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 215s] --> ./src/pkgmgr/server/util.rs:766:12 [ 215s] | [ 215s] 384 | impl Util { [ 215s] | --------- associated functions in this implementation [ 215s] ... [ 215s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^ [ 215s] ... [ 215s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 215s] --> ./src/pkgmgr/server/util.rs:204:8 [ 215s] | [ 215s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/main.rs:14:5 [ 215s] | [ 215s] 14 | pkgmgr::server::Server::run(&mut server); [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] = note: `#[warn(unused_must_use)]` on by default [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 215s] | [ 215s] 93 | admin_service.run(); [ 215s] | ^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 93 | let _ = admin_service.run(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 215s] | [ 215s] 95 | cache_service.run(); [ 215s] | ^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 95 | let _ = cache_service.run(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 215s] | [ 215s] 97 | info_service.run(); [ 215s] | ^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 97 | let _ = info_service.run(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 215s] | [ 215s] 99 | delayed_result_service.run(); [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 99 | let _ = delayed_result_service.run(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 215s] | [ 215s] 109 | admin_service.stop(); [ 215s] | ^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 109 | let _ = admin_service.stop(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 215s] | [ 215s] 110 | cache_service.stop(); [ 215s] | ^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 110 | let _ = cache_service.stop(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 215s] | [ 215s] 111 | info_service.stop(); [ 215s] | ^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 111 | let _ = info_service.stop(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused `Result` that must be used [ 215s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 215s] | [ 215s] 112 | delayed_result_service.stop(); [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] = note: this `Result` may be an `Err` variant, which should be handled [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 112 | let _ = delayed_result_service.stop(); [ 215s] | +++++++ [ 215s] [ 215s] warning: unused return value of `std::mem::size_of` that must be used [ 215s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 215s] | [ 215s] 40 | mem::size_of::(); [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 215s] | [ 215s] help: use `let _ = ...` to ignore the resulting value [ 215s] | [ 215s] 40 | let _ = mem::size_of::(); [ 215s] | +++++++ [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 215s] | [ 215s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 215s] | [ 215s] = note: `#[warn(non_snake_case)]` on by default [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 215s] | [ 215s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 215s] | [ 215s] 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... [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 215s] | [ 215s] 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... [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 215s] | [ 215s] 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... [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 215s] [ 215s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 215s] | [ 215s] 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... [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 215s] | [ 215s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 215s] | [ 215s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 215s] | [ 215s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 215s] | [ 215s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 215s] | [ 215s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 215s] [ 215s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 215s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 215s] | [ 215s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 215s] [ 215s] warning: method `IsPackageReadonly` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:389:12 [ 215s] | [ 215s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 215s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 215s] [ 215s] warning: method `GetPackageType` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:420:12 [ 215s] | [ 215s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 215s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 215s] [ 215s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:473:17 [ 215s] | [ 215s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 215s] [ 215s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:478:17 [ 215s] | [ 215s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 215s] [ 215s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:483:17 [ 215s] | [ 215s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 215s] [ 215s] warning: constant `type_map` should have an upper case name [ 215s] --> ./src/pkgmgr/server/util.rs:623:15 [ 215s] | [ 215s] 623 | const type_map : [[&str; 2]; 3] = [ [ 215s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 215s] | [ 215s] = note: `#[warn(non_upper_case_globals)]` on by default [ 215s] [ 215s] warning: method `GenerateRequestId` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:646:12 [ 215s] | [ 215s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 215s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 215s] [ 215s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:657:12 [ 215s] | [ 215s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 215s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 215s] [ 215s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:680:12 [ 215s] | [ 215s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 215s] [ 215s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:686:12 [ 215s] | [ 215s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 215s] [ 215s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:696:12 [ 215s] | [ 215s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 215s] [ 215s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:706:12 [ 215s] | [ 215s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 215s] [ 215s] warning: method `EnableApp` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:728:12 [ 215s] | [ 215s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 215s] [ 215s] warning: method `DisableApp` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:738:12 [ 215s] | [ 215s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 215s] [ 215s] warning: method `EnableGlobalApp` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:747:12 [ 215s] | [ 215s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 215s] [ 215s] warning: method `DisableGlobalApp` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:757:12 [ 215s] | [ 215s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 215s] [ 215s] warning: method `EnableAppSplashScreen` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:766:12 [ 215s] | [ 215s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 215s] [ 215s] warning: method `DisableAppSplashScreen` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:775:12 [ 215s] | [ 215s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 215s] [ 215s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:784:12 [ 215s] | [ 215s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 215s] [ 215s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:793:12 [ 215s] | [ 215s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 215s] [ 215s] warning: method `KillApp` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:813:12 [ 215s] | [ 215s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 215s] [ 215s] warning: method `KillAppsInPkg` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:835:12 [ 215s] | [ 215s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 215s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 215s] [ 215s] warning: method `IsAdminUser` should have a snake case name [ 215s] --> ./src/pkgmgr/server/util.rs:855:8 [ 215s] | [ 215s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 215s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 215s] [ 289s] warning: 542 warnings emitted [ 289s] [ 289s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 289s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 289s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 289s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 289s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 291s] warning: unused import: `boxed` [ 291s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 291s] | [ 291s] 4 | use std::{boxed, str}; [ 291s] | ^^^^^ [ 291s] | [ 291s] = note: `#[warn(unused_imports)]` on by default [ 291s] [ 291s] warning: unused import: `std::mem` [ 291s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 291s] | [ 291s] 6 | use std::mem; [ 291s] | ^^^^^^^^ [ 291s] [ 291s] warning: unused import: `std::ptr` [ 291s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 291s] | [ 291s] 7 | use std::ptr; [ 291s] | ^^^^^^^^ [ 291s] [ 291s] warning: unused import: `malloc` [ 291s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 291s] | [ 291s] 8 | use libc::{free, malloc, strlen}; [ 291s] | ^^^^^^ [ 291s] [ 291s] warning: unused import: `super::Server` [ 291s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 291s] | [ 291s] 10 | use super::Server; [ 291s] | ^^^^^^^^^^^^^ [ 291s] [ 291s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 291s] | [ 291s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 291s] | [ 291s] = note: `#[warn(non_camel_case_types)]` on by default [ 291s] [ 291s] warning: unused imports: `pid_t`, `uid_t` [ 291s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 291s] | [ 291s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 291s] | ^^^^^ ^^^^^ [ 291s] [ 291s] warning: unused imports: `c_int`, `c_void` [ 291s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 291s] | [ 291s] 4 | use std::ffi::{c_int, c_void}; [ 291s] | ^^^^^ ^^^^^^ [ 291s] [ 291s] warning: unused import: `std::path::Path` [ 291s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 291s] | [ 291s] 10 | use std::path::Path; [ 291s] | ^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: denote infinite loops with `loop { ... }` [ 291s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 291s] | [ 291s] 50 | while true { [ 291s] | ^^^^^^^^^^ help: use `loop` [ 291s] | [ 291s] = note: `#[warn(while_true)]` on by default [ 291s] [ 291s] warning: unnecessary parentheses around `if` condition [ 291s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 291s] | [ 291s] 73 | if (mut_queue.is_queue_empty()) { [ 291s] | ^ ^ [ 291s] | [ 291s] = note: `#[warn(unused_parens)]` on by default [ 291s] help: remove these parentheses [ 291s] | [ 291s] 73 - if (mut_queue.is_queue_empty()) { [ 291s] 73 + if mut_queue.is_queue_empty() { [ 291s] | [ 291s] [ 291s] warning: unnecessary trailing semicolon [ 291s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 291s] | [ 291s] 297 | ; [ 291s] | ^ help: remove this semicolon [ 291s] | [ 291s] = note: `#[warn(redundant_semicolons)]` on by default [ 291s] [ 291s] warning: unused import: `super::Server` [ 291s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 291s] | [ 291s] 1 | use super::Server; [ 291s] | ^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::Server` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 291s] | [ 291s] 1 | use super::Server; [ 291s] | ^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::backend_context::*` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 291s] | [ 291s] 4 | use super::backend_context::*; [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::request_result::*` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 291s] | [ 291s] 5 | use super::request_result::*; [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::request_type::*` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 291s] | [ 291s] 6 | use super::request_type::*; [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::util::*` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 291s] | [ 291s] 7 | use super::util::*; [ 291s] | ^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused imports: `pid_t`, `uid_t` [ 291s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 291s] | [ 291s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 291s] | ^^^^^ ^^^^^ [ 291s] [ 291s] warning: unused import: `std::io::Error` [ 291s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 291s] | [ 291s] 3 | use std::io::Error; [ 291s] | ^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `std::mem` [ 291s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 291s] | [ 291s] 6 | use std::mem; [ 291s] | ^^^^^^^^ [ 291s] [ 291s] warning: unused import: `std::ptr` [ 291s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 291s] | [ 291s] 7 | use std::ptr; [ 291s] | ^^^^^^^^ [ 291s] [ 291s] warning: unused imports: `free`, `malloc`, `strlen` [ 291s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 291s] | [ 291s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 291s] | ^^^^ ^^^^^^ ^^^^^^ [ 291s] [ 291s] warning: unused import: `super::Server` [ 291s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 291s] | [ 291s] 10 | use super::Server; [ 291s] | ^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `super::service::Service` [ 291s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 291s] | [ 291s] 13 | use super::service::Service; [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unnecessary trailing semicolon [ 291s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 291s] | [ 291s] 49 | ; [ 291s] | ^ help: remove this semicolon [ 291s] [ 291s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 291s] | [ 291s] 7 | GETSIZE_SYNC(String, i32, i32), [ 291s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 291s] [ 291s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 291s] | [ 291s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 291s] [ 291s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 291s] | [ 291s] 3 | MOUNT_INSTALL, [ 291s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 291s] [ 291s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 291s] | [ 291s] 7 | ENABLE_PKG, [ 291s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 291s] [ 291s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 291s] | [ 291s] 8 | DISABLE_PKG, [ 291s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 291s] [ 291s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 291s] | [ 291s] 9 | REGISTER_PKG_UPDATE_INFO, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 291s] [ 291s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 291s] | [ 291s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 291s] [ 291s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 291s] | [ 291s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 291s] [ 291s] warning: variant `ENABLE_APP` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 291s] | [ 291s] 12 | ENABLE_APP, [ 291s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 291s] [ 291s] warning: variant `DISABLE_APP` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 291s] | [ 291s] 13 | DISABLE_APP, [ 291s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 291s] [ 291s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 291s] | [ 291s] 15 | GETSIZE_SYNC, [ 291s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 291s] [ 291s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 291s] | [ 291s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 291s] [ 291s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 291s] | [ 291s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 291s] [ 291s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 291s] | [ 291s] 22 | GENERATE_LICENSE_REQUEST, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 291s] [ 291s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 291s] | [ 291s] 23 | REGISTER_LICENSE, [ 291s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 291s] [ 291s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 291s] | [ 291s] 24 | DECRYPT_PACKAGE, [ 291s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 291s] [ 291s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 291s] | [ 291s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 291s] [ 291s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 291s] | [ 291s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 291s] [ 291s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 291s] | [ 291s] 27 | SET_APP_LABEL, [ 291s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 291s] [ 291s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 291s] | [ 291s] 28 | SET_APP_ICON, [ 291s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 291s] [ 291s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 291s] | [ 291s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 291s] [ 291s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 291s] | [ 291s] 30 | RESOURCE_SHARE_COPY, [ 291s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 291s] [ 291s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 291s] | [ 291s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 291s] [ 291s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 291s] | [ 291s] 32 | RESOURCE_SHARE_REMOVE, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 291s] [ 291s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 291s] | [ 291s] 33 | RESOURCE_SHARE_UNINSTALL, [ 291s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 291s] [ 291s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 291s] | [ 291s] 34 | REMOVE_FILE, [ 291s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 291s] [ 291s] warning: unused import: `CStr` [ 291s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 291s] | [ 291s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 291s] | ^^^^ [ 291s] [ 291s] warning: unused import: `pid_t` [ 291s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 291s] | [ 291s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 291s] | ^^^^^ [ 291s] [ 291s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 291s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 291s] | [ 291s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 291s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 291s] [ 291s] warning: unused import: `pid_t` [ 291s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 291s] | [ 291s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 291s] | ^^^^^ [ 291s] [ 291s] warning: unused import: `std::cell::RefCell` [ 291s] --> ./src/pkgmgr/server/util.rs:1:5 [ 291s] | [ 291s] 1 | use std::cell::RefCell; [ 291s] | ^^^^^^^^^^^^^^^^^^ [ 291s] [ 291s] warning: unused import: `std::rc::Rc` [ 291s] --> ./src/pkgmgr/server/util.rs:8:5 [ 291s] | [ 291s] 8 | use std::rc::Rc; [ 291s] | ^^^^^^^^^^^ [ 291s] [ 291s] warning: type `xmlChar` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/util.rs:34:6 [ 291s] | [ 291s] 34 | type xmlChar = c_uchar; [ 291s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 291s] [ 291s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 291s] --> ./src/pkgmgr/server/util.rs:35:6 [ 291s] | [ 291s] 35 | type xmlTextReaderPtr = *mut c_void; [ 291s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 291s] [ 291s] warning: unused imports: `CStr`, `CString` [ 291s] --> ./src/pkgmgr/server/util.rs:39:43 [ 291s] | [ 291s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 291s] | ^^^^ ^^^^^^^ [ 291s] [ 291s] warning: unused import: `pid_t` [ 291s] --> ./src/pkgmgr/server/util.rs:40:37 [ 291s] | [ 291s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 291s] | ^^^^^ [ 291s] [ 292s] warning: unnecessary parentheses around `if` condition [ 292s] --> ./src/pkgmgr/server/util.rs:474:24 [ 292s] | [ 292s] 474 | if (cur == depth + 1) { [ 292s] | ^ ^ [ 292s] | [ 292s] help: remove these parentheses [ 292s] | [ 292s] 474 - if (cur == depth + 1) { [ 292s] 474 + if cur == depth + 1 { [ 292s] | [ 292s] [ 292s] warning: unnecessary parentheses around `if` condition [ 292s] --> ./src/pkgmgr/server/util.rs:571:12 [ 292s] | [ 292s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 292s] | ^ ^ [ 292s] | [ 292s] help: remove these parentheses [ 292s] | [ 292s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 292s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 292s] | [ 292s] [ 292s] warning: unused import: `std::ffi::CStr` [ 292s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 292s] | [ 292s] 4 | use std::ffi::CStr; [ 292s] | ^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::mem` [ 292s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 292s] | [ 292s] 6 | use std::mem; [ 292s] | ^^^^^^^^ [ 292s] [ 292s] warning: unused import: `mockall::predicate::*` [ 292s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 292s] | [ 292s] 8 | use mockall::predicate::*; [ 292s] | ^^^^^^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `mockall::*` [ 292s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 292s] | [ 292s] 9 | use mockall::*; [ 292s] | ^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::ffi::CString` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 292s] | [ 292s] 2 | use std::ffi::CString; [ 292s] | ^^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::ffi::CStr` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 292s] | [ 292s] 3 | use std::ffi::CStr; [ 292s] | ^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::ffi::c_char` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 292s] | [ 292s] 4 | use std::ffi::c_char; [ 292s] | ^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::mem` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 292s] | [ 292s] 5 | use std::mem; [ 292s] | ^^^^^^^^ [ 292s] [ 292s] warning: unused import: `mockall::predicate::*` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 292s] | [ 292s] 6 | use mockall::predicate::*; [ 292s] | ^^^^^^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `mockall::*` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 292s] | [ 292s] 7 | use mockall::*; [ 292s] | ^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `pid_t` [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 292s] | [ 292s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: unused import: `std::cell::RefCell` [ 292s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 292s] | [ 292s] 22 | use std::cell::RefCell; [ 292s] | ^^^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::rc::Rc` [ 292s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 292s] | [ 292s] 26 | use std::rc::Rc; [ 292s] | ^^^^^^^^^^^ [ 292s] [ 292s] warning: unused import: `std::process::Command` [ 292s] --> ./src/main.rs:9:5 [ 292s] | [ 292s] 9 | use std::process::Command; [ 292s] | ^^^^^^^^^^^^^^^^^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 292s] | [ 292s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] | [ 292s] = note: `#[warn(deprecated)]` on by default [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 292s] | [ 292s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 292s] | [ 292s] 20 | const GLOBAL_USER: uid_t = 201; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 292s] | [ 292s] 322 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 292s] | [ 292s] 443 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 292s] | [ 292s] 548 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 292s] | [ 292s] 595 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 292s] | [ 292s] 718 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 292s] | [ 292s] 801 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 292s] | [ 292s] 853 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 292s] | [ 292s] 937 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 292s] | [ 292s] 990 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 292s] | [ 292s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 292s] | [ 292s] 1072 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 292s] | [ 292s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 292s] | [ 292s] 1151 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 292s] | [ 292s] 1152 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 292s] | [ 292s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 292s] | [ 292s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 292s] | [ 292s] 1215 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 292s] | [ 292s] 1216 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 292s] | [ 292s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 292s] | [ 292s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 292s] | [ 292s] 1270 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 292s] | [ 292s] 1271 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 292s] | [ 292s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 292s] | [ 292s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 292s] | [ 292s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 292s] | [ 292s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 292s] | [ 292s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 292s] | [ 292s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 292s] | [ 292s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 292s] | [ 292s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 292s] | [ 292s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 292s] | [ 292s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 292s] | [ 292s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 292s] | [ 292s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 292s] | [ 292s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 292s] | [ 292s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 292s] | [ 292s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 292s] | [ 292s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 292s] | [ 292s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 292s] | [ 292s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 292s] | [ 292s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 292s] | [ 292s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 292s] | [ 292s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 292s] | [ 292s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 292s] | [ 292s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 292s] | [ 292s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 292s] | [ 292s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 292s] | [ 292s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 292s] | [ 292s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 292s] | [ 292s] 1535 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 292s] | [ 292s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 292s] | [ 292s] 1588 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 292s] | [ 292s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 292s] | [ 292s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 292s] | [ 292s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 292s] | [ 292s] 1765 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 292s] | [ 292s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 292s] | [ 292s] 1818 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 292s] | [ 292s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 292s] | [ 292s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 292s] | [ 292s] 1873 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 292s] | [ 292s] 1874 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 292s] | [ 292s] 1985 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 292s] | [ 292s] 1986 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 292s] | [ 292s] 2035 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 292s] | [ 292s] 2036 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 292s] | [ 292s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 292s] | [ 292s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 292s] | [ 292s] 2105 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 292s] | [ 292s] 2106 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 292s] | [ 292s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 292s] | [ 292s] 2155 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 292s] | [ 292s] 2156 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 292s] | [ 292s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 292s] | [ 292s] 2312 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 292s] | [ 292s] 2313 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 292s] | [ 292s] 2383 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 292s] | [ 292s] 2384 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 292s] | [ 292s] 2453 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 292s] | [ 292s] 2454 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 292s] | [ 292s] 2532 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 292s] | [ 292s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 292s] | [ 292s] 2681 | pid: *mut pid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 292s] | [ 292s] 2682 | uid: *mut uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 292s] | [ 292s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 292s] | [ 292s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 292s] | [ 292s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 292s] | [ 292s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 292s] | [ 292s] 23 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 292s] | [ 292s] 48 | target_uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 292s] | [ 292s] 53 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 292s] | [ 292s] 106 | pid: *mut pid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 292s] | [ 292s] 107 | uid: *mut uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 292s] | [ 292s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 292s] | [ 292s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 292s] | [ 292s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 292s] | [ 292s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 292s] | [ 292s] 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... [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 292s] | [ 292s] 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... [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 292s] | [ 292s] 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... [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 292s] | [ 292s] 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... [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 292s] | [ 292s] 54 | target_uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 292s] | [ 292s] 60 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 292s] | [ 292s] 61 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 292s] | [ 292s] 114 | target_uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 292s] | [ 292s] 120 | let mut caller_pid: pid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 292s] | [ 292s] 121 | let mut caller_uid: uid_t = 0; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 292s] | [ 292s] 223 | target_uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 292s] | [ 292s] 225 | pid: *mut pid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 292s] | [ 292s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 292s] | [ 292s] 242 | pid: *mut pid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 292s] | [ 292s] 243 | uid: *mut uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 292s] | [ 292s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 292s] | [ 292s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 292s] | [ 292s] 99 | const GLOBAL_USER: uid_t = 201; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 292s] | [ 292s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 292s] | [ 292s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 292s] | [ 292s] 102 | let mut uid_vec: Vec = vec![]; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 292s] | [ 292s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 292s] | [ 292s] 124 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 292s] | [ 292s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 292s] | [ 292s] 62 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 292s] | [ 292s] 86 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 292s] | [ 292s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 292s] | [ 292s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 292s] | [ 292s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:4:26 [ 292s] | [ 292s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:4:33 [ 292s] | [ 292s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:22:21 [ 292s] | [ 292s] 22 | const REGULAR_USER: uid_t = 5000; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:23:20 [ 292s] | [ 292s] 23 | const GLOBAL_USER: uid_t = 201; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:25:18 [ 292s] | [ 292s] 25 | const APPFW_UID: uid_t = 301; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:307:36 [ 292s] | [ 292s] 307 | let uid : uid_t = user_data as uid_t; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:307:15 [ 292s] | [ 292s] 307 | let uid : uid_t = user_data as uid_t; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:326:81 [ 292s] | [ 292s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:326:93 [ 292s] | [ 292s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:326:25 [ 292s] | [ 292s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:326:37 [ 292s] | [ 292s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:389:57 [ 292s] | [ 292s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:420:55 [ 292s] | [ 292s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:686:62 [ 292s] | [ 292s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:696:63 [ 292s] | [ 292s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:706:44 [ 292s] | [ 292s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:706:63 [ 292s] | [ 292s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:728:49 [ 292s] | [ 292s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:738:50 [ 292s] | [ 292s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:747:55 [ 292s] | [ 292s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:757:56 [ 292s] | [ 292s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:766:61 [ 292s] | [ 292s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:775:62 [ 292s] | [ 292s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:784:67 [ 292s] | [ 292s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:793:68 [ 292s] | [ 292s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:802:54 [ 292s] | [ 292s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:802:64 [ 292s] | [ 292s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:813:47 [ 292s] | [ 292s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:835:53 [ 292s] | [ 292s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:855:25 [ 292s] | [ 292s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:983:69 [ 292s] | [ 292s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 292s] | [ 292s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 292s] | [ 292s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 292s] | [ 292s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 292s] | [ 292s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 292s] | [ 292s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 292s] | [ 292s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 292s] | [ 292s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 292s] | [ 292s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:156:14 [ 292s] | [ 292s] 156 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:166:14 [ 292s] | [ 292s] 166 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:180:14 [ 292s] | [ 292s] 180 | uid: uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:185:14 [ 292s] | [ 292s] 185 | uid: uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:189:14 [ 292s] | [ 292s] 189 | uid: uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:194:14 [ 292s] | [ 292s] 194 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:200:14 [ 292s] | [ 292s] 200 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:206:14 [ 292s] | [ 292s] 206 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:212:14 [ 292s] | [ 292s] 212 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:218:14 [ 292s] | [ 292s] 218 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:224:14 [ 292s] | [ 292s] 224 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:237:32 [ 292s] | [ 292s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:266:21 [ 292s] | [ 292s] 266 | caller_uid: uid_t [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:274:14 [ 292s] | [ 292s] 274 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:40:30 [ 292s] | [ 292s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:40:37 [ 292s] | [ 292s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:46:18 [ 292s] | [ 292s] 46 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:52:18 [ 292s] | [ 292s] 52 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:67:18 [ 292s] | [ 292s] 67 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:101:18 [ 292s] | [ 292s] 101 | uid: uid_t, [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:122:70 [ 292s] | [ 292s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:123:66 [ 292s] | [ 292s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:124:59 [ 292s] | [ 292s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/util.rs:125:97 [ 292s] | [ 292s] 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; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 292s] | [ 292s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 292s] | [ 292s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 292s] | [ 292s] 12 | let mut uid_vec: Vec = vec![]; [ 292s] | ^^^^^ [ 292s] [ 292s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 292s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 292s] | [ 292s] 19 | let mut uid_vec: Vec = vec![]; [ 292s] | ^^^^^ [ 292s] [ 296s] warning: unreachable expression [ 296s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 296s] | [ 296s] 61 | return G_SOURCE_CONTINUE; [ 296s] | ------------------------ any code following this expression is unreachable [ 296s] ... [ 296s] 64 | 1 [ 296s] | ^ unreachable expression [ 296s] | [ 296s] = note: `#[warn(unreachable_code)]` on by default [ 296s] [ 304s] warning: unused import: `super::super::super::server::service::Service` [ 304s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 304s] | [ 304s] 3 | use super::super::super::server::service::Service; [ 304s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 304s] [ 304s] warning: unused variable: `context` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 304s] | [ 304s] 297 | context: *mut c_void, [ 304s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 304s] | [ 304s] = note: `#[warn(unused_variables)]` on by default [ 304s] [ 304s] warning: unused variable: `context` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 304s] | [ 304s] 306 | context: *mut c_void, [ 304s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 304s] [ 304s] warning: unused variable: `user_data` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 304s] | [ 304s] 307 | user_data: *mut c_void, [ 304s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 304s] | [ 304s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: unused variable: `req_id` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 304s] | [ 304s] 318 | req_id: *const c_char, [ 304s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 304s] | [ 304s] 415 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] | [ 304s] = note: `#[warn(unused_mut)]` on by default [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 304s] | [ 304s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: unused variable: `req_id` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 304s] | [ 304s] 434 | req_id: *const c_char, [ 304s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 304s] | [ 304s] 510 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 304s] | [ 304s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 304s] | [ 304s] 571 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 304s] | [ 304s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: unused variable: `req_id` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 304s] | [ 304s] 591 | req_id: *const c_char, [ 304s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 304s] | [ 304s] 688 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 304s] | [ 304s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: unused variable: `req_id` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 304s] | [ 304s] 706 | req_id: *const c_char, [ 304s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 304s] | [ 304s] 763 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 304s] | [ 304s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 304s] | [ 304s] 824 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 304s] | [ 304s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 304s] | [ 304s] 898 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 304s] | [ 304s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 304s] warning: variable does not need to be mutable [ 304s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 304s] | [ 304s] 961 | let mut backend_context = BackendContext::new( [ 304s] | ----^^^^^^^^^^^^^^^ [ 304s] | | [ 304s] | help: remove this `mut` [ 304s] [ 304s] warning: unused variable: `ret` [ 304s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 304s] | [ 304s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 304s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 304s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 305s] | [ 305s] 1038 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `ret` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 305s] | [ 305s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 305s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 305s] | [ 305s] 1123 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `pkg_id` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 305s] | [ 305s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 305s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 305s] | [ 305s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 305s] | ----^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 305s] | [ 305s] 1190 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 305s] | [ 305s] 1248 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 305s] | [ 305s] 1297 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `is_global` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 305s] | [ 305s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 305s] [ 305s] warning: unused variable: `is_global` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 305s] | [ 305s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 305s] [ 305s] warning: unused variable: `is_global` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 305s] | [ 305s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 305s] [ 305s] warning: unused variable: `is_global` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 305s] | [ 305s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 305s] [ 305s] warning: unused variable: `caller_uid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 305s] | [ 305s] 1535 | let mut caller_uid: uid_t = 0; [ 305s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 305s] | [ 305s] 1521 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 305s] | [ 305s] 1535 | let mut caller_uid: uid_t = 0; [ 305s] | ----^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 305s] | [ 305s] 1558 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `caller_uid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 305s] | [ 305s] 1588 | let mut caller_uid: uid_t = 0; [ 305s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 305s] | [ 305s] 1574 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 305s] | [ 305s] 1588 | let mut caller_uid: uid_t = 0; [ 305s] | ----^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 305s] | [ 305s] 1611 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 305s] | [ 305s] 1627 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 305s] | [ 305s] 1669 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 305s] | [ 305s] 1689 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 305s] | [ 305s] 1731 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `caller_uid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 305s] | [ 305s] 1765 | let mut caller_uid: uid_t = 0; [ 305s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 305s] | [ 305s] 1751 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 305s] | [ 305s] 1765 | let mut caller_uid: uid_t = 0; [ 305s] | ----^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 305s] | [ 305s] 1788 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `caller_uid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 305s] | [ 305s] 1818 | let mut caller_uid: uid_t = 0; [ 305s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 305s] | [ 305s] 1804 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 305s] | [ 305s] 1818 | let mut caller_uid: uid_t = 0; [ 305s] | ----^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 305s] | [ 305s] 1841 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 305s] | [ 305s] 1857 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: unused variable: `pid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 305s] | [ 305s] 1860 | pid: *mut c_int, [ 305s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 305s] [ 305s] warning: unused variable: `user_data` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 305s] | [ 305s] 1861 | user_data: *mut c_void, [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 305s] | [ 305s] 1900 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 305s] | [ 305s] 1932 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 305s] | [ 305s] 2012 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 305s] | [ 305s] 2063 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 305s] | [ 305s] 2078 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: unused variable: `user_data` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 305s] | [ 305s] 2081 | user_data: *mut c_void, [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 305s] | [ 305s] 2088 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: unused variable: `user_data` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 305s] | [ 305s] 2091 | user_data: *mut c_void, [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 305s] | [ 305s] 2133 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 305s] | [ 305s] 2183 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: unused variable: `context` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 305s] | [ 305s] 2198 | context: *mut c_void, [ 305s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 305s] [ 305s] warning: unused variable: `uid` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 305s] | [ 305s] 2199 | uid: c_int, [ 305s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 305s] [ 305s] warning: unused variable: `pkg_id` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 305s] | [ 305s] 2200 | pkg_id: *const c_char, [ 305s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 305s] [ 305s] warning: unused variable: `user_data` [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 305s] | [ 305s] 2201 | user_data: *mut c_void, [ 305s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 305s] | [ 305s] 2364 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 305s] warning: variable does not need to be mutable [ 305s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 305s] | [ 305s] 2434 | let mut backend_context = BackendContext::new( [ 305s] | ----^^^^^^^^^^^^^^^ [ 305s] | | [ 305s] | help: remove this `mut` [ 305s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 306s] | [ 306s] 2504 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `ret` [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 306s] | [ 306s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 306s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 306s] | [ 306s] 2552 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 306s] | [ 306s] 2567 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 306s] | [ 306s] 2597 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 306s] | [ 306s] 2612 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 306s] | [ 306s] 2656 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `status` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 306s] | [ 306s] 38 | let mut status: c_int; [ 306s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 306s] [ 306s] warning: unused variable: `io` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 306s] | [ 306s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 306s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 306s] [ 306s] warning: unused variable: `cond` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 306s] | [ 306s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 306s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 306s] | [ 306s] 71 | let mut mut_queue = queue.borrow_mut(); [ 306s] | ----^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 306s] | [ 306s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 306s] | ----^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `req_key` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 306s] | [ 306s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 306s] [ 306s] warning: unused variable: `ret` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 306s] | [ 306s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 306s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 306s] [ 306s] warning: unused variable: `s` [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 306s] | [ 306s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 306s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 306s] | [ 306s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 306s] | ----^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 306s] | [ 306s] 31 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 306s] | [ 306s] 40 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `user_data` [ 306s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 306s] | [ 306s] 41 | user_data: *mut c_void, [ 306s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 306s] [ 306s] warning: unused variable: `ret` [ 306s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 306s] | [ 306s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 306s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 306s] [ 306s] warning: value assigned to `pkg_type` is never read [ 306s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 306s] | [ 306s] 63 | let mut pkg_type: String = String::new(); [ 306s] | ^^^^^^^^ [ 306s] | [ 306s] = help: maybe it is overwritten before being read? [ 306s] = note: `#[warn(unused_assignments)]` on by default [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 306s] | [ 306s] 83 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 306s] | [ 306s] 32 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 306s] | [ 306s] 41 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `user_data` [ 306s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 306s] | [ 306s] 42 | user_data: *mut c_void, [ 306s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 306s] | [ 306s] 48 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 306s] | [ 306s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 306s] | [ 306s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `user_data` [ 306s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 306s] | [ 306s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 306s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 306s] | [ 306s] 98 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: variable does not need to be mutable [ 306s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 306s] | [ 306s] 160 | let mut backend_context = BackendContext::new( [ 306s] | ----^^^^^^^^^^^^^^^ [ 306s] | | [ 306s] | help: remove this `mut` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 306s] | [ 306s] 195 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `context` [ 306s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 306s] | [ 306s] 222 | context: *mut c_void, [ 306s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 306s] [ 306s] warning: unused variable: `user_data` [ 306s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 306s] | [ 306s] 226 | user_data: *mut c_void [ 306s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 306s] [ 307s] warning: variable does not need to be mutable [ 307s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 307s] | [ 307s] 144 | let mut c_req_type: c_int; [ 307s] | ----^^^^^^^^^^ [ 307s] | | [ 307s] | help: remove this `mut` [ 307s] [ 312s] warning: value assigned to `size_result` is never read [ 312s] --> ./src/pkgmgr/server/util.rs:351:17 [ 312s] | [ 312s] 351 | let mut size_result: i64 = -1; [ 312s] | ^^^^^^^^^^^ [ 312s] | [ 312s] = help: maybe it is overwritten before being read? [ 312s] [ 312s] warning: unused variable: `cond` [ 312s] --> ./src/pkgmgr/server/util.rs:341:9 [ 312s] | [ 312s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 312s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 312s] [ 312s] warning: value assigned to `ret` is never read [ 312s] --> ./src/pkgmgr/server/util.rs:425:21 [ 312s] | [ 312s] 425 | let mut ret: c_int = 0; [ 312s] | ^^^ [ 312s] | [ 312s] = help: maybe it is overwritten before being read? [ 312s] [ 312s] warning: unreachable pattern [ 312s] --> ./src/pkgmgr/server/util.rs:478:17 [ 312s] | [ 312s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 312s] | -------------------------------------- matches any value [ 312s] ... [ 312s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 312s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 312s] | [ 312s] = note: `#[warn(unreachable_patterns)]` on by default [ 312s] [ 312s] warning: unreachable pattern [ 312s] --> ./src/pkgmgr/server/util.rs:483:17 [ 312s] | [ 312s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 312s] | -------------------------------------- matches any value [ 312s] ... [ 312s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 312s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 312s] [ 312s] warning: unreachable pattern [ 312s] --> ./src/pkgmgr/server/util.rs:488:17 [ 312s] | [ 312s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 312s] | -------------------------------------- matches any value [ 312s] ... [ 312s] 488 | _ => { [ 312s] | ^ unreachable pattern [ 312s] [ 312s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 312s] --> ./src/pkgmgr/server/util.rs:473:17 [ 312s] | [ 312s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 312s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 312s] [ 312s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 312s] --> ./src/pkgmgr/server/util.rs:478:17 [ 312s] | [ 312s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 312s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 312s] [ 312s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 312s] --> ./src/pkgmgr/server/util.rs:483:17 [ 312s] | [ 312s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 312s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 312s] [ 312s] warning: variable does not need to be mutable [ 312s] --> ./src/pkgmgr/server/util.rs:519:13 [ 312s] | [ 312s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 312s] | ----^^^^ [ 312s] | | [ 312s] | help: remove this `mut` [ 312s] [ 312s] warning: variable does not need to be mutable [ 312s] --> ./src/pkgmgr/server/util.rs:588:13 [ 312s] | [ 312s] 588 | let mut reader = [ 312s] | ----^^^^^^ [ 312s] | | [ 312s] | help: remove this `mut` [ 312s] [ 312s] warning: unused variable: `gid` [ 312s] --> ./src/pkgmgr/server/util.rs:891:52 [ 312s] | [ 312s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 312s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 312s] | [ 312s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 312s] | [ 312s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 312s] | [ 312s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 312s] | [ 312s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 312s] | [ 312s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 312s] | [ 312s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 312s] | [ 312s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 312s] | [ 312s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 312s] | [ 312s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 312s] | [ 312s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 312s] | [ 312s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 312s] | [ 312s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 312s] | [ 312s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 312s] | [ 312s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 312s] | [ 312s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 312s] | [ 312s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 312s] | [ 312s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 312s] | [ 312s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 312s] | [ 312s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 312s] | [ 312s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 312s] | [ 312s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 312s] | [ 312s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 312s] | [ 312s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 312s] | [ 312s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 312s] | [ 312s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 312s] | [ 312s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 312s] | [ 312s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 312s] | [ 312s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 312s] | [ 312s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 312s] | [ 312s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 312s] | [ 312s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 312s] | [ 312s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 312s] | [ 312s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 312s] | [ 312s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 312s] | [ 312s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 312s] | [ 312s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 312s] | [ 312s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 312s] | [ 312s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 312s] | [ 312s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 312s] | [ 312s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 312s] | [ 312s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 312s] | [ 312s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 312s] | [ 312s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 312s] | [ 312s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 312s] | [ 312s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 312s] | [ 312s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 312s] | [ 312s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 312s] | [ 312s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 312s] | [ 312s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 312s] | [ 312s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 312s] | [ 312s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 312s] | [ 312s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 312s] | [ 312s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 312s] | [ 312s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 312s] | [ 312s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 312s] | [ 312s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 312s] | [ 312s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 312s] | [ 312s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 312s] | [ 312s] 153 | ctx.expect().times(1).returning(|x| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 312s] | [ 312s] 160 | ctx.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 312s] | [ 312s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 312s] | [ 312s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 312s] | [ 312s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 312s] | [ 312s] 171 | ctx.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 312s] | [ 312s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 312s] | [ 312s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 312s] | [ 312s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 312s] | [ 312s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 312s] | [ 312s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 312s] | [ 312s] 184 | ctx.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 312s] | [ 312s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 312s] | [ 312s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 312s] | [ 312s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 312s] | [ 312s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 312s] | [ 312s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 312s] | [ 312s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 312s] | [ 312s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 312s] | [ 312s] 199 | ctx.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 312s] | [ 312s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 312s] | [ 312s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 312s] | [ 312s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 312s] | [ 312s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 312s] | [ 312s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 312s] | [ 312s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 312s] | [ 312s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 312s] | [ 312s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 312s] | [ 312s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 312s] | [ 312s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 312s] | [ 312s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 312s] | [ 312s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 312s] | [ 312s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 312s] | [ 312s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 312s] | [ 312s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 312s] | [ 312s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 312s] | [ 312s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 312s] | [ 312s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 312s] | [ 312s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 312s] | [ 312s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 312s] | [ 312s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 312s] | [ 312s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 312s] | [ 312s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 312s] | [ 312s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 312s] | [ 312s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 312s] | [ 312s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 312s] | [ 312s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 312s] | [ 312s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 312s] | [ 312s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 312s] | [ 312s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `y` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 312s] | [ 312s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 312s] | [ 312s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `e` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 312s] | [ 312s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 312s] | [ 312s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 312s] | [ 312s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `e` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 312s] | [ 312s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 312s] | [ 312s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: unused variable: `z` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 312s] | [ 312s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 312s] [ 312s] warning: unused variable: `e` [ 312s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 312s] | [ 312s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 312s] [ 312s] warning: unused variable: `x` [ 312s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 312s] | [ 312s] 21 | ctx.expect().times(1).returning(|x| 0); [ 312s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 312s] [ 312s] warning: variable does not need to be mutable [ 312s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 312s] | [ 312s] 19 | let mut uid_vec: Vec = vec![]; [ 312s] | ----^^^^^^^ [ 312s] | | [ 312s] | help: remove this `mut` [ 312s] [ 312s] warning: variable does not need to be mutable [ 312s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 312s] | [ 312s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 312s] | ----^^^^^^^^^^^^^ [ 312s] | | [ 312s] | help: remove this `mut` [ 312s] [ 312s] warning: variable does not need to be mutable [ 312s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 312s] | [ 312s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 312s] | ----^^^^^^^^^^^^^ [ 312s] | | [ 312s] | help: remove this `mut` [ 312s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 313s] | [ 313s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 313s] | [ 313s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 313s] | [ 313s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 313s] | [ 313s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 313s] | [ 313s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 313s] | [ 313s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: variable does not need to be mutable [ 313s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 313s] | [ 313s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 313s] | ----^^^^^^^^^^^^^ [ 313s] | | [ 313s] | help: remove this `mut` [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 313s] | [ 313s] 993 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 994 | match CString::new(generated_req_key.clone()) { [ 313s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] = note: `#[warn(unused_unsafe)]` on by default [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 313s] | [ 313s] 993 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 997 | error!("Fail to generate req key, err({:?})", e); [ 313s] | ------------------------------------------------ in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 313s] | [ 313s] 993 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 313s] | [ 313s] 1075 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 1076 | match CString::new(generated_req_key.clone()) { [ 313s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 313s] | [ 313s] 1075 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 313s] | ------------------------------------------------ in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 313s] | [ 313s] 1075 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1106 | debug!("push disable pkg {pkg_id}"); [ 313s] | ----------------------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 313s] | [ 313s] 1075 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 313s] | [ 313s] 1537 | unsafe { [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 313s] | [ 313s] 1590 | unsafe { [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 313s] | [ 313s] 1641 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 1642 | match CString::new(generated_req_key.clone()) { [ 313s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 313s] | [ 313s] 1641 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 313s] | ------------------------------------------------ in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 313s] | [ 313s] 1641 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 313s] | [ 313s] 1703 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 1704 | match CString::new(generated_req_key.clone()) { [ 313s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 313s] | [ 313s] 1703 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 313s] | ------------------------------------------------ in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 313s] | [ 313s] 1703 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 313s] | [ 313s] 1767 | unsafe { [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 313s] | [ 313s] 1820 | unsafe { [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 313s] | [ 313s] 2294 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 313s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 313s] | [ 313s] 2793 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 313s] 2795 | debug!("admin service start : {ret}"); [ 313s] | ------------------------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 313s] | [ 313s] 2801 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 313s] 2803 | debug!("ret : {ret}"); [ 313s] | --------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 313s] | [ 313s] 204 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 210 | error!("sigprocmask failed"); [ 313s] | ---------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 313s] | [ 313s] 204 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 216 | error!("signalfd failed"); [ 313s] | ------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 313s] | [ 313s] 134 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 139 | debug!("cache service start : {ret}"); [ 313s] | ------------------------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 313s] | [ 313s] 145 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 313s] 147 | debug!("ret : {ret}"); [ 313s] | --------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 313s] | [ 313s] 107 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 112 | debug!("delayed result service start : {ret}"); [ 313s] | ---------------------------------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 313s] | [ 313s] 118 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 313s] 120 | debug!("ret : {ret}"); [ 313s] | --------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 313s] | [ 313s] 165 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 313s] 167 | error!("Failed to mkfifo"); [ 313s] | -------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 313s] | [ 313s] 268 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 273 | debug!("info service start : {ret}"); [ 313s] | ------------------------------------ in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 313s] | [ 313s] 279 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 313s] 281 | debug!("ret : {ret}"); [ 313s] | --------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 313s] | [ 313s] 131 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 313s] | --------------------------------------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 313s] | [ 313s] 131 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 313s] | --------------------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 313s] | [ 313s] 131 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 313s] | ---------------------------------------------------- in this macro invocation [ 313s] | [ 313s] = 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) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 313s] | [ 313s] 131 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 313s] | ------------------------------------------------ in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 313s] warning: unnecessary `unsafe` block [ 313s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 313s] | [ 313s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 313s] | ^^^^^^ unnecessary `unsafe` block [ 313s] | [ 313s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 313s] | [ 313s] 131 | unsafe { [ 313s] | ------ because it's nested under this `unsafe` block [ 313s] ... [ 313s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 313s] | --------------------------------------------------------------- in this macro invocation [ 313s] | [ 313s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 313s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 314s] | [ 314s] 309 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 314s] 311 | error!("Failed get appid"); [ 314s] | -------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 314s] | [ 314s] 309 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 314s] | --------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/server/util.rs:326:46 [ 314s] | [ 314s] 325 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 314s] | [ 314s] 325 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 329 | error!("Failed get appid"); [ 314s] | -------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 314s] | [ 314s] 325 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 314s] | --------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 314s] | [ 314s] 342 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 314s] | ---------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 314s] | [ 314s] 342 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 361 | error!("empty result"); [ 314s] | ---------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 314s] | [ 314s] 390 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 314s] | --------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 314s] | [ 314s] 390 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 406 | error!("Fail to get is readonly"); [ 314s] | --------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 314s] | [ 314s] 422 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 429 | error!("Not found package"); [ 314s] | --------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 314s] | [ 314s] 422 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 445 | debug!("pkgtype - {ret_string}"); [ 314s] | -------------------------------- in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 314s] | [ 314s] 803 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 314s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 314s] | ------------------------------------------------------ in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 314s] | [ 314s] 814 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 314s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 314s] | ------------------------------------------------------ in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 314s] | [ 314s] 814 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 314s] | ------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 314s] | [ 314s] 814 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 314s] | ------------------------------------------------------------ in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 314s] | [ 314s] 836 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 314s] | --------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 314s] | [ 314s] 836 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 314s] | ------------------------------------------------------------ in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 314s] | [ 314s] 859 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 863 | warn!("cannot get user information from gumd, retry"); [ 314s] | ----------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = 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) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 314s] | [ 314s] 859 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 871 | error!("cannot get user information from gumd, failed"); [ 314s] | ------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 314s] | [ 314s] 859 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 877 | error!("cannot get user type"); [ 314s] | ------------------------------ in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 314s] | [ 314s] 892 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 314s] | ------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 314s] | [ 314s] 892 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 901 | error!("Failed to get list of supplementary group IDs"); [ 314s] | ------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 314s] | [ 314s] 892 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 314s] | --------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 314s] | [ 314s] 928 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 942 | error!("getpwuid_r fail"); [ 314s] | ------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 314s] | [ 314s] 928 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 949 | error!("Fail to get str, err({:?})", e); [ 314s] | --------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 314s] | [ 314s] 928 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 957 | error!("Fail to get str, err({:?})", e); [ 314s] | --------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 314s] | [ 314s] 928 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 314s] | -------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 314s] | [ 314s] 984 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 314s] | ----------------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 314s] | [ 314s] 984 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 314s] | ---------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 314s] | [ 314s] 984 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 314s] | ---------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 314s] | [ 314s] 984 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 314s] | [ 314s] 1081 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 314s] | ----------------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 314s] | [ 314s] 1081 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 314s] | --------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 314s] | [ 314s] 1081 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 314s] | ------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 314s] | [ 314s] 1109 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 314s] | ---------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 314s] | [ 314s] 1129 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 314s] | -------------------------------------------------------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: unnecessary `unsafe` block [ 314s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 314s] | [ 314s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 314s] | ^^^^^^ unnecessary `unsafe` block [ 314s] | [ 314s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 314s] | [ 314s] 1129 | unsafe { [ 314s] | ------ because it's nested under this `unsafe` block [ 314s] ... [ 314s] 1155 | error!("failed to add io watch"); [ 314s] | -------------------------------- in this macro invocation [ 314s] | [ 314s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 314s] [ 314s] warning: constant `SD_LISTEN_FDS_START` is never used [ 314s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 314s] | [ 314s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 314s] | ^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: `#[warn(dead_code)]` on by default [ 314s] [ 314s] warning: multiple variants are never constructed [ 314s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 314s] | [ 314s] 42 | enum AUL_RETURN_VALUE { [ 314s] | ---------------- variants in this enum [ 314s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 314s] | ^^^^^^^^^^^^ [ 314s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 314s] | ^^^^^^^^^^^^ [ 314s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 314s] | ^^^^^^^^^^^^^^^ [ 314s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 314s] | ^^^^^^^^^^^^ [ 314s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 314s] | ^^^^^^^^^^^^^^^^^^^^^ [ 314s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 314s] | ^^^^^^^^^^^^^^^^^^ [ 314s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 314s] | ^^^^^^^^^^^^^^^^^^ [ 314s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 314s] | ^^^^^^^^^^^^^ [ 314s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 314s] | ^^^^^^^^^^^ [ 314s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 314s] | ^^^^^^^^^^^^^^ [ 314s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 314s] | ^^^^^^^^^^^^^^^ [ 314s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 314s] | ^^^^^^^^^^^^ [ 314s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 314s] | ^^^^^^^^^^^ [ 314s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 314s] | ^^^^^^^^^^^^^ [ 314s] 57 | AUL_R_ERROR = -1, //< General error [ 314s] | ^^^^^^^^^^^ [ 314s] [ 314s] warning: field `timer` is never read [ 314s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 314s] | [ 314s] 61 | pub struct Server { [ 314s] | ------ field in this struct [ 314s] 62 | mainloop: *mut GMainLoop, [ 314s] 63 | timer: c_uint [ 314s] | ^^^^^ [ 314s] [ 314s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 314s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 314s] | [ 314s] 27 | enum RPC_PORT_ERROR { [ 314s] | -------------- variants in this enum [ 314s] 28 | NONE = 0, //< Successful [ 314s] 29 | IO_ERROR = -5, //< Internal I/O error [ 314s] | ^^^^^^^^ [ 314s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 314s] | ^^^^^^^^^^^^^ [ 314s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 314s] | ^^^^^^^^^^^^^^^^^ [ 314s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 314s] | ^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: method `generate_request_id` is never used [ 314s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 314s] | [ 314s] 2713 | impl AdminService { [ 314s] | ----------------- method in this implementation [ 314s] ... [ 314s] 2786 | fn generate_request_id(&self) -> String { [ 314s] | ^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: field `request_type` is never read [ 314s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 314s] | [ 314s] 6 | pub struct BackendContext { [ 314s] | -------------- field in this struct [ 314s] 7 | request_type: RequestType, [ 314s] | ^^^^^^^^^^^^ [ 314s] [ 314s] warning: type alias `GIOChannel` is never used [ 314s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 314s] | [ 314s] 14 | type GIOChannel = *mut c_void; [ 314s] | ^^^^^^^^^^ [ 314s] [ 314s] warning: type alias `GIOCondition` is never used [ 314s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 314s] | [ 314s] 15 | type GIOCondition = c_int; [ 314s] | ^^^^^^^^^^^^ [ 314s] [ 314s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 314s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 314s] | [ 314s] 20 | enum PKGMGR_RETURN_VALUE { [ 314s] | ------------------- variants in this enum [ 314s] 21 | ESYSTEM = -9, // Severe system error [ 314s] 22 | EIO = -8, // IO error [ 314s] | ^^^ [ 314s] 23 | ENOMEM = -7, // Out of memory [ 314s] 24 | ENOPKG = -6, // No such package [ 314s] | ^^^^^^ [ 314s] 25 | EPRIV = -5, // Privilege denied [ 314s] | ^^^^^ [ 314s] 26 | ETIMEOUT = -4, // Timeout [ 314s] | ^^^^^^^^ [ 314s] 27 | EINVAL = -3, // Invalid argument [ 314s] | ^^^^^^ [ 314s] 28 | ECOMM = -2, // Comunication Error [ 314s] | ^^^^^ [ 314s] [ 314s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 314s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 314s] | [ 314s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 314s] | ------------------- variants in this enum [ 314s] ... [ 314s] 8 | EPRIV = -5, // Privilege denied [ 314s] | ^^^^^ [ 314s] 9 | ETIMEOUT = -4, // Timeout [ 314s] | ^^^^^^^^ [ 314s] [ 314s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 314s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 314s] | [ 314s] 1 | pub enum RequestType { [ 314s] | ----------- variants in this enum [ 314s] ... [ 314s] 20 | KILL, [ 314s] | ^^^^ [ 314s] 21 | CHECK, [ 314s] | ^^^^^ [ 314s] ... [ 314s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] ... [ 314s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: multiple variants are never constructed [ 314s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 314s] | [ 314s] 9 | enum PKGMGR_REQ { [ 314s] | ---------- variants in this enum [ 314s] 10 | PERM = -1, [ 314s] | ^^^^ [ 314s] 11 | INVALID = 0, [ 314s] | ^^^^^^^ [ 314s] 12 | INSTALL = 1, [ 314s] | ^^^^^^^ [ 314s] 13 | UNINSTALL = 2, [ 314s] | ^^^^^^^^^ [ 314s] 14 | CLEAR = 3, [ 314s] | ^^^^^ [ 314s] 15 | MOVE = 4, [ 314s] | ^^^^ [ 314s] 16 | RECOVER = 5, [ 314s] | ^^^^^^^ [ 314s] 17 | REINSTALL = 6, [ 314s] | ^^^^^^^^^ [ 314s] 18 | GETSIZE = 7, [ 314s] | ^^^^^^^ [ 314s] 19 | UPGRADE = 8, [ 314s] | ^^^^^^^ [ 314s] 20 | SMACK = 9, [ 314s] | ^^^^^ [ 314s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] ... [ 314s] 26 | MOUNT_INSTALL = 15, [ 314s] | ^^^^^^^^^^^^^ [ 314s] 27 | DISABLE_PKG = 16, [ 314s] | ^^^^^^^^^^^ [ 314s] 28 | ENABLE_PKG = 17, [ 314s] | ^^^^^^^^^^ [ 314s] 29 | MIGRATE_EXTIMG = 18, [ 314s] | ^^^^^^^^^^^^^^ [ 314s] 30 | RECOVER_DB = 19, [ 314s] | ^^^^^^^^^^ [ 314s] 31 | RES_COPY = 20, [ 314s] | ^^^^^^^^ [ 314s] 32 | RES_CREATE_DIR = 21, [ 314s] | ^^^^^^^^^^^^^^ [ 314s] 33 | RES_REMOVE = 22, [ 314s] | ^^^^^^^^^^ [ 314s] 34 | RES_UNINSTALL = 23 [ 314s] | ^^^^^^^^^^^^^ [ 314s] [ 314s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 314s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 314s] | [ 314s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `tzplatform_getuid` is never used [ 314s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 314s] | [ 314s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 314s] | ^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `sd_get_uids` is never used [ 314s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 314s] | [ 314s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 314s] | ^^^^^^^^^^^ [ 314s] [ 314s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:29:7 [ 314s] | [ 314s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:30:7 [ 314s] | [ 314s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 314s] | ^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:31:7 [ 314s] | [ 314s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: type alias `GIOChannel` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:33:6 [ 314s] | [ 314s] 33 | type GIOChannel = *mut c_void; [ 314s] | ^^^^^^^^^^ [ 314s] [ 314s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 314s] --> ./src/pkgmgr/server/util.rs:136:5 [ 314s] | [ 314s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 314s] | ------------------------ variants in this enum [ 314s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 314s] 136 | PMINFO_UI_APP, //< UI Application [ 314s] | ^^^^^^^^^^^^^ [ 314s] 137 | PMINFO_SVC_APP, //< Service Application [ 314s] | ^^^^^^^^^^^^^^ [ 314s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 314s] | ^^^^^^^^^^^^^^^^^ [ 314s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 314s] | ^^^^^^^^^^^^^^^^ [ 314s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 314s] --> ./src/pkgmgr/server/util.rs:766:12 [ 314s] | [ 314s] 384 | impl Util { [ 314s] | --------- associated functions in this implementation [ 314s] ... [ 314s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^ [ 314s] ... [ 314s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:204:8 [ 314s] | [ 314s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:44:16 [ 314s] | [ 314s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:50:16 [ 314s] | [ 314s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:56:16 [ 314s] | [ 314s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:61:16 [ 314s] | [ 314s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:65:16 [ 314s] | [ 314s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:71:16 [ 314s] | [ 314s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:76:16 [ 314s] | [ 314s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:80:16 [ 314s] | [ 314s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:85:16 [ 314s] | [ 314s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:90:16 [ 314s] | [ 314s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:95:16 [ 314s] | [ 314s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:99:16 [ 314s] | [ 314s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:105:16 [ 314s] | [ 314s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:110:16 [ 314s] | [ 314s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:115:16 [ 314s] | [ 314s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `aul_app_is_running_for_uid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:122:16 [ 314s] | [ 314s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `aul_app_get_pid_for_uid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:123:16 [ 314s] | [ 314s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `aul_terminate_pid_for_uid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:124:16 [ 314s] | [ 314s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 314s] --> ./src/pkgmgr/server/util.rs:125:16 [ 314s] | [ 314s] 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; [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/main.rs:14:5 [ 314s] | [ 314s] 14 | pkgmgr::server::Server::run(&mut server); [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] = note: `#[warn(unused_must_use)]` on by default [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 314s] | [ 314s] 93 | admin_service.run(); [ 314s] | ^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 93 | let _ = admin_service.run(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 314s] | [ 314s] 95 | cache_service.run(); [ 314s] | ^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 95 | let _ = cache_service.run(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 314s] | [ 314s] 97 | info_service.run(); [ 314s] | ^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 97 | let _ = info_service.run(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 314s] | [ 314s] 99 | delayed_result_service.run(); [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 99 | let _ = delayed_result_service.run(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 314s] | [ 314s] 109 | admin_service.stop(); [ 314s] | ^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 109 | let _ = admin_service.stop(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 314s] | [ 314s] 110 | cache_service.stop(); [ 314s] | ^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 110 | let _ = cache_service.stop(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 314s] | [ 314s] 111 | info_service.stop(); [ 314s] | ^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 111 | let _ = info_service.stop(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused `Result` that must be used [ 314s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 314s] | [ 314s] 112 | delayed_result_service.stop(); [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] = note: this `Result` may be an `Err` variant, which should be handled [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 112 | let _ = delayed_result_service.stop(); [ 314s] | +++++++ [ 314s] [ 314s] warning: unused return value of `std::mem::size_of` that must be used [ 314s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 314s] | [ 314s] 40 | mem::size_of::(); [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 314s] | [ 314s] help: use `let _ = ...` to ignore the resulting value [ 314s] | [ 314s] 40 | let _ = mem::size_of::(); [ 314s] | +++++++ [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 314s] | [ 314s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 314s] | [ 314s] = note: `#[warn(non_snake_case)]` on by default [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 314s] | [ 314s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 314s] | [ 314s] 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... [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 314s] | [ 314s] 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... [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 314s] | [ 314s] 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... [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 314s] [ 314s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 314s] | [ 314s] 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... [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 314s] | [ 314s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 314s] | [ 314s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 314s] | [ 314s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 314s] | [ 314s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 314s] | [ 314s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 314s] [ 314s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 314s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 314s] | [ 314s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 314s] [ 314s] warning: method `IsPackageReadonly` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:389:12 [ 314s] | [ 314s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 314s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 314s] [ 314s] warning: method `GetPackageType` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:420:12 [ 314s] | [ 314s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 314s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 314s] [ 314s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:473:17 [ 314s] | [ 314s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 314s] [ 314s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:478:17 [ 314s] | [ 314s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 314s] [ 314s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:483:17 [ 314s] | [ 314s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 314s] [ 314s] warning: constant `type_map` should have an upper case name [ 314s] --> ./src/pkgmgr/server/util.rs:623:15 [ 314s] | [ 314s] 623 | const type_map : [[&str; 2]; 3] = [ [ 314s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 314s] | [ 314s] = note: `#[warn(non_upper_case_globals)]` on by default [ 314s] [ 314s] warning: method `GenerateRequestId` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:646:12 [ 314s] | [ 314s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 314s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 314s] [ 314s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:657:12 [ 314s] | [ 314s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 314s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 314s] [ 314s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:680:12 [ 314s] | [ 314s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 314s] [ 314s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:686:12 [ 314s] | [ 314s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 314s] [ 314s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:696:12 [ 314s] | [ 314s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 314s] [ 314s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:706:12 [ 314s] | [ 314s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 314s] [ 314s] warning: method `EnableApp` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:728:12 [ 314s] | [ 314s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 314s] [ 314s] warning: method `DisableApp` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:738:12 [ 314s] | [ 314s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 314s] [ 314s] warning: method `EnableGlobalApp` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:747:12 [ 314s] | [ 314s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 314s] [ 314s] warning: method `DisableGlobalApp` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:757:12 [ 314s] | [ 314s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 314s] [ 314s] warning: method `EnableAppSplashScreen` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:766:12 [ 314s] | [ 314s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 314s] [ 314s] warning: method `DisableAppSplashScreen` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:775:12 [ 314s] | [ 314s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 314s] [ 314s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:784:12 [ 314s] | [ 314s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 314s] [ 314s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:793:12 [ 314s] | [ 314s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 314s] [ 314s] warning: method `KillApp` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:813:12 [ 314s] | [ 314s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 314s] [ 314s] warning: method `KillAppsInPkg` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:835:12 [ 314s] | [ 314s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 314s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 314s] [ 314s] warning: method `IsAdminUser` should have a snake case name [ 314s] --> ./src/pkgmgr/server/util.rs:855:8 [ 314s] | [ 314s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 314s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 314s] [ 315s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 315s] | [ 315s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 315s] | [ 315s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 315s] [ 315s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 315s] | [ 315s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 315s] | [ 315s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 315s] | [ 315s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 315s] | [ 315s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 315s] | [ 315s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 315s] | [ 315s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 315s] | [ 315s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 315s] | [ 315s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 315s] | [ 315s] 65 | fn KillApp_test_return_0_from_running() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 315s] | [ 315s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 315s] | [ 315s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 315s] | [ 315s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 315s] | [ 315s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 315s] | [ 315s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 315s] | [ 315s] 92 | fn KillApp_test_return_0_from_end() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 315s] | [ 315s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 315s] | [ 315s] 104 | fn GetPackageType_test_return_new_from_all() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 315s] | [ 315s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 315s] | [ 315s] 111 | fn GetPackageType_test_return_new_from_type() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 315s] | [ 315s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 315s] | [ 315s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 315s] | [ 315s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 315s] | [ 315s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 315s] | [ 315s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 315s] | [ 315s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 315s] | [ 315s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 315s] | [ 315s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 315s] | [ 315s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 315s] | [ 315s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 315s] | [ 315s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 315s] | [ 315s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 315s] | [ 315s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 315s] | [ 315s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 315s] | [ 315s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 315s] | [ 315s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 315s] | [ 315s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 315s] | [ 315s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 315s] | [ 315s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 315s] | [ 315s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 315s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 315s] | [ 315s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 315s] | [ 315s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 315s] | [ 315s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 315s] | [ 315s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 315s] | [ 315s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 315s] | [ 315s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 315s] | [ 315s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 315s] [ 315s] warning: getting the inner pointer of a temporary `CString` [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 315s] | [ 315s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 315s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 315s] | | [ 315s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 315s] | [ 315s] = 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 [ 315s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 315s] [ 315s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 315s] | [ 315s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 315s] [ 315s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 315s] | [ 315s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 315s] [ 315s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 315s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 315s] | [ 315s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 315s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 315s] [ 411s] warning: 735 warnings emitted [ 411s] [ 411s] + exit 0 [ 411s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PG3aR1 [ 411s] + umask 022 [ 411s] + cd /home/abuild/rpmbuild/BUILD [ 411s] + cd pkgmgr-server-1.0.15 [ 411s] + LANG=C [ 411s] + export LANG [ 411s] + unset DISPLAY [ 411s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 411s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 411s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm install [ 411s] /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 [ 411s] /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 [ 411s] /bin/make -f CMakeFiles/Makefile2 all [ 411s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 411s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] 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= [ 411s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 411s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 411s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] [ 50%] Built target tidl_pkgmgr_server [ 411s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 411s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] 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= [ 411s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 411s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 411s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] [100%] Built target util_pkgmgr_server [ 411s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 411s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 411s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] make[1]: Nothing to be done for 'preinstall'. [ 411s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 411s] Install the project... [ 411s] /usr/bin/cmake -P cmake_install.cmake [ 411s] -- Install configuration: "" [ 411s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 411s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 411s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 411s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 411s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 411s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 411s] + xargs rm -f -- [ 411s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 411s] + xargs rm -f -- [ 411s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 411s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 411s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 412s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 412s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 412s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 412s] + _target= [ 412s] + _symlinks=0 [ 412s] + _files=() [ 412s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 412s] + read _file [ 412s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 412s] 1+0 records in [ 412s] 1+0 records out [ 412s] 1+0 records in [ 412s] 1+0 records out [ 412s] 1+0 records in [ 412s] 1+0 records out [ 412s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 412s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 412s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 412s] 0+0 records in [ 412s] 0+0 records out [ 412s] 0+0 records in [ 412s] 0+0 records out [ 412s] 0+0 records in [ 412s] 0+0 records out [ 412s] 797 blocks [ 412s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 412s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 412s] + /usr/lib/rpm/check-buildroot [ 412s] + /usr/lib/rpm//brp-compress [ 412s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 412s] + /usr/lib/rpm/brp-python-hardlink [ 412s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 412s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 412s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 412s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 412s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 412s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rkINs4 [ 412s] + umask 022 [ 412s] + cd /home/abuild/rpmbuild/BUILD [ 412s] + cd pkgmgr-server-1.0.15 [ 412s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 412s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 412s] + RUST_BACKTRACE=1 [ 412s] + RUST_TEST_THREADS=1 [ 412s] + ./unittests_rust_pkgmgr_server [ 412s] [ 412s] running 35 tests [ 413s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 413s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 414s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 414s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 414s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 414s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 415s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 415s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 415s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 415s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 415s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 415s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 415s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 415s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 415s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 415s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 415s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 415s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 415s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 415s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 415s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 415s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 415s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 415s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 415s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 415s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 415s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 415s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 415s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 415s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 415s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 415s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 415s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 415s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 415s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 415s] [ 415s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.55s [ 415s] [ 415s] + exit 0 [ 415s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 415s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 415s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 415s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 415s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 415s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 415s] [ 415s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.StjtoI [ 415s] + umask 022 [ 415s] + cd /home/abuild/rpmbuild/BUILD [ 415s] + cd pkgmgr-server-1.0.15 [ 415s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 415s] + export LC_ALL=C [ 415s] + LC_ALL=C [ 415s] + export LICENSEDIR [ 415s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 415s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 415s] + exit 0 [ 415s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 415s] Requires(interp): /bin/sh [ 415s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 415s] Requires(post): /bin/sh [ 415s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-161dbff30b3b0c00.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) [ 415s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 415s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 415s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 415s] [ 415s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 415s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 415s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 415s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 415s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 415s] [ 415s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 415s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 415s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 415s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 415s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 415s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 415s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 416s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 416s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RSZirQ [ 416s] + umask 022 [ 416s] + cd /home/abuild/rpmbuild/BUILD [ 416s] + cd pkgmgr-server-1.0.15 [ 416s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 416s] + exit 0 [ 416s] ... checking for files with abuild user/group [ 416s] ... creating baselibs [ 416s] [ 416s] ip-192-168-56-178 finished "build pkgmgr-server.spec" at Mon Dec 16 08:08:47 UTC 2024. [ 416s]