[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.20 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-33 started "build pkgmgr-server.spec" at Wed Dec 18 12:54:30 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_emulator/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_emulator/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_emulator/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.20/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.20/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_emulator/x86_64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 4s] expanding package dependencies... [ 5s] copying qemu [ 5s] [ 5s] calculating packages to download... [ 8s] reordering...cycle: gio-branding-upstream -> libgio [ 8s] breaking dependency libgio -> gio-branding-upstream [ 8s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 8s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 8s] cycle: libgum -> gumd [ 8s] breaking dependency libgum -> gumd [ 8s] cycle: glibc-devel -> libxcrypt-devel [ 8s] breaking dependency libxcrypt-devel -> glibc-devel [ 8s] cycle: rust -> rust-devel [ 8s] breaking dependency rust-devel -> rust [ 8s] cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] reordering done [ 9s] deleting capi-system-info-devel [ 9s] deleting capi-ui-efl-util [ 9s] deleting coregl [ 9s] deleting db4 [ 10s] deleting ecore-audio [ 10s] deleting ecore-con [ 10s] deleting ecore-core [ 10s] deleting ecore-evas [ 10s] deleting ecore-fb [ 10s] deleting ecore-file [ 10s] deleting ecore-imf [ 10s] deleting ecore-imf-evas [ 10s] deleting ecore-input [ 10s] deleting ecore-input-evas [ 10s] deleting ecore-ipc [ 10s] deleting ecore-wl2 [ 10s] deleting ector [ 11s] deleting edje [ 11s] deleting eet [ 11s] deleting eeze [ 11s] deleting efl [ 11s] deleting efreet [ 11s] deleting eina [ 12s] deleting eio [ 12s] deleting eldbus [ 12s] deleting elementary [ 12s] deleting embryo [ 12s] deleting emile [ 12s] deleting emotion [ 13s] deleting eo [ 13s] deleting ethumb [ 13s] deleting evas [ 13s] deleting fontconfig [ 13s] deleting fribidi [ 13s] deleting giflib [ 13s] deleting hal-api-common [ 14s] deleting hal-api-tbm [ 14s] /var/tmp/rpm-tmp.e8BhLb: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 14s] warning: %postun(hal-api-tbm-0.1.2-1.x86_64) scriptlet failed, exit status 127 [ 14s] deleting hal-api-tdm [ 14s] /var/tmp/rpm-tmp.yxwBRX: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 14s] warning: %postun(hal-api-tdm-0.3.1-1.x86_64) scriptlet failed, exit status 127 [ 14s] deleting libdrm [ 14s] deleting libfreetype [ 14s] deleting libharfbuzz [ 14s] deleting libhyphen [ 15s] deleting libicu [ 15s] deleting libjpeg [ 15s] deleting libopenssl1.1-devel [ 15s] deleting libpcap [ 15s] deleting libpcap-devel [ 15s] deleting libpng [ 15s] deleting libpython [ 15s] deleting libtbm [ 16s] /sbin/ldconfig: relative path `0' used to build cache [ 16s] warning: %postun(libtbm-4.5.5-1.x86_64) scriptlet failed, exit status 1 [ 16s] deleting libtdm [ 16s] /sbin/ldconfig: relative path `0' used to build cache [ 16s] warning: %postun(libtdm-3.2.0-0.x86_64) scriptlet failed, exit status 1 [ 16s] deleting libtdm-client [ 16s] deleting libtiff [ 16s] deleting libtpl-egl [ 16s] deleting libwayland-client [ 16s] deleting libwayland-cursor [ 16s] deleting libwayland-egl [ 17s] deleting libwayland-egl-tizen [ 17s] deleting libwayland-extension-client [ 17s] deleting libwayland-server [ 17s] deleting libwayland-tbm-client [ 17s] deleting libwayland-tbm-server [ 17s] deleting libwebp [ 17s] deleting libxkbcommon [ 18s] deleting lottie-player [ 18s] deleting pixman [ 18s] deleting python [ 18s] deleting python-xml [ 18s] deleting syspopup [ 18s] warning: file /usr/share/syspopup/default/wearable.xml: remove failed: No such file or directory [ 18s] warning: file /usr/share/syspopup/default/tv.xml: remove failed: No such file or directory [ 18s] warning: file /usr/share/syspopup/default/mobile.xml: remove failed: No such file or directory [ 18s] warning: file /usr/share/syspopup/default/ivi.xml: remove failed: No such file or directory [ 18s] warning: file /usr/share/syspopup/default/common.xml: remove failed: No such file or directory [ 18s] deleting syspopup-caller [ 18s] deleting syspopup-caller-devel [ 18s] deleting thorvg [ 18s] deleting tizen-core [ 19s] [1/241] keeping default-ac-domains-0.1-1.1 [ 19s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 19s] [3/241] keeping libmagic-data-5.45-1.5 [ 19s] [4/241] keeping pcre2-syntax-10.40-1 [ 19s] [5/241] keeping python3-pyparsing-3.1.1-1.1 [ 19s] [6/241] keeping python3-six-1.16.0-1.1 [ 19s] [7/241] cumulate rust-std-static-1.74.0-1 [ 19s] [8/241] keeping setup-0.9-1.1 [ 19s] [9/241] keeping filesystem-3.1-1.1 [ 19s] [10/241] keeping python3-packaging-23.2-1.1 [ 19s] [11/241] keeping glibc-2.39-1.6 [ 19s] [12/241] keeping bash-3.2.57-1.1 [ 19s] [13/241] keeping capi-base-common-0.4.82-1 [ 19s] [14/241] keeping cpio-2.8-1.1 [ 19s] [15/241] keeping diffutils-3.10-1.1 [ 19s] [16/241] cumulate fdupes-2.2.1-1.5 [ 19s] [17/241] keeping findutils-4.3.8-1.4 [ 19s] [18/241] keeping gdbm-1.8.3-1.7 [ 19s] [19/241] keeping hostname-3.23-1.1 [ 19s] [20/241] keeping iniparser-4.1-1.1 [ 19s] [21/241] keeping libatomic-14.2.0-1.6 [ 19s] [22/241] keeping libattr-2.5.1-1.4 [ 19s] [23/241] keeping libblkid-2.39.3-1.6 [ 19s] [24/241] keeping libbz2-1.0.8-1.5 [ 19s] [25/241] keeping libexpat-2.6.2-1.5 [ 19s] [26/241] keeping libffi-3.4.2-1.5 [ 19s] [27/241] keeping libfreebl3-3.98-1.7 [ 19s] [28/241] keeping libgcc-14.2.0-1.6 [ 19s] [29/241] keeping libgomp-14.2.0-1.6 [ 19s] [30/241] keeping libitm-14.2.0-1.6 [ 19s] [31/241] keeping libjson-0.17-0 [ 19s] [32/241] keeping libltdl-2.4.7-1.6 [ 19s] [33/241] keeping liblua-5.1.5-1.3 [ 19s] [34/241] keeping liblzma-5.4.5-1.7 [ 19s] [35/241] keeping libopenssl11-1.1.1w-1.5 [ 19s] [36/241] keeping libopenssl3-3.0.13-1.7 [ 19s] [37/241] keeping libpcre-8.45-1.4 [ 19s] [38/241] keeping libpopt-1.16-1.4 [ 19s] [39/241] keeping libpython3_121_0-3.12.0-1.6 [ 19s] [40/241] keeping libquadmath-14.2.0-1.6 [ 19s] [41/241] keeping libsmack-1.3.1-1.4 [ 19s] [42/241] keeping libsmartcols-2.39.3-1.6 [ 19s] [43/241] keeping libsqlite-3.44.0-1.4 [ 19s] [44/241] keeping libuuid-2.39.3-1.6 [ 19s] [45/241] keeping libxcrypt-4.4.36-1.6 [ 19s] [46/241] keeping libzstd1-1.5.5-1.6 [ 19s] [47/241] keeping m4-1.4.19-1.1 [ 19s] [48/241] keeping net-tools-2.0_20121208git-1.4 [ 19s] [49/241] keeping nspr-4.35-1.4 [ 19s] [50/241] keeping patch-2.7.6-1.4 [ 19s] [51/241] keeping pkg-config-0.29.2-1.5 [ 19s] [52/241] keeping sed-4.1c-1.4 [ 19s] [53/241] keeping update-alternatives-1.22.2-1.1 [ 19s] [54/241] keeping which-2.17-1.1 [ 19s] [55/241] keeping xdgmime-0.0.17-1.1 [ 19s] [56/241] keeping zlib-1.3-1.5 [ 19s] [57/241] keeping pcre2-10.40-1 [ 19s] [58/241] keeping pcre2-utf16-10.40-1 [ 19s] [59/241] keeping pcre2-utf32-10.40-1 [ 19s] [60/241] keeping build-compare-2023.06.18-1.1 [ 19s] [61/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 19s] [62/241] keeping vconf-internal-keys-devel-0.0.191-0 [ 19s] [63/241] keeping binutils-libs-2.43-1.6 [ 19s] [64/241] keeping capi-base-common-devel-0.4.82-1 [ 19s] [65/241] keeping coreutils-6.9-14.1 [ 19s] [66/241] keeping cpp-14.2.0-1.6 [ 19s] [67/241] keeping gawk-3.1.5-1.1 [ 19s] [68/241] keeping gcc-c++-14.2.0-1.6 [ 19s] [69/241] keeping grep-2.5.2-1.3 [ 19s] [70/241] keeping libacl-2.3.2-1.4 [ 19s] [71/241] keeping libblkid-devel-2.39.3-1.6 [ 19s] [72/241] keeping libcap-2.69-1.5 [ 19s] [73/241] keeping libelf-0.189-1.6 [ 19s] [74/241] keeping libffi-devel-3.4.2-1.5 [ 19s] [75/241] keeping libgfortran-14.2.0-1.6 [ 19s] [76/241] keeping libglib-2.80.5-0 [ 19s] [77/241] keeping libmount-2.39.3-1.6 [ 19s] [78/241] keeping libstdc++-14.2.0-1.6 [ 19s] [79/241] keeping make-4.4-1.3 [ 19s] [80/241] keeping minizip-1.3-1.5 [ 19s] [81/241] keeping nss-certs-3.98-1.7 [ 19s] [82/241] cumulate rust-std-shared-1.74.0-1 [ 19s] [83/241] keeping smack-1.3.1-1.4 [ 19s] [84/241] keeping sqlite-3.44.0-1.4 [ 19s] [85/241] cumulate tidl-2.3.4-1 [ 19s] [86/241] cumulate unzip-610c25-1.1 [ 19s] [87/241] cumulate xdgmime-devel-0.0.17-1.1 [ 19s] [88/241] cumulate xz-devel-5.4.5-1.7 [ 19s] [89/241] keeping bzip2-1.0.8-1.5 [ 19s] [90/241] keeping libfdisk-2.39.3-1.6 [ 19s] [91/241] keeping libmagic-5.45-1.5 [ 19s] [92/241] keeping libxml2-2.12.5-1.6 [ 19s] [93/241] keeping shadow-utils-4.1.4.2-7.1 [ 19s] [94/241] keeping xz-5.4.5-1.7 [ 19s] [95/241] cumulate libkmod-31-1.1 [ 19s] [96/241] keeping perl-5.38.0-1.5 [ 19s] [97/241] keeping pcre2-devel-10.40-1 [ 19s] [98/241] keeping build-mkbaselibs-20120927-1.1 [ 19s] [99/241] keeping libstdc++-devel-14.2.0-1.6 [ 19s] [100/241] keeping linux-glibc-devel-6.6-1.7 [ 19s] [101/241] cumulate acl-2.3.2-1.4 [ 19s] [102/241] keeping file-5.45-1.5 [ 19s] [103/241] keeping libcap-tools-2.69-1.5 [ 19s] [104/241] keeping libgmodule-2.80.5-0 [ 19s] [105/241] keeping libgthread-2.80.5-0 [ 19s] [106/241] cumulate minizip-devel-1.3-1.5 [ 19s] [107/241] keeping tar-1.17-1.1 [ 19s] [108/241] keeping terminfo-base-full-6.4-1.7 [ 19s] [109/241] keeping autoconf-2.71-1.7 [ 19s] [110/241] keeping glibc-locale-2.39-1.6 [ 19s] [111/241] keeping gzip-1.3.12-1.4 [ 19s] [112/241] keeping libcc1-14.2.0-1.6 [ 19s] [113/241] keeping libgobject-2.80.5-0 [ 19s] [114/241] keeping libhwasan-14.2.0-1.6 [ 19s] [115/241] keeping libmount-devel-2.39.3-1.6 [ 19s] [116/241] keeping libubsan-14.2.0-1.6 [ 19s] [117/241] keeping tizen-platform-config-5.0-1 [ 19s] [118/241] keeping binutils-2.43-1.6 [ 19s] [119/241] cumulate gettext-runtime-0.21.1-2.6 [ 19s] [120/241] keeping pam-1.1.6-1.5 [ 19s] [121/241] keeping tzdata-2023c-1.1 [ 19s] [122/241] keeping dlog-9.0.1-1 [ 19s] [123/241] keeping cynara-db-migration-0.19.5-1 [ 19s] [124/241] keeping libdw-0.189-1.6 [ 19s] [125/241] keeping ttrace-1.1.0-1 [ 19s] [126/241] keeping libarchive-3.7.2-1.5 [ 19s] [127/241] keeping shared-mime-info-1.7-0 [ 19s] [128/241] keeping dlog-logger-9.0.1-1 [ 19s] [129/241] keeping libtzplatform-config-5.0-1 [ 19s] [130/241] keeping automake-1.16.5-1.6 [ 19s] [131/241] keeping libasm-0.189-1.6 [ 19s] [132/241] cumulate libncurses5-6.4-1.7 [ 19s] [133/241] keeping libncurses6-6.4-1.7 [ 19s] [134/241] keeping build-20120927-1.1 [ 19s] [135/241] keeping libgirepository2-2.80.5-0 [ 19s] [136/241] keeping libsystemd-244-0 [ 19s] [137/241] keeping security-config-1.0-1 [ 19s] [138/241] cumulate gettext-tools-0.21.1-2.6 [ 19s] [139/241] keeping gcc-14.2.0-1.6 [ 19s] [140/241] keeping libncurses-6.4-1.7 [ 19s] [141/241] keeping dbus-libs-1.12.20-3 [ 19s] [142/241] keeping less-643-1.1 [ 19s] [143/241] keeping libreadline-5.2-1.6 [ 19s] [144/241] keeping libtzplatform-config-devel-5.0-1 [ 19s] [145/241] keeping libtool-2.4.7-1.6 [ 19s] [146/241] cumulate ncurses-devel-6.4-1.7 [ 19s] [147/241] keeping elfutils-0.189-1.6 [ 19s] [148/241] keeping libdlog-9.0.1-1 [ 19s] [149/241] keeping cmake-3.25.2-1.5 [ 19s] [150/241] keeping capi-system-resource-1.0.0-0 [ 19s] [151/241] cumulate readline-devel-5.2-1.6 [ 19s] [152/241] keeping libdlog-devel-9.0.1-1 [ 19s] [153/241] cumulate libxml2-tools-2.12.5-1.6 [ 19s] [154/241] keeping parcel-0.17.3-0 [ 19s] [155/241] keeping libcynara-commons-0.19.5-1 [ 19s] [156/241] keeping capi-system-info-0.5.2-1 [ 19s] [157/241] keeping python3-base-3.12.0-1.6 [ 19s] [158/241] keeping util-linux-2.39.3-1.6 [ 19s] [159/241] cumulate systemd-244-0 [ 19s] [160/241] keeping python3-3.12.0-1.1 [ 19s] [161/241] cumulate capi-system-resource-devel-1.0.0-0 [ 19s] [162/241] keeping parcel-devel-0.17.3-0 [ 19s] [163/241] cumulate pkgmgr-0.20.21-0 [ 20s] [164/241] cumulate systemd-devel-244-0 [ 20s] [165/241] keeping util-linux-su-2.39.3-1.6 [ 20s] [166/241] keeping libcynara-creds-commons-0.19.5-1 [ 20s] [167/241] keeping libcynara-session-0.19.5-1 [ 20s] [168/241] keeping libcynara-client-0.19.5-1 [ 20s] [169/241] keeping python3-setuptools-69.0.2-1.1 [ 20s] [170/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 20s] [171/241] keeping libcynara-creds-socket-0.19.5-1 [ 20s] [172/241] cumulate dbus-1.12.20-3 [ 20s] [173/241] keeping libxcrypt-devel-4.4.36-1.6 [ 20s] [174/241] keeping nss-3.98-1.7 [ 20s] [175/241] cumulate rust-devel-1.74.0-1 [ 20s] [176/241] keeping libgio-2.80.5-0 [ 20s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 20s] [178/241] keeping libjson-glib-1.8.0-0 [ 20s] [179/241] keeping glibc-devel-2.39-1.6 [ 20s] [180/241] keeping libsoftokn3-3.98-1.7 [ 20s] [181/241] cumulate rust-1.74.0-1 [ 20s] [182/241] keeping glib2-tools-2.80.5-0 [ 20s] [183/241] cumulate libgum-1.0.8-0 [ 20s] [184/241] keeping libsyscommon-5.0.0-0 [ 20s] [185/241] keeping buxton2-1.8.10-0 [ 20s] [186/241] keeping rpm-4.14.1.1-1.6 [ 20s] [187/241] cumulate rust-anstyle-0.3.5-1 [ 20s] [188/241] cumulate rust-cfg-if-1.0.0-1 [ 20s] [189/241] cumulate rust-downcast-0.11.0-1 [ 20s] [190/241] cumulate rust-either-1.8.1-1 [ 20s] [191/241] cumulate rust-libc-0.2.139-1 [ 20s] [192/241] cumulate rust-libm-0.2.6-1 [ 20s] [193/241] cumulate rust-minizip-sys-0.1.2-1 [ 20s] [194/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 20s] [195/241] cumulate rust-scopeguard-1.1.0-1 [ 20s] [196/241] cumulate rust-termtree-0.4.1-1 [ 20s] [197/241] cumulate rust-unicode-ident-1.0.6-1 [ 20s] [198/241] keeping zlib-devel-1.3-1.5 [ 20s] [199/241] cumulate rust-difflib-0.4.0-1 [ 20s] [200/241] cumulate rust-fragile-2.0.0-1 [ 20s] [201/241] cumulate rust-predicates-core-1.0.6-1 [ 20s] [202/241] cumulate rust-regex-syntax-0.6.28-1 [ 20s] [203/241] keeping sqlite-devel-3.44.0-1.4 [ 20s] [204/241] keeping vconf-compat-1.8.10-0 [ 20s] [205/241] keeping bundle-0.17.3-0 [ 20s] [206/241] cumulate gumd-1.0.8-0 [ 20s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 20s] [208/241] keeping bundle-devel-0.17.3-0 [ 20s] [209/241] cumulate rust-lock_api-0.4.9-1 [ 20s] [210/241] cumulate rust-num-traits-0.2.15-1 [ 20s] [211/241] cumulate rust-glib-sys-0.17.10-1 [ 20s] [212/241] cumulate rust-itertools-0.10.5-1 [ 20s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 20s] [214/241] cumulate rust-regex-1.7.1-1 [ 20s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 20s] [216/241] cumulate libxml2-devel-2.12.5-1.6 [ 20s] [217/241] keeping libstorage-1.0.0-0 [ 20s] [218/241] keeping glib2-devel-2.80.5-0 [ 20s] [219/241] keeping pkgmgr-info-0.28.5-1 [ 20s] [220/241] cumulate libgum-devel-1.0.8-0 [ 20s] [221/241] keeping pkgmgr-info-devel-0.28.5-1 [ 20s] [222/241] cumulate rust-float-cmp-0.9.0-1 [ 20s] [223/241] cumulate rust-spin-0.9.5-1 [ 20s] [224/241] keeping vconf-compat-devel-1.8.10-0 [ 20s] [225/241] keeping pkgmgr-info-parser-0.28.5-1 [ 20s] [226/241] cumulate rust-quote-1.0.23-1 [ 20s] [227/241] keeping aul-0.66.0-1 [ 20s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 20s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 20s] [230/241] cumulate rust-syn-1.0.107-1 [ 20s] [231/241] cumulate aul-devel-0.66.0-1 [ 20s] [232/241] cumulate rust-predicates-3.0.4-1 [ 20s] [233/241] cumulate rpc-port-1.19.1-0 [ 20s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 20s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 20s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 20s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 20s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 20s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 20s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 20s] [241/241] cumulate rust-mockall-0.11.4-1 [ 20s] now installing cumulated packages [ 21s] Preparing... ######################################## [ 21s] Updating / installing... [ 23s] rust-std-shared-1.74.0-1 ######################################## [ 24s] pkgmgr-0.20.21-0 ######################################## [ 24s] rust-cfg-if-1.0.0-1 ######################################## [ 24s] rpc-port-1.19.1-0 ######################################## [ 24s] rust-unicode-ident-1.0.6-1 ######################################## [ 25s] rust-proc-macro2-1.0.51-1 ######################################## [ 25s] rust-quote-1.0.23-1 ######################################## [ 27s] rust-syn-1.0.107-1 ######################################## [ 27s] rust-predicates-core-1.0.6-1 ######################################## [ 27s] rust-mockall_derive-0.11.4-1 ######################################## [ 27s] pkgmgr-client-0.20.21-0 ######################################## [ 27s] pkgmgr-installer-0.20.21-0 ######################################## [ 28s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 41s] rust-devel-1.74.0-1 ######################################## [ 41s] rust-anstyle-0.3.5-1 ######################################## [ 41s] rust-downcast-0.11.0-1 ######################################## [ 41s] rust-either-1.8.1-1 ######################################## [ 42s] rust-itertools-0.10.5-1 ######################################## [ 43s] rust-libc-0.2.139-1 ######################################## [ 43s] rust-libm-0.2.6-1 ######################################## [ 43s] rust-num-traits-0.2.15-1 ######################################## [ 43s] rust-float-cmp-0.9.0-1 ######################################## [ 44s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 44s] rust-scopeguard-1.1.0-1 ######################################## [ 44s] rust-lock_api-0.4.9-1 ######################################## [ 44s] rust-spin-0.9.5-1 ######################################## [ 45s] rust-lazy_static-1.4.0-1 ######################################## [ 45s] rust-termtree-0.4.1-1 ######################################## [ 45s] rust-predicates-tree-1.0.9-1 ######################################## [ 45s] rust-difflib-0.4.0-1 ######################################## [ 45s] rust-fragile-2.0.0-1 ######################################## [ 46s] rust-regex-syntax-0.6.28-1 ######################################## [ 46s] rust-regex-1.7.1-1 ######################################## [ 47s] rust-predicates-3.0.4-1 ######################################## [ 47s] dbus-1.12.20-3 ######################################## [ 47s] libgum-1.0.8-0 ######################################## [ 47s] gumd-1.0.8-0 ######################################## [ 47s] capi-system-resource-devel-1.0.0-0 ######################################## [ 47s] libxml2-tools-2.12.5-1.6 ######################################## [ 47s] libncurses5-6.4-1.7 ######################################## [ 48s] ncurses-devel-6.4-1.7 ######################################## [ 48s] readline-devel-5.2-1.6 ######################################## [ 48s] gettext-runtime-0.21.1-2.6 ######################################## [ 48s] acl-2.3.2-1.4 ######################################## [ 48s] libkmod-31-1.1 ######################################## [ 49s] systemd-244-0 ######################################## [ 49s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 49s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 49s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 49s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 49s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 49s] xz-devel-5.4.5-1.7 ######################################## [ 49s] libxml2-devel-2.12.5-1.6 ######################################## [ 49s] xdgmime-devel-0.0.17-1.1 ######################################## [ 54s] rust-std-static-1.74.0-1 ######################################## [ 57s] rust-1.74.0-1 ######################################## [ 57s] aul-devel-0.66.0-1 ######################################## [ 57s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 57s] systemd-devel-244-0 ######################################## [ 57s] gettext-tools-0.21.1-2.6 ######################################## [ 58s] libgum-devel-1.0.8-0 ######################################## [ 58s] rust-mockall-0.11.4-1 ######################################## [ 58s] rust-glib-sys-0.17.10-1 ######################################## [ 58s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 58s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 58s] rust-mockall_double-0.3.0-1 ######################################## [ 58s] rpc-port-devel-1.19.1-0 ######################################## [ 58s] rust-minizip-sys-0.1.2-1 ######################################## [ 58s] minizip-devel-1.3-1.5 ######################################## [ 58s] unzip-610c25-1.1 ######################################## [ 59s] tidl-2.3.4-1 ######################################## [ 59s] fdupes-2.2.1-1.5 ######################################## [ 59s] Running pkgmgr %posttrans script [ 59s] /var/tmp/rpm-tmp.lkzxR9: line 5: pkg_initdb: command not found [ 59s] /var/tmp/rpm-tmp.lkzxR9: line 6: install_preload_pkg: command not found [ 59s] /var/tmp/rpm-tmp.lkzxR9: line 13: pkgcmd: command not found [ 59s] /var/tmp/rpm-tmp.lkzxR9: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 60s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.20/etc/nsswitch.conf... [ 60s] now finalizing build dir... [ 61s] ----------------------------------------------------------------- [ 61s] ----- building pkgmgr-server.spec (user abuild) [ 61s] ----------------------------------------------------------------- [ 61s] ----------------------------------------------------------------- [ 61s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 61s] Building target platforms: x86_64 [ 61s] Building for target x86_64 [ 61s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QOkhip [ 61s] + umask 022 [ 61s] + cd /home/abuild/rpmbuild/BUILD [ 61s] + cd /home/abuild/rpmbuild/BUILD [ 61s] + rm -rf pkgmgr-server-1.0.15 [ 61s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 61s] + /bin/tar -xof - [ 61s] + STATUS=0 [ 61s] + '[' 0 -ne 0 ']' [ 61s] + cd pkgmgr-server-1.0.15 [ 61s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 61s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 61s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 61s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 61s] + exit 0 [ 61s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ecJmR7 [ 61s] + umask 022 [ 61s] + cd /home/abuild/rpmbuild/BUILD [ 61s] + cd pkgmgr-server-1.0.15 [ 61s] + ref=/usr/lib/rpm [ 61s] + mints=0 [ 61s] + case $(uname -m) in [ 61s] ++ uname -m [ 61s] + for s in guess sub [ 61s] ++ find -maxdepth 8 -name config.guess [ 61s] + for s in guess sub [ 61s] ++ find -maxdepth 8 -name config.sub [ 61s] + LANG=C [ 61s] + export LANG [ 61s] + unset DISPLAY [ 61s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 61s] + export CFLAGS [ 61s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 61s] + export CXXFLAGS [ 61s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 61s] + export FFLAGS [ 61s] + LDFLAGS= [ 61s] + export LDFLAGS [ 61s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 61s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 61s] ++ echo 1.0.15 [ 61s] ++ awk 'BEGIN {FS="."}{print $1}' [ 61s] + MAJORVER=1 [ 61s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + export CFLAGS [ 61s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 61s] + export CXXFLAGS [ 61s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 61s] + export FFLAGS [ 61s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 61s] -- The C compiler identification is GNU 14.2.0 [ 61s] -- The CXX compiler identification is GNU 14.2.0 [ 61s] -- Detecting C compiler ABI info [ 61s] -- Detecting C compiler ABI info - done [ 61s] -- Check for working C compiler: /bin/cc - skipped [ 61s] -- Detecting C compile features [ 61s] -- Detecting C compile features - done [ 61s] -- Detecting CXX compiler ABI info [ 62s] -- Detecting CXX compiler ABI info - done [ 62s] -- Check for working CXX compiler: /bin/c++ - skipped [ 62s] -- Detecting CXX compile features [ 62s] -- Detecting CXX compile features - done [ 62s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 62s] -- Checking for module 'rpc-port' [ 62s] -- Found rpc-port, version [ 62s] -- Checking for module 'dlog' [ 62s] -- Found dlog, version 1.0 [ 62s] -- Checking for module 'gio-2.0' [ 62s] -- Found gio-2.0, version 2.80.5 [ 62s] -- Checking for module 'glib-2.0' [ 62s] -- Found glib-2.0, version 2.80.5 [ 62s] -- Checking for module 'capi-base-common' [ 62s] -- Found capi-base-common, version 0.4.82 [ 62s] -- Checking for module 'pkgmgr' [ 62s] -- Found pkgmgr, version 0.20.21 [ 63s] -- Checking for module 'libtzplatform-config' [ 63s] -- Found libtzplatform-config, version 2.0 [ 63s] -- Configuring done [ 63s] -- Generating done [ 63s] CMake Warning: [ 63s] Manually-specified variables were not used by the project: [ 63s] [ 63s] FULLVER [ 63s] INCLUDE_INSTALL_DIR [ 63s] LIB_SUFFIX [ 63s] MAJORVER [ 63s] SHARE_INSTALL_PREFIX [ 63s] SYSCONF_INSTALL_DIR [ 63s] [ 63s] [ 63s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 63s] + make -j8 [ 63s] /usr/bin/cmake -S/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 -B/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 --check-build-system CMakeFiles/Makefile.cmake 0 [ 63s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15//CMakeFiles/progress.marks [ 63s] make -f CMakeFiles/Makefile2 all [ 63s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 63s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/DependInfo.cmake --color= [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/DependInfo.cmake --color= [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 63s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/util_pkgmgr_server.dir/link.txt --verbose=1 [ 63s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] [ 75%] Built target util_pkgmgr_server [ 65s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 65s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/tidl_pkgmgr_server.dir/link.txt --verbose=1 [ 65s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 65s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 65s] [100%] Built target tidl_pkgmgr_server [ 65s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 65s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 65s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 65s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 65s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 65s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 65s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 65s] warning: unused import: `boxed` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 65s] | [ 65s] 4 | use std::{boxed, str}; [ 65s] | ^^^^^ [ 65s] | [ 65s] = note: `#[warn(unused_imports)]` on by default [ 65s] [ 65s] warning: unused import: `std::mem` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 65s] | [ 65s] 6 | use std::mem; [ 65s] | ^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::ptr` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 65s] | [ 65s] 7 | use std::ptr; [ 65s] | ^^^^^^^^ [ 65s] [ 65s] warning: unused import: `malloc` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 65s] | [ 65s] 8 | use libc::{free, malloc, strlen}; [ 65s] | ^^^^^^ [ 65s] [ 65s] warning: unused import: `super::Server` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 65s] | [ 65s] 10 | use super::Server; [ 65s] | ^^^^^^^^^^^^^ [ 65s] [ 65s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 65s] | [ 65s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 65s] | [ 65s] = note: `#[warn(non_camel_case_types)]` on by default [ 65s] [ 65s] warning: unused imports: `pid_t`, `uid_t` [ 65s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 65s] | [ 65s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ ^^^^^ [ 65s] [ 65s] warning: unused imports: `c_int`, `c_void` [ 65s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 65s] | [ 65s] 4 | use std::ffi::{c_int, c_void}; [ 65s] | ^^^^^ ^^^^^^ [ 65s] [ 65s] warning: unused import: `std::path::Path` [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 65s] | [ 65s] 10 | use std::path::Path; [ 65s] | ^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: denote infinite loops with `loop { ... }` [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 65s] | [ 65s] 50 | while true { [ 65s] | ^^^^^^^^^^ help: use `loop` [ 65s] | [ 65s] = note: `#[warn(while_true)]` on by default [ 65s] [ 65s] warning: unnecessary parentheses around `if` condition [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 65s] | [ 65s] 73 | if (mut_queue.is_queue_empty()) { [ 65s] | ^ ^ [ 65s] | [ 65s] = note: `#[warn(unused_parens)]` on by default [ 65s] help: remove these parentheses [ 65s] | [ 65s] 73 - if (mut_queue.is_queue_empty()) { [ 65s] 73 + if mut_queue.is_queue_empty() { [ 65s] | [ 65s] [ 65s] warning: unnecessary trailing semicolon [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 65s] | [ 65s] 297 | ; [ 65s] | ^ help: remove this semicolon [ 65s] | [ 65s] = note: `#[warn(redundant_semicolons)]` on by default [ 65s] [ 65s] warning: unused import: `super::Server` [ 65s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 65s] | [ 65s] 1 | use super::Server; [ 65s] | ^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::Server` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 65s] | [ 65s] 1 | use super::Server; [ 65s] | ^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::backend_context::*` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 65s] | [ 65s] 4 | use super::backend_context::*; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::request_result::*` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 65s] | [ 65s] 5 | use super::request_result::*; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::request_type::*` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 65s] | [ 65s] 6 | use super::request_type::*; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::util::*` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 65s] | [ 65s] 7 | use super::util::*; [ 65s] | ^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused imports: `pid_t`, `uid_t` [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 65s] | [ 65s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ ^^^^^ [ 65s] [ 65s] warning: unused import: `std::io::Error` [ 65s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 65s] | [ 65s] 3 | use std::io::Error; [ 65s] | ^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::mem` [ 65s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 65s] | [ 65s] 6 | use std::mem; [ 65s] | ^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::ptr` [ 65s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 65s] | [ 65s] 7 | use std::ptr; [ 65s] | ^^^^^^^^ [ 65s] [ 65s] warning: unused imports: `free`, `malloc`, `strlen` [ 65s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 65s] | [ 65s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 65s] | ^^^^ ^^^^^^ ^^^^^^ [ 65s] [ 65s] warning: unused import: `super::Server` [ 65s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 65s] | [ 65s] 10 | use super::Server; [ 65s] | ^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::service::Service` [ 65s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 65s] | [ 65s] 13 | use super::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unnecessary trailing semicolon [ 65s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 65s] | [ 65s] 49 | ; [ 65s] | ^ help: remove this semicolon [ 65s] [ 65s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 65s] | [ 65s] 7 | GETSIZE_SYNC(String, i32, i32), [ 65s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 65s] [ 65s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 65s] | [ 65s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 65s] [ 65s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 65s] | [ 65s] 3 | MOUNT_INSTALL, [ 65s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 65s] [ 65s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 65s] | [ 65s] 7 | ENABLE_PKG, [ 65s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 65s] [ 65s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 65s] | [ 65s] 8 | DISABLE_PKG, [ 65s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 65s] [ 65s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 65s] | [ 65s] 9 | REGISTER_PKG_UPDATE_INFO, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 65s] [ 65s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 65s] | [ 65s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 65s] [ 65s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 65s] | [ 65s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 65s] [ 65s] warning: variant `ENABLE_APP` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 65s] | [ 65s] 12 | ENABLE_APP, [ 65s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 65s] [ 65s] warning: variant `DISABLE_APP` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 65s] | [ 65s] 13 | DISABLE_APP, [ 65s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 65s] [ 65s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 65s] | [ 65s] 15 | GETSIZE_SYNC, [ 65s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 65s] [ 65s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 65s] | [ 65s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 65s] [ 65s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 65s] | [ 65s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 65s] [ 65s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 65s] | [ 65s] 22 | GENERATE_LICENSE_REQUEST, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 65s] [ 65s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 65s] | [ 65s] 23 | REGISTER_LICENSE, [ 65s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 65s] [ 65s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 65s] | [ 65s] 24 | DECRYPT_PACKAGE, [ 65s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 65s] [ 65s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 65s] | [ 65s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 65s] [ 65s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 65s] | [ 65s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 65s] [ 65s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 65s] | [ 65s] 27 | SET_APP_LABEL, [ 65s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 65s] [ 65s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 65s] | [ 65s] 28 | SET_APP_ICON, [ 65s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 65s] [ 65s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 65s] | [ 65s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 65s] [ 65s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 65s] | [ 65s] 30 | RESOURCE_SHARE_COPY, [ 65s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 65s] [ 65s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 65s] | [ 65s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 65s] [ 65s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 65s] | [ 65s] 32 | RESOURCE_SHARE_REMOVE, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 65s] [ 65s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 65s] | [ 65s] 33 | RESOURCE_SHARE_UNINSTALL, [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 65s] [ 65s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 65s] | [ 65s] 34 | REMOVE_FILE, [ 65s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 65s] [ 65s] warning: unused import: `CStr` [ 65s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 65s] | [ 65s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 65s] | ^^^^ [ 65s] [ 65s] warning: unused import: `pid_t` [ 65s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 65s] | [ 65s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 65s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 65s] | [ 65s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 65s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 65s] [ 65s] warning: unused import: `pid_t` [ 65s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: unused import: `std::cell::RefCell` [ 65s] --> ./src/pkgmgr/server/util.rs:1:5 [ 65s] | [ 65s] 1 | use std::cell::RefCell; [ 65s] | ^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::rc::Rc` [ 65s] --> ./src/pkgmgr/server/util.rs:8:5 [ 65s] | [ 65s] 8 | use std::rc::Rc; [ 65s] | ^^^^^^^^^^^ [ 65s] [ 65s] warning: type `xmlChar` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/util.rs:34:6 [ 65s] | [ 65s] 34 | type xmlChar = c_uchar; [ 65s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 65s] [ 65s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 65s] --> ./src/pkgmgr/server/util.rs:35:6 [ 65s] | [ 65s] 35 | type xmlTextReaderPtr = *mut c_void; [ 65s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 65s] [ 65s] warning: unused imports: `CStr`, `CString` [ 65s] --> ./src/pkgmgr/server/util.rs:39:43 [ 65s] | [ 65s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 65s] | ^^^^ ^^^^^^^ [ 65s] [ 65s] warning: unused import: `pid_t` [ 65s] --> ./src/pkgmgr/server/util.rs:40:37 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: unnecessary parentheses around `if` condition [ 65s] --> ./src/pkgmgr/server/util.rs:474:24 [ 65s] | [ 65s] 474 | if (cur == depth + 1) { [ 65s] | ^ ^ [ 65s] | [ 65s] help: remove these parentheses [ 65s] | [ 65s] 474 - if (cur == depth + 1) { [ 65s] 474 + if cur == depth + 1 { [ 65s] | [ 65s] [ 65s] warning: unnecessary parentheses around `if` condition [ 65s] --> ./src/pkgmgr/server/util.rs:571:12 [ 65s] | [ 65s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 65s] | ^ ^ [ 65s] | [ 65s] help: remove these parentheses [ 65s] | [ 65s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 65s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 65s] | [ 65s] [ 65s] warning: unused import: `super::super::super::server::signal::*` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 65s] | [ 65s] 1 | use super::super::super::server::signal::*; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::ffi::CString` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 65s] | [ 65s] 2 | use std::ffi::CString; [ 65s] | ^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::ffi::CStr` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 65s] | [ 65s] 3 | use std::ffi::CStr; [ 65s] | ^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::ffi::c_char` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 65s] | [ 65s] 4 | use std::ffi::c_char; [ 65s] | ^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::mem` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 65s] | [ 65s] 5 | use std::mem; [ 65s] | ^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `mockall::predicate::*` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 65s] | [ 65s] 6 | use mockall::predicate::*; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `mockall::*` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 65s] | [ 65s] 7 | use mockall::*; [ 65s] | ^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused imports: `pid_t`, `uid_t` [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 65s] | [ 65s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ ^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 65s] | [ 65s] 3 | pub mod signal_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 65s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 65s] | [ 65s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 65s] | [ 65s] 4 | pub mod admin_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 65s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 65s] | [ 65s] 2 | use super::super::super::server::admin_service::AdminService; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 65s] | [ 65s] 4 | pub mod admin_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::service::Service` [ 65s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 65s] | [ 65s] 3 | use super::super::super::server::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 65s] | [ 65s] 4 | pub mod admin_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 65s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 65s] | [ 65s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 65s] | [ 65s] 5 | pub mod cache_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 65s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 65s] | [ 65s] 2 | use super::super::super::server::cache_service::CacheService; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 65s] | [ 65s] 5 | pub mod cache_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::service::Service` [ 65s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 65s] | [ 65s] 3 | use super::super::super::server::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 65s] | [ 65s] 5 | pub mod cache_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 65s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 65s] | [ 65s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 65s] | [ 65s] 6 | pub mod delayed_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 65s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 65s] | [ 65s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 65s] | [ 65s] 6 | pub mod delayed_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::service::Service` [ 65s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 65s] | [ 65s] 3 | use super::super::super::server::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 65s] | [ 65s] 6 | pub mod delayed_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 65s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 65s] | [ 65s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 65s] | [ 65s] 7 | pub mod info_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 65s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 65s] | [ 65s] 2 | use super::super::super::server::info_service::InfoService; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 65s] | [ 65s] 7 | pub mod info_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `super::super::super::server::service::Service` [ 65s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 65s] | [ 65s] 3 | use super::super::super::server::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] | [ 65s] help: consider adding a `#[cfg(test)]` to the containing module [ 65s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 65s] | [ 65s] 7 | pub mod info_service_tests; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::cell::RefCell` [ 65s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 65s] | [ 65s] 22 | use std::cell::RefCell; [ 65s] | ^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::rc::Rc` [ 65s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 65s] | [ 65s] 26 | use std::rc::Rc; [ 65s] | ^^^^^^^^^^^ [ 65s] [ 65s] warning: unused import: `std::process::Command` [ 65s] --> ./src/main.rs:9:5 [ 65s] | [ 65s] 9 | use std::process::Command; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 65s] | [ 65s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] | [ 65s] = note: `#[warn(deprecated)]` on by default [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 65s] | [ 65s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 65s] | [ 65s] 20 | const GLOBAL_USER: uid_t = 201; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 65s] | [ 65s] 322 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 65s] | [ 65s] 443 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 65s] | [ 65s] 548 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 65s] | [ 65s] 595 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 65s] | [ 65s] 718 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 65s] | [ 65s] 801 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 65s] | [ 65s] 853 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 65s] | [ 65s] 937 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 65s] | [ 65s] 990 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 65s] | [ 65s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 65s] | [ 65s] 1072 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 65s] | [ 65s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 65s] | [ 65s] 1151 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 65s] | [ 65s] 1152 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 65s] | [ 65s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 65s] | [ 65s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 65s] | [ 65s] 1215 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 65s] | [ 65s] 1216 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 65s] | [ 65s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 65s] | [ 65s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 65s] | [ 65s] 1270 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 65s] | [ 65s] 1271 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 65s] | [ 65s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 65s] | [ 65s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 65s] | [ 65s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 65s] | [ 65s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 65s] | [ 65s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 65s] | [ 65s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 65s] | [ 65s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 65s] | [ 65s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 65s] | [ 65s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 65s] | [ 65s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 65s] | [ 65s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 65s] | [ 65s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 65s] | [ 65s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 65s] | [ 65s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 65s] | [ 65s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 65s] | [ 65s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 65s] | [ 65s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 65s] | [ 65s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 65s] | [ 65s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 65s] | [ 65s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 65s] | [ 65s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 65s] | [ 65s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 65s] | [ 65s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 65s] | [ 65s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 65s] | [ 65s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 65s] | [ 65s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 65s] | [ 65s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 65s] | [ 65s] 1535 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 65s] | [ 65s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 65s] | [ 65s] 1588 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 65s] | [ 65s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 65s] | [ 65s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 65s] | [ 65s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 65s] | [ 65s] 1765 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 65s] | [ 65s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 65s] | [ 65s] 1818 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 65s] | [ 65s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 65s] | [ 65s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 65s] | [ 65s] 1873 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 65s] | [ 65s] 1874 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 65s] | [ 65s] 1985 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 65s] | [ 65s] 1986 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 65s] | [ 65s] 2035 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 65s] | [ 65s] 2036 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 65s] | [ 65s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 65s] | [ 65s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 65s] | [ 65s] 2105 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 65s] | [ 65s] 2106 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 65s] | [ 65s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 65s] | [ 65s] 2155 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 65s] | [ 65s] 2156 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 65s] | [ 65s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 65s] | [ 65s] 2312 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 65s] | [ 65s] 2313 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 65s] | [ 65s] 2383 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 65s] | [ 65s] 2384 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 65s] | [ 65s] 2453 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 65s] | [ 65s] 2454 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 65s] | [ 65s] 2532 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 65s] | [ 65s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 65s] | [ 65s] 2681 | pid: *mut pid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 65s] | [ 65s] 2682 | uid: *mut uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 65s] | [ 65s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 65s] | [ 65s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 65s] | [ 65s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 65s] | [ 65s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 65s] | [ 65s] 23 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 65s] | [ 65s] 48 | target_uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 65s] | [ 65s] 53 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 65s] | [ 65s] 106 | pid: *mut pid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 65s] | [ 65s] 107 | uid: *mut uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 65s] | [ 65s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 65s] | [ 65s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 65s] | [ 65s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 65s] | [ 65s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 65s] | [ 65s] 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... [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 65s] | [ 65s] 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... [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 65s] | [ 65s] 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... [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 65s] | [ 65s] 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... [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 65s] | [ 65s] 54 | target_uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 65s] | [ 65s] 60 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 65s] | [ 65s] 61 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 65s] | [ 65s] 114 | target_uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 65s] | [ 65s] 120 | let mut caller_pid: pid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 65s] | [ 65s] 121 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 65s] | [ 65s] 223 | target_uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 65s] | [ 65s] 225 | pid: *mut pid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 65s] | [ 65s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 65s] | [ 65s] 242 | pid: *mut pid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 65s] | [ 65s] 243 | uid: *mut uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 65s] | [ 65s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 65s] | [ 65s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 65s] | [ 65s] 99 | const GLOBAL_USER: uid_t = 201; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 65s] | [ 65s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 65s] | [ 65s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 65s] | [ 65s] 102 | let mut uid_vec: Vec = vec![]; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 65s] | [ 65s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 65s] | [ 65s] 124 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 65s] | [ 65s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 65s] | [ 65s] 62 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 65s] | [ 65s] 86 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 65s] | [ 65s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:4:26 [ 65s] | [ 65s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:4:33 [ 65s] | [ 65s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:22:21 [ 65s] | [ 65s] 22 | const REGULAR_USER: uid_t = 5000; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:23:20 [ 65s] | [ 65s] 23 | const GLOBAL_USER: uid_t = 201; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:25:18 [ 65s] | [ 65s] 25 | const APPFW_UID: uid_t = 301; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:307:36 [ 65s] | [ 65s] 307 | let uid : uid_t = user_data as uid_t; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:307:15 [ 65s] | [ 65s] 307 | let uid : uid_t = user_data as uid_t; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:326:81 [ 65s] | [ 65s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:326:93 [ 65s] | [ 65s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:326:25 [ 65s] | [ 65s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:326:37 [ 65s] | [ 65s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:389:57 [ 65s] | [ 65s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:420:55 [ 65s] | [ 65s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:686:62 [ 65s] | [ 65s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:696:63 [ 65s] | [ 65s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:706:44 [ 65s] | [ 65s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:706:63 [ 65s] | [ 65s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:728:49 [ 65s] | [ 65s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:738:50 [ 65s] | [ 65s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:747:55 [ 65s] | [ 65s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:757:56 [ 65s] | [ 65s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:766:61 [ 65s] | [ 65s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:775:62 [ 65s] | [ 65s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:784:67 [ 65s] | [ 65s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:793:68 [ 65s] | [ 65s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:802:54 [ 65s] | [ 65s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:802:64 [ 65s] | [ 65s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:813:47 [ 65s] | [ 65s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:835:53 [ 65s] | [ 65s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:855:25 [ 65s] | [ 65s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:983:69 [ 65s] | [ 65s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 65s] | [ 65s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 65s] | [ 65s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 65s] | [ 65s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 65s] | [ 65s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 65s] | [ 65s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 65s] | [ 65s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 65s] | [ 65s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 65s] | [ 65s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:156:14 [ 65s] | [ 65s] 156 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:166:14 [ 65s] | [ 65s] 166 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:180:14 [ 65s] | [ 65s] 180 | uid: uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:185:14 [ 65s] | [ 65s] 185 | uid: uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:189:14 [ 65s] | [ 65s] 189 | uid: uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:194:14 [ 65s] | [ 65s] 194 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:200:14 [ 65s] | [ 65s] 200 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:206:14 [ 65s] | [ 65s] 206 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:212:14 [ 65s] | [ 65s] 212 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:218:14 [ 65s] | [ 65s] 218 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:224:14 [ 65s] | [ 65s] 224 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:237:32 [ 65s] | [ 65s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:266:21 [ 65s] | [ 65s] 266 | caller_uid: uid_t [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:274:14 [ 65s] | [ 65s] 274 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:40:30 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:40:37 [ 65s] | [ 65s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:46:18 [ 65s] | [ 65s] 46 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:52:18 [ 65s] | [ 65s] 52 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:67:18 [ 65s] | [ 65s] 67 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:101:18 [ 65s] | [ 65s] 101 | uid: uid_t, [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:122:70 [ 65s] | [ 65s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:123:66 [ 65s] | [ 65s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:124:59 [ 65s] | [ 65s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/util.rs:125:97 [ 65s] | [ 65s] 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; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 65s] | [ 65s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 65s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 65s] | [ 65s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 65s] | ^^^^^ [ 65s] [ 65s] warning: unreachable expression [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 65s] | [ 65s] 61 | return G_SOURCE_CONTINUE; [ 65s] | ------------------------ any code following this expression is unreachable [ 65s] ... [ 65s] 64 | 1 [ 65s] | ^ unreachable expression [ 65s] | [ 65s] = note: `#[warn(unreachable_code)]` on by default [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 65s] | [ 65s] 297 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] | [ 65s] = note: `#[warn(unused_variables)]` on by default [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 65s] | [ 65s] 306 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 65s] | [ 65s] 307 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 65s] | [ 65s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 65s] | [ 65s] 318 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 65s] | [ 65s] 415 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] | [ 65s] = note: `#[warn(unused_mut)]` on by default [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 65s] | [ 65s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 65s] | [ 65s] 434 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 65s] | [ 65s] 510 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 65s] | [ 65s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 65s] | [ 65s] 571 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 65s] | [ 65s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 65s] | [ 65s] 591 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 65s] | [ 65s] 688 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 65s] | [ 65s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 65s] | [ 65s] 706 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 65s] | [ 65s] 763 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 65s] | [ 65s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 65s] | [ 65s] 824 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 65s] | [ 65s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 65s] | [ 65s] 898 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 65s] | [ 65s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 65s] | [ 65s] 961 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 65s] | [ 65s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 65s] | [ 65s] 1038 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 65s] | [ 65s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 65s] | [ 65s] 1123 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `pkg_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 65s] | [ 65s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 65s] | [ 65s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 65s] | ----^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 65s] | [ 65s] 1190 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 65s] | [ 65s] 1248 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 65s] | [ 65s] 1297 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `is_global` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 65s] | [ 65s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 65s] [ 65s] warning: unused variable: `is_global` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 65s] | [ 65s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 65s] [ 65s] warning: unused variable: `is_global` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 65s] | [ 65s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 65s] [ 65s] warning: unused variable: `is_global` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 65s] | [ 65s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 65s] [ 65s] warning: unused variable: `caller_uid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 65s] | [ 65s] 1535 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 65s] | [ 65s] 1521 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 65s] | [ 65s] 1535 | let mut caller_uid: uid_t = 0; [ 65s] | ----^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 65s] | [ 65s] 1558 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `caller_uid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 65s] | [ 65s] 1588 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 65s] | [ 65s] 1574 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 65s] | [ 65s] 1588 | let mut caller_uid: uid_t = 0; [ 65s] | ----^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 65s] | [ 65s] 1611 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 65s] | [ 65s] 1627 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 65s] | [ 65s] 1669 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 65s] | [ 65s] 1689 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 65s] | [ 65s] 1731 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `caller_uid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 65s] | [ 65s] 1765 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 65s] | [ 65s] 1751 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 65s] | [ 65s] 1765 | let mut caller_uid: uid_t = 0; [ 65s] | ----^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 65s] | [ 65s] 1788 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `caller_uid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 65s] | [ 65s] 1818 | let mut caller_uid: uid_t = 0; [ 65s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 65s] | [ 65s] 1804 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 65s] | [ 65s] 1818 | let mut caller_uid: uid_t = 0; [ 65s] | ----^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 65s] | [ 65s] 1841 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 65s] | [ 65s] 1857 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `pid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 65s] | [ 65s] 1860 | pid: *mut c_int, [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 65s] | [ 65s] 1861 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 65s] | [ 65s] 1900 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 65s] | [ 65s] 1932 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 65s] | [ 65s] 2012 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 65s] | [ 65s] 2063 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 65s] | [ 65s] 2078 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 65s] | [ 65s] 2081 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 65s] | [ 65s] 2088 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 65s] | [ 65s] 2091 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 65s] | [ 65s] 2133 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 65s] | [ 65s] 2183 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 65s] | [ 65s] 2198 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `uid` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 65s] | [ 65s] 2199 | uid: c_int, [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 65s] [ 65s] warning: unused variable: `pkg_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 65s] | [ 65s] 2200 | pkg_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 65s] | [ 65s] 2201 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 66s] | [ 66s] 2364 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 66s] | [ 66s] 2434 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 66s] | [ 66s] 2504 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 66s] | [ 66s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 66s] | [ 66s] 2552 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 66s] | [ 66s] 2567 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 66s] | [ 66s] 2597 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 66s] | [ 66s] 2612 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 66s] | [ 66s] 2656 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `status` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 66s] | [ 66s] 38 | let mut status: c_int; [ 66s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 66s] [ 66s] warning: unused variable: `io` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 66s] | [ 66s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 66s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 66s] [ 66s] warning: unused variable: `cond` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 66s] | [ 66s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 66s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 66s] | [ 66s] 71 | let mut mut_queue = queue.borrow_mut(); [ 66s] | ----^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 66s] | [ 66s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 66s] | ----^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `req_key` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: unused variable: `s` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 66s] | [ 66s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 66s] | ----^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 66s] | [ 66s] 31 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 66s] | [ 66s] 40 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 66s] | [ 66s] 41 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 66s] | [ 66s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: value assigned to `pkg_type` is never read [ 66s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 66s] | [ 66s] 63 | let mut pkg_type: String = String::new(); [ 66s] | ^^^^^^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] = note: `#[warn(unused_assignments)]` on by default [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 66s] | [ 66s] 83 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 66s] | [ 66s] 32 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 66s] | [ 66s] 41 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 66s] | [ 66s] 42 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 66s] | [ 66s] 48 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 66s] | [ 66s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 66s] | [ 66s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 66s] | [ 66s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 66s] | [ 66s] 98 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 66s] | [ 66s] 160 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 66s] | [ 66s] 195 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 66s] | [ 66s] 222 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 66s] | [ 66s] 226 | user_data: *mut c_void [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 66s] | [ 66s] 144 | let mut c_req_type: c_int; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: value assigned to `size_result` is never read [ 66s] --> ./src/pkgmgr/server/util.rs:351:17 [ 66s] | [ 66s] 351 | let mut size_result: i64 = -1; [ 66s] | ^^^^^^^^^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] [ 66s] warning: unused variable: `cond` [ 66s] --> ./src/pkgmgr/server/util.rs:341:9 [ 66s] | [ 66s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 66s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 66s] [ 66s] warning: value assigned to `ret` is never read [ 66s] --> ./src/pkgmgr/server/util.rs:425:21 [ 66s] | [ 66s] 425 | let mut ret: c_int = 0; [ 66s] | ^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:478:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 66s] | [ 66s] = note: `#[warn(unreachable_patterns)]` on by default [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:483:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:488:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 488 | _ => { [ 66s] | ^ unreachable pattern [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 66s] --> ./src/pkgmgr/server/util.rs:473:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 66s] --> ./src/pkgmgr/server/util.rs:478:17 [ 66s] | [ 66s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 66s] --> ./src/pkgmgr/server/util.rs:483:17 [ 66s] | [ 66s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/util.rs:519:13 [ 66s] | [ 66s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 66s] | ----^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/util.rs:588:13 [ 66s] | [ 66s] 588 | let mut reader = [ 66s] | ----^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `gid` [ 66s] --> ./src/pkgmgr/server/util.rs:891:52 [ 66s] | [ 66s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 66s] | [ 66s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 994 | match CString::new(generated_req_key.clone()) { [ 66s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] = note: `#[warn(unused_unsafe)]` on by default [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 997 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1076 | match CString::new(generated_req_key.clone()) { [ 66s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1106 | debug!("push disable pkg {pkg_id}"); [ 66s] | ----------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 66s] | [ 66s] 1537 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 66s] | [ 66s] 1590 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1642 | match CString::new(generated_req_key.clone()) { [ 66s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1704 | match CString::new(generated_req_key.clone()) { [ 66s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 66s] | [ 66s] 1767 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 66s] | [ 66s] 1820 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 66s] | [ 66s] 2294 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 66s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 66s] | [ 66s] 2793 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 66s] 2795 | debug!("admin service start : {ret}"); [ 66s] | ------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 66s] | [ 66s] 2801 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 66s] 2803 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 66s] | [ 66s] 204 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 210 | error!("sigprocmask failed"); [ 66s] | ---------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 66s] | [ 66s] 204 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 216 | error!("signalfd failed"); [ 66s] | ------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 66s] | [ 66s] 134 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 139 | debug!("cache service start : {ret}"); [ 66s] | ------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 66s] | [ 66s] 145 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 66s] 147 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 66s] | [ 66s] 107 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 112 | debug!("delayed result service start : {ret}"); [ 66s] | ---------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 66s] | [ 66s] 118 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 66s] 120 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 66s] | [ 66s] 165 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 66s] 167 | error!("Failed to mkfifo"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 66s] | [ 66s] 268 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 273 | debug!("info service start : {ret}"); [ 66s] | ------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 66s] | [ 66s] 279 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 66s] 281 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 66s] | ---------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 66s] | --------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 66s] | [ 66s] 309 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 66s] 311 | error!("Failed get appid"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 66s] | [ 66s] 309 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/util.rs:326:46 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 329 | error!("Failed get appid"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 66s] | [ 66s] 342 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 66s] | [ 66s] 342 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 361 | error!("empty result"); [ 66s] | ---------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 66s] | [ 66s] 390 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 66s] | [ 66s] 390 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 406 | error!("Fail to get is readonly"); [ 66s] | --------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 66s] | [ 66s] 422 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 429 | error!("Not found package"); [ 66s] | --------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 66s] | [ 66s] 422 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 445 | debug!("pkgtype - {ret_string}"); [ 66s] | -------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 66s] | [ 66s] 803 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 66s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 66s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 66s] | [ 66s] 836 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 66s] | [ 66s] 836 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 66s] | ------------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 863 | warn!("cannot get user information from gumd, retry"); [ 66s] | ----------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 871 | error!("cannot get user information from gumd, failed"); [ 66s] | ------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 877 | error!("cannot get user type"); [ 66s] | ------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 901 | error!("Failed to get list of supplementary group IDs"); [ 66s] | ------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 66s] | --------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 942 | error!("getpwuid_r fail"); [ 66s] | ------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 949 | error!("Fail to get str, err({:?})", e); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 957 | error!("Fail to get str, err({:?})", e); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 66s] | -------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ----------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ----------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | --------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 66s] | [ 66s] 1109 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 66s] | ---------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 66s] | [ 66s] 1129 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 66s] | -------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 66s] | [ 66s] 1129 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1155 | error!("failed to add io watch"); [ 66s] | -------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: constant `SD_LISTEN_FDS_START` is never used [ 66s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 66s] | [ 66s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 66s] | ^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: `#[warn(dead_code)]` on by default [ 66s] [ 66s] warning: multiple variants are never constructed [ 66s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 66s] | [ 66s] 42 | enum AUL_RETURN_VALUE { [ 66s] | ---------------- variants in this enum [ 66s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 66s] | ^^^^^^^^^^^^ [ 66s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 66s] | ^^^^^^^^^^^^ [ 66s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 66s] | ^^^^^^^^^^^^^^^ [ 66s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 66s] | ^^^^^^^^^^^^ [ 66s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 66s] | ^^^^^^^^^^^^^^^^^^^^^ [ 66s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 66s] | ^^^^^^^^^^^^^^^^^^ [ 66s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 66s] | ^^^^^^^^^^^^^^^^^^ [ 66s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 66s] | ^^^^^^^^^^^^^ [ 66s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 66s] | ^^^^^^^^^^^ [ 66s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 66s] | ^^^^^^^^^^^^^^ [ 66s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 66s] | ^^^^^^^^^^^^^^^ [ 66s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 66s] | ^^^^^^^^^^^^ [ 66s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 66s] | ^^^^^^^^^^^ [ 66s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 66s] | ^^^^^^^^^^^^^ [ 66s] 57 | AUL_R_ERROR = -1, //< General error [ 66s] | ^^^^^^^^^^^ [ 66s] [ 66s] warning: field `timer` is never read [ 66s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 66s] | [ 66s] 61 | pub struct Server { [ 66s] | ------ field in this struct [ 66s] 62 | mainloop: *mut GMainLoop, [ 66s] 63 | timer: c_uint [ 66s] | ^^^^^ [ 66s] [ 66s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 66s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 66s] | [ 66s] 27 | enum RPC_PORT_ERROR { [ 66s] | -------------- variants in this enum [ 66s] 28 | NONE = 0, //< Successful [ 66s] 29 | IO_ERROR = -5, //< Internal I/O error [ 66s] | ^^^^^^^^ [ 66s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 66s] | ^^^^^^^^^^^^^ [ 66s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 66s] | ^^^^^^^^^^^^^^^^^ [ 66s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 66s] | ^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: method `generate_request_id` is never used [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 66s] | [ 66s] 2713 | impl AdminService { [ 66s] | ----------------- method in this implementation [ 66s] ... [ 66s] 2786 | fn generate_request_id(&self) -> String { [ 66s] | ^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: field `request_type` is never read [ 66s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 66s] | [ 66s] 6 | pub struct BackendContext { [ 66s] | -------------- field in this struct [ 66s] 7 | request_type: RequestType, [ 66s] | ^^^^^^^^^^^^ [ 66s] [ 66s] warning: type alias `GIOChannel` is never used [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 66s] | [ 66s] 14 | type GIOChannel = *mut c_void; [ 66s] | ^^^^^^^^^^ [ 66s] [ 66s] warning: type alias `GIOCondition` is never used [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 66s] | [ 66s] 15 | type GIOCondition = c_int; [ 66s] | ^^^^^^^^^^^^ [ 66s] [ 66s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 66s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 66s] | [ 66s] 20 | enum PKGMGR_RETURN_VALUE { [ 66s] | ------------------- variants in this enum [ 66s] 21 | ESYSTEM = -9, // Severe system error [ 66s] 22 | EIO = -8, // IO error [ 66s] | ^^^ [ 66s] 23 | ENOMEM = -7, // Out of memory [ 66s] 24 | ENOPKG = -6, // No such package [ 66s] | ^^^^^^ [ 66s] 25 | EPRIV = -5, // Privilege denied [ 66s] | ^^^^^ [ 66s] 26 | ETIMEOUT = -4, // Timeout [ 66s] | ^^^^^^^^ [ 66s] 27 | EINVAL = -3, // Invalid argument [ 66s] | ^^^^^^ [ 66s] 28 | ECOMM = -2, // Comunication Error [ 66s] | ^^^^^ [ 66s] [ 66s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 66s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 66s] | [ 66s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 66s] | ------------------- variants in this enum [ 66s] ... [ 66s] 8 | EPRIV = -5, // Privilege denied [ 66s] | ^^^^^ [ 66s] 9 | ETIMEOUT = -4, // Timeout [ 66s] | ^^^^^^^^ [ 66s] [ 66s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 66s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 66s] | [ 66s] 1 | pub enum RequestType { [ 66s] | ----------- variants in this enum [ 66s] ... [ 66s] 20 | KILL, [ 66s] | ^^^^ [ 66s] 21 | CHECK, [ 66s] | ^^^^^ [ 66s] ... [ 66s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] ... [ 66s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: multiple variants are never constructed [ 66s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 66s] | [ 66s] 9 | enum PKGMGR_REQ { [ 66s] | ---------- variants in this enum [ 66s] 10 | PERM = -1, [ 66s] | ^^^^ [ 66s] 11 | INVALID = 0, [ 66s] | ^^^^^^^ [ 66s] 12 | INSTALL = 1, [ 66s] | ^^^^^^^ [ 66s] 13 | UNINSTALL = 2, [ 66s] | ^^^^^^^^^ [ 66s] 14 | CLEAR = 3, [ 66s] | ^^^^^ [ 66s] 15 | MOVE = 4, [ 66s] | ^^^^ [ 66s] 16 | RECOVER = 5, [ 66s] | ^^^^^^^ [ 66s] 17 | REINSTALL = 6, [ 66s] | ^^^^^^^^^ [ 66s] 18 | GETSIZE = 7, [ 66s] | ^^^^^^^ [ 66s] 19 | UPGRADE = 8, [ 66s] | ^^^^^^^ [ 66s] 20 | SMACK = 9, [ 66s] | ^^^^^ [ 66s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] ... [ 66s] 26 | MOUNT_INSTALL = 15, [ 66s] | ^^^^^^^^^^^^^ [ 66s] 27 | DISABLE_PKG = 16, [ 66s] | ^^^^^^^^^^^ [ 66s] 28 | ENABLE_PKG = 17, [ 66s] | ^^^^^^^^^^ [ 66s] 29 | MIGRATE_EXTIMG = 18, [ 66s] | ^^^^^^^^^^^^^^ [ 66s] 30 | RECOVER_DB = 19, [ 66s] | ^^^^^^^^^^ [ 66s] 31 | RES_COPY = 20, [ 66s] | ^^^^^^^^ [ 66s] 32 | RES_CREATE_DIR = 21, [ 66s] | ^^^^^^^^^^^^^^ [ 66s] 33 | RES_REMOVE = 22, [ 66s] | ^^^^^^^^^^ [ 66s] 34 | RES_UNINSTALL = 23 [ 66s] | ^^^^^^^^^^^^^ [ 66s] [ 66s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 66s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 66s] | [ 66s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 66s] | ^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: function `tzplatform_getuid` is never used [ 66s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 66s] | [ 66s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 66s] | ^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 66s] --> ./src/pkgmgr/server/util.rs:29:7 [ 66s] | [ 66s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 66s] --> ./src/pkgmgr/server/util.rs:30:7 [ 66s] | [ 66s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 66s] | ^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 66s] --> ./src/pkgmgr/server/util.rs:31:7 [ 66s] | [ 66s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: type alias `GIOChannel` is never used [ 66s] --> ./src/pkgmgr/server/util.rs:33:6 [ 66s] | [ 66s] 33 | type GIOChannel = *mut c_void; [ 66s] | ^^^^^^^^^^ [ 66s] [ 66s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 66s] --> ./src/pkgmgr/server/util.rs:136:5 [ 66s] | [ 66s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 66s] | ------------------------ variants in this enum [ 66s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 66s] 136 | PMINFO_UI_APP, //< UI Application [ 66s] | ^^^^^^^^^^^^^ [ 66s] 137 | PMINFO_SVC_APP, //< Service Application [ 66s] | ^^^^^^^^^^^^^^ [ 66s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 66s] | ^^^^^^^^^^^^^^^^^ [ 66s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 66s] | ^^^^^^^^^^^^^^^^ [ 66s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 66s] --> ./src/pkgmgr/server/util.rs:766:12 [ 66s] | [ 66s] 384 | impl Util { [ 66s] | --------- associated functions in this implementation [ 66s] ... [ 66s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^ [ 66s] ... [ 66s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 66s] --> ./src/pkgmgr/server/util.rs:204:8 [ 66s] | [ 66s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/main.rs:14:5 [ 66s] | [ 66s] 14 | pkgmgr::server::Server::run(&mut server); [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] = note: `#[warn(unused_must_use)]` on by default [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 66s] | [ 66s] 93 | admin_service.run(); [ 66s] | ^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 93 | let _ = admin_service.run(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 66s] | [ 66s] 95 | cache_service.run(); [ 66s] | ^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 95 | let _ = cache_service.run(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 66s] | [ 66s] 97 | info_service.run(); [ 66s] | ^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 97 | let _ = info_service.run(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 66s] | [ 66s] 99 | delayed_result_service.run(); [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 99 | let _ = delayed_result_service.run(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 66s] | [ 66s] 109 | admin_service.stop(); [ 66s] | ^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 109 | let _ = admin_service.stop(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 66s] | [ 66s] 110 | cache_service.stop(); [ 66s] | ^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 110 | let _ = cache_service.stop(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 66s] | [ 66s] 111 | info_service.stop(); [ 66s] | ^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 111 | let _ = info_service.stop(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused `Result` that must be used [ 66s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 66s] | [ 66s] 112 | delayed_result_service.stop(); [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] = note: this `Result` may be an `Err` variant, which should be handled [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 112 | let _ = delayed_result_service.stop(); [ 66s] | +++++++ [ 66s] [ 66s] warning: unused return value of `std::mem::size_of` that must be used [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 66s] | [ 66s] 40 | mem::size_of::(); [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 66s] | [ 66s] help: use `let _ = ...` to ignore the resulting value [ 66s] | [ 66s] 40 | let _ = mem::size_of::(); [ 66s] | +++++++ [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 66s] | [ 66s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 66s] | [ 66s] = note: `#[warn(non_snake_case)]` on by default [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 66s] | [ 66s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 66s] | [ 66s] 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... [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 66s] | [ 66s] 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... [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 66s] | [ 66s] 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... [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 66s] [ 66s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 66s] | [ 66s] 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... [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 66s] | [ 66s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 66s] | [ 66s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 66s] | [ 66s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 66s] | [ 66s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 66s] | [ 66s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 66s] [ 66s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 66s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 66s] | [ 66s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 66s] [ 66s] warning: method `IsPackageReadonly` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:389:12 [ 66s] | [ 66s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 66s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 66s] [ 66s] warning: method `GetPackageType` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:420:12 [ 66s] | [ 66s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 66s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 66s] [ 66s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:473:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 66s] [ 66s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:478:17 [ 66s] | [ 66s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 66s] [ 66s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:483:17 [ 66s] | [ 66s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 66s] [ 66s] warning: constant `type_map` should have an upper case name [ 66s] --> ./src/pkgmgr/server/util.rs:623:15 [ 66s] | [ 66s] 623 | const type_map : [[&str; 2]; 3] = [ [ 66s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 66s] | [ 66s] = note: `#[warn(non_upper_case_globals)]` on by default [ 66s] [ 66s] warning: method `GenerateRequestId` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:646:12 [ 66s] | [ 66s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 66s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 66s] [ 66s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:657:12 [ 66s] | [ 66s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 66s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 66s] [ 66s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:680:12 [ 66s] | [ 66s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 66s] [ 66s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:686:12 [ 66s] | [ 66s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 66s] [ 66s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:696:12 [ 66s] | [ 66s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 66s] [ 66s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:706:12 [ 66s] | [ 66s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 66s] [ 66s] warning: method `EnableApp` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:728:12 [ 66s] | [ 66s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 66s] [ 66s] warning: method `DisableApp` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:738:12 [ 66s] | [ 66s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 66s] [ 66s] warning: method `EnableGlobalApp` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:747:12 [ 66s] | [ 66s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 66s] [ 66s] warning: method `DisableGlobalApp` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:757:12 [ 66s] | [ 66s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 66s] [ 66s] warning: method `EnableAppSplashScreen` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:766:12 [ 66s] | [ 66s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 66s] [ 66s] warning: method `DisableAppSplashScreen` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:775:12 [ 66s] | [ 66s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 66s] [ 66s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:784:12 [ 66s] | [ 66s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 66s] [ 66s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:793:12 [ 66s] | [ 66s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 66s] [ 66s] warning: method `KillApp` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:813:12 [ 66s] | [ 66s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 66s] [ 66s] warning: method `KillAppsInPkg` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:835:12 [ 66s] | [ 66s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 66s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 66s] [ 66s] warning: method `IsAdminUser` should have a snake case name [ 66s] --> ./src/pkgmgr/server/util.rs:855:8 [ 66s] | [ 66s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 66s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 66s] [ 77s] warning: 542 warnings emitted [ 77s] [ 77s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 77s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 77s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 77s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 77s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 77s] warning: unused import: `boxed` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 77s] | [ 77s] 4 | use std::{boxed, str}; [ 77s] | ^^^^^ [ 77s] | [ 77s] = note: `#[warn(unused_imports)]` on by default [ 77s] [ 77s] warning: unused import: `std::mem` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 77s] | [ 77s] 6 | use std::mem; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::ptr` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 77s] | [ 77s] 7 | use std::ptr; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused import: `malloc` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 77s] | [ 77s] 8 | use libc::{free, malloc, strlen}; [ 77s] | ^^^^^^ [ 77s] [ 77s] warning: unused import: `super::Server` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 77s] | [ 77s] 10 | use super::Server; [ 77s] | ^^^^^^^^^^^^^ [ 77s] [ 77s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 77s] | [ 77s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 77s] | [ 77s] = note: `#[warn(non_camel_case_types)]` on by default [ 77s] [ 77s] warning: unused imports: `pid_t`, `uid_t` [ 77s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 77s] | [ 77s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ ^^^^^ [ 77s] [ 77s] warning: unused imports: `c_int`, `c_void` [ 77s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 77s] | [ 77s] 4 | use std::ffi::{c_int, c_void}; [ 77s] | ^^^^^ ^^^^^^ [ 77s] [ 77s] warning: unused import: `std::path::Path` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 77s] | [ 77s] 10 | use std::path::Path; [ 77s] | ^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: denote infinite loops with `loop { ... }` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 77s] | [ 77s] 50 | while true { [ 77s] | ^^^^^^^^^^ help: use `loop` [ 77s] | [ 77s] = note: `#[warn(while_true)]` on by default [ 77s] [ 77s] warning: unnecessary parentheses around `if` condition [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 77s] | [ 77s] 73 | if (mut_queue.is_queue_empty()) { [ 77s] | ^ ^ [ 77s] | [ 77s] = note: `#[warn(unused_parens)]` on by default [ 77s] help: remove these parentheses [ 77s] | [ 77s] 73 - if (mut_queue.is_queue_empty()) { [ 77s] 73 + if mut_queue.is_queue_empty() { [ 77s] | [ 77s] [ 77s] warning: unnecessary trailing semicolon [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 77s] | [ 77s] 297 | ; [ 77s] | ^ help: remove this semicolon [ 77s] | [ 77s] = note: `#[warn(redundant_semicolons)]` on by default [ 77s] [ 77s] warning: unused import: `super::Server` [ 77s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 77s] | [ 77s] 1 | use super::Server; [ 77s] | ^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::Server` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 77s] | [ 77s] 1 | use super::Server; [ 77s] | ^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::backend_context::*` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 77s] | [ 77s] 4 | use super::backend_context::*; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::request_result::*` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 77s] | [ 77s] 5 | use super::request_result::*; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::request_type::*` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 77s] | [ 77s] 6 | use super::request_type::*; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::util::*` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 77s] | [ 77s] 7 | use super::util::*; [ 77s] | ^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused imports: `pid_t`, `uid_t` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 77s] | [ 77s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ ^^^^^ [ 77s] [ 77s] warning: unused import: `std::io::Error` [ 77s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 77s] | [ 77s] 3 | use std::io::Error; [ 77s] | ^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::mem` [ 77s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 77s] | [ 77s] 6 | use std::mem; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::ptr` [ 77s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 77s] | [ 77s] 7 | use std::ptr; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused imports: `free`, `malloc`, `strlen` [ 77s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 77s] | [ 77s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 77s] | ^^^^ ^^^^^^ ^^^^^^ [ 77s] [ 77s] warning: unused import: `super::Server` [ 77s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 77s] | [ 77s] 10 | use super::Server; [ 77s] | ^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `super::service::Service` [ 77s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 77s] | [ 77s] 13 | use super::service::Service; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unnecessary trailing semicolon [ 77s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 77s] | [ 77s] 49 | ; [ 77s] | ^ help: remove this semicolon [ 77s] [ 77s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 77s] | [ 77s] 7 | GETSIZE_SYNC(String, i32, i32), [ 77s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 77s] [ 77s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 77s] | [ 77s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 77s] [ 77s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 77s] | [ 77s] 3 | MOUNT_INSTALL, [ 77s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 77s] [ 77s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 77s] | [ 77s] 7 | ENABLE_PKG, [ 77s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 77s] [ 77s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 77s] | [ 77s] 8 | DISABLE_PKG, [ 77s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 77s] [ 77s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 77s] | [ 77s] 9 | REGISTER_PKG_UPDATE_INFO, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 77s] [ 77s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 77s] | [ 77s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 77s] [ 77s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 77s] | [ 77s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 77s] [ 77s] warning: variant `ENABLE_APP` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 77s] | [ 77s] 12 | ENABLE_APP, [ 77s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 77s] [ 77s] warning: variant `DISABLE_APP` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 77s] | [ 77s] 13 | DISABLE_APP, [ 77s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 77s] [ 77s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 77s] | [ 77s] 15 | GETSIZE_SYNC, [ 77s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 77s] [ 77s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 77s] | [ 77s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 77s] [ 77s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 77s] | [ 77s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 77s] [ 77s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 77s] | [ 77s] 22 | GENERATE_LICENSE_REQUEST, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 77s] [ 77s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 77s] | [ 77s] 23 | REGISTER_LICENSE, [ 77s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 77s] [ 77s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 77s] | [ 77s] 24 | DECRYPT_PACKAGE, [ 77s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 77s] [ 77s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 77s] | [ 77s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 77s] [ 77s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 77s] | [ 77s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 77s] [ 77s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 77s] | [ 77s] 27 | SET_APP_LABEL, [ 77s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 77s] [ 77s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 77s] | [ 77s] 28 | SET_APP_ICON, [ 77s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 77s] [ 77s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 77s] | [ 77s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 77s] [ 77s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 77s] | [ 77s] 30 | RESOURCE_SHARE_COPY, [ 77s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 77s] [ 77s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 77s] | [ 77s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 77s] [ 77s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 77s] | [ 77s] 32 | RESOURCE_SHARE_REMOVE, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 77s] [ 77s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 77s] | [ 77s] 33 | RESOURCE_SHARE_UNINSTALL, [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 77s] [ 77s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 77s] | [ 77s] 34 | REMOVE_FILE, [ 77s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 77s] [ 77s] warning: unused import: `CStr` [ 77s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 77s] | [ 77s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 77s] | ^^^^ [ 77s] [ 77s] warning: unused import: `pid_t` [ 77s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 77s] | [ 77s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 77s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 77s] | [ 77s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 77s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 77s] [ 77s] warning: unused import: `pid_t` [ 77s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: unused import: `std::cell::RefCell` [ 77s] --> ./src/pkgmgr/server/util.rs:1:5 [ 77s] | [ 77s] 1 | use std::cell::RefCell; [ 77s] | ^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::rc::Rc` [ 77s] --> ./src/pkgmgr/server/util.rs:8:5 [ 77s] | [ 77s] 8 | use std::rc::Rc; [ 77s] | ^^^^^^^^^^^ [ 77s] [ 77s] warning: type `xmlChar` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/util.rs:34:6 [ 77s] | [ 77s] 34 | type xmlChar = c_uchar; [ 77s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 77s] [ 77s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 77s] --> ./src/pkgmgr/server/util.rs:35:6 [ 77s] | [ 77s] 35 | type xmlTextReaderPtr = *mut c_void; [ 77s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 77s] [ 77s] warning: unused imports: `CStr`, `CString` [ 77s] --> ./src/pkgmgr/server/util.rs:39:43 [ 77s] | [ 77s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 77s] | ^^^^ ^^^^^^^ [ 77s] [ 77s] warning: unused import: `pid_t` [ 77s] --> ./src/pkgmgr/server/util.rs:40:37 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: unnecessary parentheses around `if` condition [ 77s] --> ./src/pkgmgr/server/util.rs:474:24 [ 77s] | [ 77s] 474 | if (cur == depth + 1) { [ 77s] | ^ ^ [ 77s] | [ 77s] help: remove these parentheses [ 77s] | [ 77s] 474 - if (cur == depth + 1) { [ 77s] 474 + if cur == depth + 1 { [ 77s] | [ 77s] [ 77s] warning: unnecessary parentheses around `if` condition [ 77s] --> ./src/pkgmgr/server/util.rs:571:12 [ 77s] | [ 77s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 77s] | ^ ^ [ 77s] | [ 77s] help: remove these parentheses [ 77s] | [ 77s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 77s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 77s] | [ 77s] [ 77s] warning: unused import: `std::ffi::CStr` [ 77s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 77s] | [ 77s] 4 | use std::ffi::CStr; [ 77s] | ^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::mem` [ 77s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 77s] | [ 77s] 6 | use std::mem; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused import: `mockall::predicate::*` [ 77s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 77s] | [ 77s] 8 | use mockall::predicate::*; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `mockall::*` [ 77s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 77s] | [ 77s] 9 | use mockall::*; [ 77s] | ^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::ffi::CString` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 77s] | [ 77s] 2 | use std::ffi::CString; [ 77s] | ^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::ffi::CStr` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 77s] | [ 77s] 3 | use std::ffi::CStr; [ 77s] | ^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::ffi::c_char` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 77s] | [ 77s] 4 | use std::ffi::c_char; [ 77s] | ^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::mem` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 77s] | [ 77s] 5 | use std::mem; [ 77s] | ^^^^^^^^ [ 77s] [ 77s] warning: unused import: `mockall::predicate::*` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 77s] | [ 77s] 6 | use mockall::predicate::*; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `mockall::*` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 77s] | [ 77s] 7 | use mockall::*; [ 77s] | ^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `pid_t` [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 77s] | [ 77s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: unused import: `std::cell::RefCell` [ 77s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 77s] | [ 77s] 22 | use std::cell::RefCell; [ 77s] | ^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::rc::Rc` [ 77s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 77s] | [ 77s] 26 | use std::rc::Rc; [ 77s] | ^^^^^^^^^^^ [ 77s] [ 77s] warning: unused import: `std::process::Command` [ 77s] --> ./src/main.rs:9:5 [ 77s] | [ 77s] 9 | use std::process::Command; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 77s] | [ 77s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] | [ 77s] = note: `#[warn(deprecated)]` on by default [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 77s] | [ 77s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 77s] | [ 77s] 20 | const GLOBAL_USER: uid_t = 201; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 77s] | [ 77s] 322 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 77s] | [ 77s] 443 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 77s] | [ 77s] 548 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 77s] | [ 77s] 595 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 77s] | [ 77s] 718 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 77s] | [ 77s] 801 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 77s] | [ 77s] 853 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 77s] | [ 77s] 937 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 77s] | [ 77s] 990 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 77s] | [ 77s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 77s] | [ 77s] 1072 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 77s] | [ 77s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 77s] | [ 77s] 1151 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 77s] | [ 77s] 1152 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 77s] | [ 77s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 77s] | [ 77s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 77s] | [ 77s] 1215 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 77s] | [ 77s] 1216 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 77s] | [ 77s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 77s] | [ 77s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 77s] | [ 77s] 1270 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 77s] | [ 77s] 1271 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 77s] | [ 77s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 77s] | [ 77s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 77s] | [ 77s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 77s] | [ 77s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 77s] | [ 77s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 77s] | [ 77s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 77s] | [ 77s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 77s] | [ 77s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 77s] | [ 77s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 77s] | [ 77s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 77s] | [ 77s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 77s] | [ 77s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 77s] | [ 77s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 77s] | [ 77s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 77s] | [ 77s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 77s] | [ 77s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 77s] | [ 77s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 77s] | [ 77s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 77s] | [ 77s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 77s] | [ 77s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 77s] | [ 77s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 77s] | [ 77s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 77s] | [ 77s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 77s] | [ 77s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 77s] | [ 77s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 77s] | [ 77s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 77s] | [ 77s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 77s] | [ 77s] 1535 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 77s] | [ 77s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 77s] | [ 77s] 1588 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 77s] | [ 77s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 77s] | [ 77s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 77s] | [ 77s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 77s] | [ 77s] 1765 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 77s] | [ 77s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 77s] | [ 77s] 1818 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 77s] | [ 77s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 77s] | [ 77s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 77s] | [ 77s] 1873 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 77s] | [ 77s] 1874 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 77s] | [ 77s] 1985 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 77s] | [ 77s] 1986 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 77s] | [ 77s] 2035 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 77s] | [ 77s] 2036 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 77s] | [ 77s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 77s] | [ 77s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 77s] | [ 77s] 2105 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 77s] | [ 77s] 2106 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 77s] | [ 77s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 77s] | [ 77s] 2155 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 77s] | [ 77s] 2156 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 77s] | [ 77s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 77s] | [ 77s] 2312 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 77s] | [ 77s] 2313 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 77s] | [ 77s] 2383 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 77s] | [ 77s] 2384 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 77s] | [ 77s] 2453 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 77s] | [ 77s] 2454 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 77s] | [ 77s] 2532 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 77s] | [ 77s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 77s] | [ 77s] 2681 | pid: *mut pid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 77s] | [ 77s] 2682 | uid: *mut uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 77s] | [ 77s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 77s] | [ 77s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 77s] | [ 77s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 77s] | [ 77s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 77s] | [ 77s] 23 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 77s] | [ 77s] 48 | target_uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 77s] | [ 77s] 53 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 77s] | [ 77s] 106 | pid: *mut pid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 77s] | [ 77s] 107 | uid: *mut uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 77s] | [ 77s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 77s] | [ 77s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 77s] | [ 77s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 77s] | [ 77s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 77s] | [ 77s] 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... [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 77s] | [ 77s] 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... [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 77s] | [ 77s] 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... [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 77s] | [ 77s] 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... [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 77s] | [ 77s] 54 | target_uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 77s] | [ 77s] 60 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 77s] | [ 77s] 61 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 77s] | [ 77s] 114 | target_uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 77s] | [ 77s] 120 | let mut caller_pid: pid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 77s] | [ 77s] 121 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 77s] | [ 77s] 223 | target_uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 77s] | [ 77s] 225 | pid: *mut pid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 77s] | [ 77s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 77s] | [ 77s] 242 | pid: *mut pid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 77s] | [ 77s] 243 | uid: *mut uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 77s] | [ 77s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 77s] | [ 77s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 77s] | [ 77s] 99 | const GLOBAL_USER: uid_t = 201; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 77s] | [ 77s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 77s] | [ 77s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 77s] | [ 77s] 102 | let mut uid_vec: Vec = vec![]; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 77s] | [ 77s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 77s] | [ 77s] 124 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 77s] | [ 77s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 77s] | [ 77s] 62 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 77s] | [ 77s] 86 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 77s] | [ 77s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:4:26 [ 77s] | [ 77s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:4:33 [ 77s] | [ 77s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:22:21 [ 77s] | [ 77s] 22 | const REGULAR_USER: uid_t = 5000; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:23:20 [ 77s] | [ 77s] 23 | const GLOBAL_USER: uid_t = 201; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:25:18 [ 77s] | [ 77s] 25 | const APPFW_UID: uid_t = 301; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:307:36 [ 77s] | [ 77s] 307 | let uid : uid_t = user_data as uid_t; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:307:15 [ 77s] | [ 77s] 307 | let uid : uid_t = user_data as uid_t; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:326:81 [ 77s] | [ 77s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:326:93 [ 77s] | [ 77s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:326:25 [ 77s] | [ 77s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:326:37 [ 77s] | [ 77s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:389:57 [ 77s] | [ 77s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:420:55 [ 77s] | [ 77s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:686:62 [ 77s] | [ 77s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:696:63 [ 77s] | [ 77s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:706:44 [ 77s] | [ 77s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:706:63 [ 77s] | [ 77s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:728:49 [ 77s] | [ 77s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:738:50 [ 77s] | [ 77s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:747:55 [ 77s] | [ 77s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:757:56 [ 77s] | [ 77s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:766:61 [ 77s] | [ 77s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:775:62 [ 77s] | [ 77s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:784:67 [ 77s] | [ 77s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:793:68 [ 77s] | [ 77s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:802:54 [ 77s] | [ 77s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:802:64 [ 77s] | [ 77s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:813:47 [ 77s] | [ 77s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:835:53 [ 77s] | [ 77s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:855:25 [ 77s] | [ 77s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:983:69 [ 77s] | [ 77s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 77s] | [ 77s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 77s] | [ 77s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 77s] | [ 77s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 77s] | [ 77s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 77s] | [ 77s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 77s] | [ 77s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 77s] | [ 77s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 77s] | [ 77s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:156:14 [ 77s] | [ 77s] 156 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:166:14 [ 77s] | [ 77s] 166 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:180:14 [ 77s] | [ 77s] 180 | uid: uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:185:14 [ 77s] | [ 77s] 185 | uid: uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:189:14 [ 77s] | [ 77s] 189 | uid: uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:194:14 [ 77s] | [ 77s] 194 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:200:14 [ 77s] | [ 77s] 200 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:206:14 [ 77s] | [ 77s] 206 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:212:14 [ 77s] | [ 77s] 212 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:218:14 [ 77s] | [ 77s] 218 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:224:14 [ 77s] | [ 77s] 224 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:237:32 [ 77s] | [ 77s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:266:21 [ 77s] | [ 77s] 266 | caller_uid: uid_t [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:274:14 [ 77s] | [ 77s] 274 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:40:30 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:40:37 [ 77s] | [ 77s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:46:18 [ 77s] | [ 77s] 46 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:52:18 [ 77s] | [ 77s] 52 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:67:18 [ 77s] | [ 77s] 67 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:101:18 [ 77s] | [ 77s] 101 | uid: uid_t, [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:122:70 [ 77s] | [ 77s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:123:66 [ 77s] | [ 77s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:124:59 [ 77s] | [ 77s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/util.rs:125:97 [ 77s] | [ 77s] 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; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 77s] | [ 77s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 77s] | [ 77s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 77s] | [ 77s] 12 | let mut uid_vec: Vec = vec![]; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 77s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 77s] | [ 77s] 19 | let mut uid_vec: Vec = vec![]; [ 77s] | ^^^^^ [ 77s] [ 77s] warning: unreachable expression [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 77s] | [ 77s] 61 | return G_SOURCE_CONTINUE; [ 77s] | ------------------------ any code following this expression is unreachable [ 77s] ... [ 77s] 64 | 1 [ 77s] | ^ unreachable expression [ 77s] | [ 77s] = note: `#[warn(unreachable_code)]` on by default [ 77s] [ 78s] warning: unused import: `super::super::super::server::service::Service` [ 78s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 78s] | [ 78s] 3 | use super::super::super::server::service::Service; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 78s] | [ 78s] 297 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] | [ 78s] = note: `#[warn(unused_variables)]` on by default [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 78s] | [ 78s] 306 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 78s] | [ 78s] 307 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 78s] | [ 78s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: unused variable: `req_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 78s] | [ 78s] 318 | req_id: *const c_char, [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 78s] | [ 78s] 415 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] | [ 78s] = note: `#[warn(unused_mut)]` on by default [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 78s] | [ 78s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: unused variable: `req_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 78s] | [ 78s] 434 | req_id: *const c_char, [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 78s] | [ 78s] 510 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 78s] | [ 78s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 78s] | [ 78s] 571 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 78s] | [ 78s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: unused variable: `req_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 78s] | [ 78s] 591 | req_id: *const c_char, [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 78s] | [ 78s] 688 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 78s] | [ 78s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: unused variable: `req_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 78s] | [ 78s] 706 | req_id: *const c_char, [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 78s] | [ 78s] 763 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 78s] | [ 78s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 78s] | [ 78s] 824 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 78s] | [ 78s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 78s] | [ 78s] 898 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 78s] | [ 78s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 78s] | [ 78s] 961 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 78s] | [ 78s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 78s] | [ 78s] 1038 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 78s] | [ 78s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 78s] | [ 78s] 1123 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `pkg_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 78s] | [ 78s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 78s] | [ 78s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 78s] | ----^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 78s] | [ 78s] 1190 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 78s] | [ 78s] 1248 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 78s] | [ 78s] 1297 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `is_global` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 78s] | [ 78s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 78s] [ 78s] warning: unused variable: `is_global` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 78s] | [ 78s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 78s] [ 78s] warning: unused variable: `is_global` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 78s] | [ 78s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 78s] [ 78s] warning: unused variable: `is_global` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 78s] | [ 78s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 78s] [ 78s] warning: unused variable: `caller_uid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 78s] | [ 78s] 1535 | let mut caller_uid: uid_t = 0; [ 78s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 78s] | [ 78s] 1521 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 78s] | [ 78s] 1535 | let mut caller_uid: uid_t = 0; [ 78s] | ----^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 78s] | [ 78s] 1558 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `caller_uid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 78s] | [ 78s] 1588 | let mut caller_uid: uid_t = 0; [ 78s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 78s] | [ 78s] 1574 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 78s] | [ 78s] 1588 | let mut caller_uid: uid_t = 0; [ 78s] | ----^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 78s] | [ 78s] 1611 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 78s] | [ 78s] 1627 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 78s] | [ 78s] 1669 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 78s] | [ 78s] 1689 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 78s] | [ 78s] 1731 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `caller_uid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 78s] | [ 78s] 1765 | let mut caller_uid: uid_t = 0; [ 78s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 78s] | [ 78s] 1751 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 78s] | [ 78s] 1765 | let mut caller_uid: uid_t = 0; [ 78s] | ----^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 78s] | [ 78s] 1788 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `caller_uid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 78s] | [ 78s] 1818 | let mut caller_uid: uid_t = 0; [ 78s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 78s] | [ 78s] 1804 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 78s] | [ 78s] 1818 | let mut caller_uid: uid_t = 0; [ 78s] | ----^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 78s] | [ 78s] 1841 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 78s] | [ 78s] 1857 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `pid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 78s] | [ 78s] 1860 | pid: *mut c_int, [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 78s] | [ 78s] 1861 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 78s] | [ 78s] 1900 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 78s] | [ 78s] 1932 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 78s] | [ 78s] 2012 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 78s] | [ 78s] 2063 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 78s] | [ 78s] 2078 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 78s] | [ 78s] 2081 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 78s] | [ 78s] 2088 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 78s] | [ 78s] 2091 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 78s] | [ 78s] 2133 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 78s] | [ 78s] 2183 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 78s] | [ 78s] 2198 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `uid` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 78s] | [ 78s] 2199 | uid: c_int, [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 78s] [ 78s] warning: unused variable: `pkg_id` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 78s] | [ 78s] 2200 | pkg_id: *const c_char, [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 78s] | [ 78s] 2201 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 78s] | [ 78s] 2364 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 78s] | [ 78s] 2434 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 78s] | [ 78s] 2504 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 78s] | [ 78s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 78s] | [ 78s] 2552 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 78s] | [ 78s] 2567 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 78s] | [ 78s] 2597 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 78s] | [ 78s] 2612 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 78s] | [ 78s] 2656 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `status` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 78s] | [ 78s] 38 | let mut status: c_int; [ 78s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 78s] [ 78s] warning: unused variable: `io` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 78s] | [ 78s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 78s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 78s] [ 78s] warning: unused variable: `cond` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 78s] | [ 78s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 78s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 78s] | [ 78s] 71 | let mut mut_queue = queue.borrow_mut(); [ 78s] | ----^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 78s] | [ 78s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 78s] | ----^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `req_key` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 78s] | [ 78s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 78s] | [ 78s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: unused variable: `s` [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 78s] | [ 78s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 78s] | [ 78s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 78s] | ----^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 78s] | [ 78s] 31 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 78s] | [ 78s] 40 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 78s] | [ 78s] 41 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: unused variable: `ret` [ 78s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 78s] | [ 78s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 78s] [ 78s] warning: value assigned to `pkg_type` is never read [ 78s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 78s] | [ 78s] 63 | let mut pkg_type: String = String::new(); [ 78s] | ^^^^^^^^ [ 78s] | [ 78s] = help: maybe it is overwritten before being read? [ 78s] = note: `#[warn(unused_assignments)]` on by default [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 78s] | [ 78s] 83 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 78s] | [ 78s] 32 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 78s] | [ 78s] 41 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 78s] | [ 78s] 42 | user_data: *mut c_void, [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 78s] | [ 78s] 48 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 78s] | [ 78s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 78s] | [ 78s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 78s] | [ 78s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 78s] | [ 78s] 98 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 78s] | [ 78s] 160 | let mut backend_context = BackendContext::new( [ 78s] | ----^^^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 78s] | [ 78s] 195 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `context` [ 78s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 78s] | [ 78s] 222 | context: *mut c_void, [ 78s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 78s] [ 78s] warning: unused variable: `user_data` [ 78s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 78s] | [ 78s] 226 | user_data: *mut c_void [ 78s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 78s] | [ 78s] 144 | let mut c_req_type: c_int; [ 78s] | ----^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: value assigned to `size_result` is never read [ 78s] --> ./src/pkgmgr/server/util.rs:351:17 [ 78s] | [ 78s] 351 | let mut size_result: i64 = -1; [ 78s] | ^^^^^^^^^^^ [ 78s] | [ 78s] = help: maybe it is overwritten before being read? [ 78s] [ 78s] warning: unused variable: `cond` [ 78s] --> ./src/pkgmgr/server/util.rs:341:9 [ 78s] | [ 78s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 78s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 78s] [ 78s] warning: value assigned to `ret` is never read [ 78s] --> ./src/pkgmgr/server/util.rs:425:21 [ 78s] | [ 78s] 425 | let mut ret: c_int = 0; [ 78s] | ^^^ [ 78s] | [ 78s] = help: maybe it is overwritten before being read? [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 78s] | [ 78s] = note: `#[warn(unreachable_patterns)]` on by default [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:488:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 488 | _ => { [ 78s] | ^ unreachable pattern [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 78s] --> ./src/pkgmgr/server/util.rs:473:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/util.rs:519:13 [ 78s] | [ 78s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 78s] | ----^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/util.rs:588:13 [ 78s] | [ 78s] 588 | let mut reader = [ 78s] | ----^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `gid` [ 78s] --> ./src/pkgmgr/server/util.rs:891:52 [ 78s] | [ 78s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 78s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 79s] | [ 79s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 79s] | [ 79s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 79s] | [ 79s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 79s] | [ 79s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 79s] | [ 79s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 79s] | [ 79s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 79s] | [ 79s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 79s] | [ 79s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 79s] | [ 79s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 79s] | [ 79s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 79s] | [ 79s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 79s] | [ 79s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 79s] | [ 79s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 79s] | [ 79s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 79s] | [ 79s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 79s] | [ 79s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 79s] | [ 79s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 79s] | [ 79s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 79s] | [ 79s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 79s] | [ 79s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 79s] | [ 79s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 79s] | [ 79s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 79s] | [ 79s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 79s] | [ 79s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 79s] | [ 79s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 79s] | [ 79s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 79s] | [ 79s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 79s] | [ 79s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 79s] | [ 79s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 79s] | [ 79s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 79s] | [ 79s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 79s] | [ 79s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 79s] | [ 79s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 79s] | [ 79s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 79s] | [ 79s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 79s] | [ 79s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 79s] | [ 79s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 79s] | [ 79s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 79s] | [ 79s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 79s] | [ 79s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 79s] | [ 79s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 79s] | [ 79s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 79s] | [ 79s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 79s] | [ 79s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 79s] | [ 79s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 79s] | [ 79s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 79s] | [ 79s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 79s] | [ 79s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 79s] | [ 79s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 79s] | [ 79s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 79s] | [ 79s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 79s] | [ 79s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 79s] | [ 79s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 79s] | [ 79s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 79s] | [ 79s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 79s] | [ 79s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 79s] | [ 79s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 79s] | [ 79s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 79s] | [ 79s] 153 | ctx.expect().times(1).returning(|x| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 79s] | [ 79s] 160 | ctx.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 79s] | [ 79s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 79s] | [ 79s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 79s] | [ 79s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 79s] | [ 79s] 171 | ctx.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 79s] | [ 79s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 79s] | [ 79s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 79s] | [ 79s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 79s] | [ 79s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 79s] | [ 79s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 79s] | [ 79s] 184 | ctx.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 79s] | [ 79s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 79s] | [ 79s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 79s] | [ 79s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 79s] | [ 79s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 79s] | [ 79s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 79s] | [ 79s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 79s] | [ 79s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 79s] | [ 79s] 199 | ctx.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 79s] | [ 79s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 79s] | [ 79s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 79s] | [ 79s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 79s] | [ 79s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 79s] | [ 79s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 79s] | [ 79s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 79s] | [ 79s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 79s] | [ 79s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 79s] | [ 79s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 79s] | [ 79s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 79s] | [ 79s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 79s] | [ 79s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 79s] | [ 79s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 79s] | [ 79s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 79s] | [ 79s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 79s] | [ 79s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 79s] | [ 79s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 79s] | [ 79s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 79s] | [ 79s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 79s] | [ 79s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 79s] | [ 79s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 79s] | [ 79s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 79s] | [ 79s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 79s] | [ 79s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 79s] | [ 79s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 79s] | [ 79s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 79s] | [ 79s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 79s] | [ 79s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 79s] | [ 79s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 79s] | [ 79s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `y` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 79s] | [ 79s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 79s] | [ 79s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `e` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 79s] | [ 79s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 79s] | [ 79s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 79s] | [ 79s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `e` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 79s] | [ 79s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 79s] | [ 79s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: unused variable: `z` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 79s] | [ 79s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 79s] [ 79s] warning: unused variable: `e` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 79s] | [ 79s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 79s] [ 79s] warning: unused variable: `x` [ 79s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 79s] | [ 79s] 21 | ctx.expect().times(1).returning(|x| 0); [ 79s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 79s] | [ 79s] 19 | let mut uid_vec: Vec = vec![]; [ 79s] | ----^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 79s] | [ 79s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 79s] | [ 79s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 79s] | [ 79s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 79s] | [ 79s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 79s] | [ 79s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 79s] | [ 79s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 79s] | [ 79s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 79s] | [ 79s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: variable does not need to be mutable [ 79s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 79s] | [ 79s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 79s] | ----^^^^^^^^^^^^^ [ 79s] | | [ 79s] | help: remove this `mut` [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 79s] | [ 79s] 993 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 994 | match CString::new(generated_req_key.clone()) { [ 79s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] = note: `#[warn(unused_unsafe)]` on by default [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 79s] | [ 79s] 993 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 997 | error!("Fail to generate req key, err({:?})", e); [ 79s] | ------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 79s] | [ 79s] 993 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 79s] | [ 79s] 1075 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 1076 | match CString::new(generated_req_key.clone()) { [ 79s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 79s] | [ 79s] 1075 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 79s] | ------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 79s] | [ 79s] 1075 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1106 | debug!("push disable pkg {pkg_id}"); [ 79s] | ----------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 79s] | [ 79s] 1075 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 79s] | [ 79s] 1537 | unsafe { [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 79s] | [ 79s] 1590 | unsafe { [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 79s] | [ 79s] 1641 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 1642 | match CString::new(generated_req_key.clone()) { [ 79s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 79s] | [ 79s] 1641 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 79s] | ------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 79s] | [ 79s] 1641 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 79s] | [ 79s] 1703 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 1704 | match CString::new(generated_req_key.clone()) { [ 79s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 79s] | [ 79s] 1703 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 79s] | ------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 79s] | [ 79s] 1703 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 79s] | [ 79s] 1767 | unsafe { [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 79s] | [ 79s] 1820 | unsafe { [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 79s] | [ 79s] 2294 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 79s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 79s] | [ 79s] 2793 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 79s] 2795 | debug!("admin service start : {ret}"); [ 79s] | ------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 79s] | [ 79s] 2801 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 79s] 2803 | debug!("ret : {ret}"); [ 79s] | --------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 79s] | [ 79s] 204 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 210 | error!("sigprocmask failed"); [ 79s] | ---------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 79s] | [ 79s] 204 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 216 | error!("signalfd failed"); [ 79s] | ------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 79s] | [ 79s] 134 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 139 | debug!("cache service start : {ret}"); [ 79s] | ------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 79s] | [ 79s] 145 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 79s] 147 | debug!("ret : {ret}"); [ 79s] | --------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 79s] | [ 79s] 107 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 112 | debug!("delayed result service start : {ret}"); [ 79s] | ---------------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 79s] | [ 79s] 118 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 79s] 120 | debug!("ret : {ret}"); [ 79s] | --------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 79s] | [ 79s] 165 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 79s] 167 | error!("Failed to mkfifo"); [ 79s] | -------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 79s] | [ 79s] 268 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 273 | debug!("info service start : {ret}"); [ 79s] | ------------------------------------ in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 79s] | [ 79s] 279 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 79s] 281 | debug!("ret : {ret}"); [ 79s] | --------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 79s] | [ 79s] 131 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 79s] | --------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 79s] | [ 79s] 131 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 79s] | --------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 79s] | [ 79s] 131 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 79s] | ---------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 79s] | [ 79s] 131 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 79s] | ------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 79s] | [ 79s] 131 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 79s] | --------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 79s] | [ 79s] 309 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 79s] 311 | error!("Failed get appid"); [ 79s] | -------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 79s] | [ 79s] 309 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 79s] | --------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/util.rs:326:46 [ 79s] | [ 79s] 325 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 79s] | [ 79s] 325 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 329 | error!("Failed get appid"); [ 79s] | -------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 79s] | [ 79s] 325 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 79s] | --------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 79s] | [ 79s] 342 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 79s] | ---------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 79s] | [ 79s] 342 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 361 | error!("empty result"); [ 79s] | ---------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 79s] | [ 79s] 390 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 79s] | --------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 79s] | [ 79s] 390 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 406 | error!("Fail to get is readonly"); [ 79s] | --------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 79s] | [ 79s] 422 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 429 | error!("Not found package"); [ 79s] | --------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 79s] | [ 79s] 422 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 445 | debug!("pkgtype - {ret_string}"); [ 79s] | -------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 79s] | [ 79s] 803 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 79s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 79s] | ------------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 79s] | [ 79s] 814 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 79s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 79s] | ------------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 79s] | [ 79s] 814 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 79s] | ------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 79s] | [ 79s] 814 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 79s] | ------------------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 79s] | [ 79s] 836 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 79s] | --------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 79s] | [ 79s] 836 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 79s] | ------------------------------------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 79s] | [ 79s] 859 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 863 | warn!("cannot get user information from gumd, retry"); [ 79s] | ----------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = 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) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 79s] | [ 79s] 859 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 871 | error!("cannot get user information from gumd, failed"); [ 79s] | ------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 79s] | [ 79s] 859 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 877 | error!("cannot get user type"); [ 79s] | ------------------------------ in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 79s] | [ 79s] 892 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 79s] | ------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 79s] | [ 79s] 892 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 901 | error!("Failed to get list of supplementary group IDs"); [ 79s] | ------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 79s] | [ 79s] 892 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 79s] | --------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 79s] | [ 79s] 928 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 942 | error!("getpwuid_r fail"); [ 79s] | ------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 79s] | [ 79s] 928 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 949 | error!("Fail to get str, err({:?})", e); [ 79s] | --------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 79s] | [ 79s] 928 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 957 | error!("Fail to get str, err({:?})", e); [ 79s] | --------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 79s] | [ 79s] 928 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 79s] | -------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 79s] | [ 79s] 984 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 79s] | ----------------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 79s] | [ 79s] 984 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 79s] | ---------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 79s] | [ 79s] 984 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 79s] | ---------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 79s] | [ 79s] 984 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 79s] | [ 79s] 1081 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 79s] | ----------------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 79s] | [ 79s] 1081 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 79s] | --------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 79s] | [ 79s] 1081 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 79s] | ------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 79s] | [ 79s] 1109 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 79s] | ---------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 79s] | [ 79s] 1129 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 79s] | -------------------------------------------------------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: unnecessary `unsafe` block [ 79s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 79s] | [ 79s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 79s] | ^^^^^^ unnecessary `unsafe` block [ 79s] | [ 79s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 79s] | [ 79s] 1129 | unsafe { [ 79s] | ------ because it's nested under this `unsafe` block [ 79s] ... [ 79s] 1155 | error!("failed to add io watch"); [ 79s] | -------------------------------- in this macro invocation [ 79s] | [ 79s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 79s] [ 79s] warning: constant `SD_LISTEN_FDS_START` is never used [ 79s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 79s] | [ 79s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 79s] | ^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: `#[warn(dead_code)]` on by default [ 79s] [ 79s] warning: multiple variants are never constructed [ 79s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 79s] | [ 79s] 42 | enum AUL_RETURN_VALUE { [ 79s] | ---------------- variants in this enum [ 79s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 79s] | ^^^^^^^^^^^^ [ 79s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 79s] | ^^^^^^^^^^^^ [ 79s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 79s] | ^^^^^^^^^^^^^^^ [ 79s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 79s] | ^^^^^^^^^^^^ [ 79s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 79s] | ^^^^^^^^^^^^^^^^^^^^^ [ 79s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 79s] | ^^^^^^^^^^^^^^^^^^ [ 79s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 79s] | ^^^^^^^^^^^^^^^^^^ [ 79s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 79s] | ^^^^^^^^^^^^^ [ 79s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 79s] | ^^^^^^^^^^^ [ 79s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 79s] | ^^^^^^^^^^^^^^ [ 79s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 79s] | ^^^^^^^^^^^^^^^ [ 79s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 79s] | ^^^^^^^^^^^^ [ 79s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 79s] | ^^^^^^^^^^^ [ 79s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 79s] | ^^^^^^^^^^^^^ [ 79s] 57 | AUL_R_ERROR = -1, //< General error [ 79s] | ^^^^^^^^^^^ [ 79s] [ 79s] warning: field `timer` is never read [ 79s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 79s] | [ 79s] 61 | pub struct Server { [ 79s] | ------ field in this struct [ 79s] 62 | mainloop: *mut GMainLoop, [ 79s] 63 | timer: c_uint [ 79s] | ^^^^^ [ 79s] [ 79s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 79s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 79s] | [ 79s] 27 | enum RPC_PORT_ERROR { [ 79s] | -------------- variants in this enum [ 79s] 28 | NONE = 0, //< Successful [ 79s] 29 | IO_ERROR = -5, //< Internal I/O error [ 79s] | ^^^^^^^^ [ 79s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 79s] | ^^^^^^^^^^^^^ [ 79s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 79s] | ^^^^^^^^^^^^^^^^^ [ 79s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 79s] | ^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: method `generate_request_id` is never used [ 79s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 79s] | [ 79s] 2713 | impl AdminService { [ 79s] | ----------------- method in this implementation [ 79s] ... [ 79s] 2786 | fn generate_request_id(&self) -> String { [ 79s] | ^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: field `request_type` is never read [ 79s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 79s] | [ 79s] 6 | pub struct BackendContext { [ 79s] | -------------- field in this struct [ 79s] 7 | request_type: RequestType, [ 79s] | ^^^^^^^^^^^^ [ 79s] [ 79s] warning: type alias `GIOChannel` is never used [ 79s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 79s] | [ 79s] 14 | type GIOChannel = *mut c_void; [ 79s] | ^^^^^^^^^^ [ 79s] [ 79s] warning: type alias `GIOCondition` is never used [ 79s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 79s] | [ 79s] 15 | type GIOCondition = c_int; [ 79s] | ^^^^^^^^^^^^ [ 79s] [ 79s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 79s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 79s] | [ 79s] 20 | enum PKGMGR_RETURN_VALUE { [ 79s] | ------------------- variants in this enum [ 79s] 21 | ESYSTEM = -9, // Severe system error [ 79s] 22 | EIO = -8, // IO error [ 79s] | ^^^ [ 79s] 23 | ENOMEM = -7, // Out of memory [ 79s] 24 | ENOPKG = -6, // No such package [ 79s] | ^^^^^^ [ 79s] 25 | EPRIV = -5, // Privilege denied [ 79s] | ^^^^^ [ 79s] 26 | ETIMEOUT = -4, // Timeout [ 79s] | ^^^^^^^^ [ 79s] 27 | EINVAL = -3, // Invalid argument [ 79s] | ^^^^^^ [ 79s] 28 | ECOMM = -2, // Comunication Error [ 79s] | ^^^^^ [ 79s] [ 79s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 79s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 79s] | [ 79s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 79s] | ------------------- variants in this enum [ 79s] ... [ 79s] 8 | EPRIV = -5, // Privilege denied [ 79s] | ^^^^^ [ 79s] 9 | ETIMEOUT = -4, // Timeout [ 79s] | ^^^^^^^^ [ 79s] [ 79s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 79s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 79s] | [ 79s] 1 | pub enum RequestType { [ 79s] | ----------- variants in this enum [ 79s] ... [ 79s] 20 | KILL, [ 79s] | ^^^^ [ 79s] 21 | CHECK, [ 79s] | ^^^^^ [ 79s] ... [ 79s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] ... [ 79s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: multiple variants are never constructed [ 79s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 79s] | [ 79s] 9 | enum PKGMGR_REQ { [ 79s] | ---------- variants in this enum [ 79s] 10 | PERM = -1, [ 79s] | ^^^^ [ 79s] 11 | INVALID = 0, [ 79s] | ^^^^^^^ [ 79s] 12 | INSTALL = 1, [ 79s] | ^^^^^^^ [ 79s] 13 | UNINSTALL = 2, [ 79s] | ^^^^^^^^^ [ 79s] 14 | CLEAR = 3, [ 79s] | ^^^^^ [ 79s] 15 | MOVE = 4, [ 79s] | ^^^^ [ 79s] 16 | RECOVER = 5, [ 79s] | ^^^^^^^ [ 79s] 17 | REINSTALL = 6, [ 79s] | ^^^^^^^^^ [ 79s] 18 | GETSIZE = 7, [ 79s] | ^^^^^^^ [ 79s] 19 | UPGRADE = 8, [ 79s] | ^^^^^^^ [ 79s] 20 | SMACK = 9, [ 79s] | ^^^^^ [ 79s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] ... [ 79s] 26 | MOUNT_INSTALL = 15, [ 79s] | ^^^^^^^^^^^^^ [ 79s] 27 | DISABLE_PKG = 16, [ 79s] | ^^^^^^^^^^^ [ 79s] 28 | ENABLE_PKG = 17, [ 79s] | ^^^^^^^^^^ [ 79s] 29 | MIGRATE_EXTIMG = 18, [ 79s] | ^^^^^^^^^^^^^^ [ 79s] 30 | RECOVER_DB = 19, [ 79s] | ^^^^^^^^^^ [ 79s] 31 | RES_COPY = 20, [ 79s] | ^^^^^^^^ [ 79s] 32 | RES_CREATE_DIR = 21, [ 79s] | ^^^^^^^^^^^^^^ [ 79s] 33 | RES_REMOVE = 22, [ 79s] | ^^^^^^^^^^ [ 79s] 34 | RES_UNINSTALL = 23 [ 79s] | ^^^^^^^^^^^^^ [ 79s] [ 79s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 79s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 79s] | [ 79s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `tzplatform_getuid` is never used [ 79s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 79s] | [ 79s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 79s] | ^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `sd_get_uids` is never used [ 79s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 79s] | [ 79s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 79s] | ^^^^^^^^^^^ [ 79s] [ 79s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:29:7 [ 79s] | [ 79s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:30:7 [ 79s] | [ 79s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 79s] | ^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:31:7 [ 79s] | [ 79s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: type alias `GIOChannel` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:33:6 [ 79s] | [ 79s] 33 | type GIOChannel = *mut c_void; [ 79s] | ^^^^^^^^^^ [ 79s] [ 79s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 79s] --> ./src/pkgmgr/server/util.rs:136:5 [ 79s] | [ 79s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 79s] | ------------------------ variants in this enum [ 79s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 79s] 136 | PMINFO_UI_APP, //< UI Application [ 79s] | ^^^^^^^^^^^^^ [ 79s] 137 | PMINFO_SVC_APP, //< Service Application [ 79s] | ^^^^^^^^^^^^^^ [ 79s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 79s] | ^^^^^^^^^^^^^^^^^ [ 79s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 79s] | ^^^^^^^^^^^^^^^^ [ 79s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 79s] --> ./src/pkgmgr/server/util.rs:766:12 [ 79s] | [ 79s] 384 | impl Util { [ 79s] | --------- associated functions in this implementation [ 79s] ... [ 79s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^ [ 79s] ... [ 79s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:204:8 [ 79s] | [ 79s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:44:16 [ 79s] | [ 79s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:50:16 [ 79s] | [ 79s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:56:16 [ 79s] | [ 79s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:61:16 [ 79s] | [ 79s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:65:16 [ 79s] | [ 79s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:71:16 [ 79s] | [ 79s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:76:16 [ 79s] | [ 79s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:80:16 [ 79s] | [ 79s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:85:16 [ 79s] | [ 79s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:90:16 [ 79s] | [ 79s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:95:16 [ 79s] | [ 79s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:99:16 [ 79s] | [ 79s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:105:16 [ 79s] | [ 79s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:110:16 [ 79s] | [ 79s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:115:16 [ 79s] | [ 79s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `aul_app_is_running_for_uid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:122:16 [ 79s] | [ 79s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `aul_app_get_pid_for_uid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:123:16 [ 79s] | [ 79s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `aul_terminate_pid_for_uid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:124:16 [ 79s] | [ 79s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 79s] --> ./src/pkgmgr/server/util.rs:125:16 [ 79s] | [ 79s] 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; [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/main.rs:14:5 [ 79s] | [ 79s] 14 | pkgmgr::server::Server::run(&mut server); [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] = note: `#[warn(unused_must_use)]` on by default [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 79s] | [ 79s] 93 | admin_service.run(); [ 79s] | ^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 93 | let _ = admin_service.run(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 79s] | [ 79s] 95 | cache_service.run(); [ 79s] | ^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 95 | let _ = cache_service.run(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 79s] | [ 79s] 97 | info_service.run(); [ 79s] | ^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 97 | let _ = info_service.run(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 79s] | [ 79s] 99 | delayed_result_service.run(); [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 99 | let _ = delayed_result_service.run(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 79s] | [ 79s] 109 | admin_service.stop(); [ 79s] | ^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 109 | let _ = admin_service.stop(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 79s] | [ 79s] 110 | cache_service.stop(); [ 79s] | ^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 110 | let _ = cache_service.stop(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 79s] | [ 79s] 111 | info_service.stop(); [ 79s] | ^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 111 | let _ = info_service.stop(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused `Result` that must be used [ 79s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 79s] | [ 79s] 112 | delayed_result_service.stop(); [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] = note: this `Result` may be an `Err` variant, which should be handled [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 112 | let _ = delayed_result_service.stop(); [ 79s] | +++++++ [ 79s] [ 79s] warning: unused return value of `std::mem::size_of` that must be used [ 79s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 79s] | [ 79s] 40 | mem::size_of::(); [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 79s] | [ 79s] help: use `let _ = ...` to ignore the resulting value [ 79s] | [ 79s] 40 | let _ = mem::size_of::(); [ 79s] | +++++++ [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 79s] | [ 79s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 79s] | [ 79s] = note: `#[warn(non_snake_case)]` on by default [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 79s] | [ 79s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 79s] | [ 79s] 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... [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 79s] | [ 79s] 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... [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 79s] | [ 79s] 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... [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 79s] [ 79s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 79s] | [ 79s] 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... [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 79s] | [ 79s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 79s] | [ 79s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 79s] | [ 79s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 79s] | [ 79s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 79s] | [ 79s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 79s] [ 79s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 79s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 79s] | [ 79s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 79s] [ 79s] warning: method `IsPackageReadonly` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:389:12 [ 79s] | [ 79s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 79s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 79s] [ 79s] warning: method `GetPackageType` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:420:12 [ 79s] | [ 79s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 79s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 79s] [ 79s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:473:17 [ 79s] | [ 79s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 79s] [ 79s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:478:17 [ 79s] | [ 79s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 79s] [ 79s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:483:17 [ 79s] | [ 79s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 79s] [ 79s] warning: constant `type_map` should have an upper case name [ 79s] --> ./src/pkgmgr/server/util.rs:623:15 [ 79s] | [ 79s] 623 | const type_map : [[&str; 2]; 3] = [ [ 79s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 79s] | [ 79s] = note: `#[warn(non_upper_case_globals)]` on by default [ 79s] [ 79s] warning: method `GenerateRequestId` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:646:12 [ 79s] | [ 79s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 79s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 79s] [ 79s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:657:12 [ 79s] | [ 79s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 79s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 79s] [ 79s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:680:12 [ 79s] | [ 79s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 79s] [ 79s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:686:12 [ 79s] | [ 79s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 79s] [ 79s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:696:12 [ 79s] | [ 79s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 79s] [ 79s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:706:12 [ 79s] | [ 79s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 79s] [ 79s] warning: method `EnableApp` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:728:12 [ 79s] | [ 79s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 79s] [ 79s] warning: method `DisableApp` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:738:12 [ 79s] | [ 79s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 79s] [ 79s] warning: method `EnableGlobalApp` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:747:12 [ 79s] | [ 79s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 79s] [ 79s] warning: method `DisableGlobalApp` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:757:12 [ 79s] | [ 79s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 79s] [ 79s] warning: method `EnableAppSplashScreen` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:766:12 [ 79s] | [ 79s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 79s] [ 79s] warning: method `DisableAppSplashScreen` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:775:12 [ 79s] | [ 79s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 79s] [ 79s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:784:12 [ 79s] | [ 79s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 79s] [ 79s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:793:12 [ 79s] | [ 79s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 79s] [ 79s] warning: method `KillApp` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:813:12 [ 79s] | [ 79s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 79s] [ 79s] warning: method `KillAppsInPkg` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:835:12 [ 79s] | [ 79s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 79s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 79s] [ 79s] warning: method `IsAdminUser` should have a snake case name [ 79s] --> ./src/pkgmgr/server/util.rs:855:8 [ 79s] | [ 79s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 79s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 79s] [ 79s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 79s] | [ 79s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 79s] | [ 79s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 79s] [ 79s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 79s] | [ 79s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 79s] | [ 79s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 79s] | [ 79s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 79s] | [ 79s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 79s] | [ 79s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 79s] | [ 79s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 79s] | [ 79s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 79s] | [ 79s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 79s] | [ 79s] 65 | fn KillApp_test_return_0_from_running() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 79s] | [ 79s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 79s] | [ 79s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 79s] | [ 79s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 79s] | [ 79s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 79s] | [ 79s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 79s] | [ 79s] 92 | fn KillApp_test_return_0_from_end() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 79s] | [ 79s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 79s] | [ 79s] 104 | fn GetPackageType_test_return_new_from_all() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 79s] | [ 79s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 79s] | [ 79s] 111 | fn GetPackageType_test_return_new_from_type() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 79s] | [ 79s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 79s] | [ 79s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 79s] | [ 79s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 79s] | [ 79s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 79s] | [ 79s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 79s] | [ 79s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 79s] | [ 79s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 79s] | [ 79s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 79s] | [ 79s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 79s] | [ 79s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 79s] | [ 79s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 79s] | [ 79s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 79s] | [ 79s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 79s] | [ 79s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 79s] | [ 79s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 79s] | [ 79s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 79s] | [ 79s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 79s] | [ 79s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 79s] | [ 79s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 79s] | [ 79s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 79s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 79s] | [ 79s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 79s] | [ 79s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 79s] | [ 79s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 79s] | [ 79s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 79s] | [ 79s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 79s] | [ 79s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 79s] | [ 79s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 79s] [ 79s] warning: getting the inner pointer of a temporary `CString` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 79s] | [ 79s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 79s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 79s] | | [ 79s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 79s] | [ 79s] = 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 [ 79s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 79s] [ 79s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 79s] | [ 79s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 79s] [ 79s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 79s] | [ 79s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 79s] [ 79s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 79s] | [ 79s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 79s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 79s] [ 79s] warning: literal out of range for `i8` [ 79s] --> ./src/pkgmgr/server/test/util_tests.rs:287:28 [ 79s] | [ 79s] 287 | *y.offset(0) = 0xff [ 79s] | ^^^^ [ 79s] | [ 79s] = note: the literal `0xff` (decimal `255`) does not fit into the type `i8` and will become `-1i8` [ 79s] = help: consider using the type `u8` instead [ 79s] = note: `#[warn(overflowing_literals)]` on by default [ 79s] help: to use as a negative number (decimal `-1`), consider using the type `u8` for the literal and cast it to `i8` [ 79s] | [ 79s] 287 | *y.offset(0) = 0xffu8 as i8 [ 79s] | ~~~~~~~~~~~~ [ 79s] [ 98s] warning: 736 warnings emitted [ 98s] [ 98s] + exit 0 [ 98s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eWl2x4 [ 98s] + umask 022 [ 98s] + cd /home/abuild/rpmbuild/BUILD [ 98s] + cd pkgmgr-server-1.0.15 [ 98s] + LANG=C [ 98s] + export LANG [ 98s] + unset DISPLAY [ 98s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 98s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 98s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 install [ 98s] /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 [ 98s] /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 [ 98s] /bin/make -f CMakeFiles/Makefile2 all [ 98s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 98s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] 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= [ 98s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 98s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 98s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] [ 50%] Built target tidl_pkgmgr_server [ 98s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 98s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] 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= [ 98s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 98s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 98s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] [100%] Built target util_pkgmgr_server [ 98s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 98s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 98s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] make[1]: Nothing to be done for 'preinstall'. [ 98s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 98s] Install the project... [ 98s] /usr/bin/cmake -P cmake_install.cmake [ 98s] -- Install configuration: "" [ 98s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.service [ 98s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.socket [ 98s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 98s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 98s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/info/dir [ 98s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.la$' [ 98s] + xargs rm -f -- [ 98s] + xargs rm -f -- [ 98s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.a$' [ 98s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/basic.target.wants [ 98s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants [ 98s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 98s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin [ 98s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 98s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/etc/package-manager/server [ 98s] + _target= [ 98s] + _symlinks=0 [ 98s] + _files=() [ 98s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 98s] + read _file [ 98s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 99s] 1+0 records in [ 99s] 1+0 records out [ 99s] 1+0 records in [ 99s] 1+0 records out [ 99s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 99s] 1+0 records in [ 99s] 1+0 records out [ 99s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 99s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 99s] 0+0 records in [ 99s] 0+0 records out [ 99s] 0+0 records in [ 99s] 0+0 records out [ 99s] 0+0 records in [ 99s] 0+0 records out [ 99s] 797 blocks [ 99s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 99s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 99s] + /usr/lib/rpm/check-buildroot [ 99s] + /usr/lib/rpm//brp-compress [ 99s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 100s] + /usr/lib/rpm/brp-python-hardlink [ 100s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 100s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 100s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 100s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 100s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 100s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZJhyav [ 100s] + umask 022 [ 100s] + cd /home/abuild/rpmbuild/BUILD [ 100s] + cd pkgmgr-server-1.0.15 [ 100s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 100s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 100s] + RUST_BACKTRACE=1 [ 100s] + RUST_TEST_THREADS=1 [ 100s] + ./unittests_rust_pkgmgr_server [ 100s] [ 100s] running 35 tests [ 101s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 101s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 102s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 102s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 102s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 102s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 103s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 103s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 103s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 103s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 103s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 103s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 103s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 103s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 103s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 103s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 103s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 103s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 103s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 103s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 103s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 103s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 103s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 103s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 103s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 103s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 103s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 103s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 103s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 103s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 103s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 103s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 103s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 103s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 103s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 103s] [ 103s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.43s [ 103s] [ 103s] + exit 0 [ 103s] Processing files: pkgmgr-server-1.0.15-1.x86_64 [ 103s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 103s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 103s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 103s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 103s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 103s] [ 103s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.I0lyR7 [ 103s] + umask 022 [ 103s] + cd /home/abuild/rpmbuild/BUILD [ 103s] + cd pkgmgr-server-1.0.15 [ 103s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 103s] + export LC_ALL=C [ 103s] + LC_ALL=C [ 103s] + export LICENSEDIR [ 103s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 103s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 103s] + exit 0 [ 103s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(x86-64) = 1.0.15-1 [ 103s] Requires(interp): /bin/sh [ 103s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 103s] Requires(post): /bin/sh [ 103s] Requires: libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-fcf70ff533b679b2.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 103s] Processing files: pkgmgr-server-debugsource-1.0.15-1.x86_64 [ 103s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 103s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 103s] [ 103s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 103s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 103s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.x86_64 [ 103s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 103s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 103s] [ 103s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(x86-64) = 1.0.15-1 [ 103s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 103s] Recommends: pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 103s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 103s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 103s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-1.0.15-1.x86_64.rpm [ 103s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debugsource-1.0.15-1.x86_64.rpm [ 104s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debuginfo-1.0.15-1.x86_64.rpm [ 104s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qYTGUN [ 104s] + umask 022 [ 104s] + cd /home/abuild/rpmbuild/BUILD [ 104s] + cd pkgmgr-server-1.0.15 [ 104s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 104s] + exit 0 [ 104s] ... checking for files with abuild user/group [ 104s] ... creating baselibs [ 104s] [ 104s] ip-192-168-56-33 finished "build pkgmgr-server.spec" at Wed Dec 18 12:56:14 UTC 2024. [ 104s]