[INFO] fetching crate cyfs-base 0.6.12... [INFO] checking cyfs-base-0.6.12 against master#dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 for pr-133502-4 [INFO] extracting crate cyfs-base 0.6.12 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate cyfs-base 0.6.12 on toolchain dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cyfs-base 0.6.12 [INFO] finished tweaking crates.io crate cyfs-base 0.6.12 [INFO] tweaked toml for crates.io crate cyfs-base 0.6.12 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 363 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.2.0) [INFO] [stderr] Adding int-enum v0.4.0 (available: v1.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding libsecp256k1 v0.3.5 (available: v0.7.2) [INFO] [stderr] Adding primitive-types v0.9.1 (available: v0.13.1) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.7.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding rsa v0.3.0 (available: v0.9.8) [INFO] [stderr] Adding rsa-export v0.1.2 (available: v0.3.3) [INFO] [stderr] Adding rusqlite v0.27.0 (available: v0.35.0) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.8) [INFO] [stderr] Adding simple_logger v2.3.0 (available: v5.0.0) [INFO] [stderr] Adding sqlx v0.5.13 (available: v0.8.5) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zip v0.6.6 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jobserver v0.1.33 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded impl-codec v0.5.1 [INFO] [stderr] Downloaded time-core v0.1.4 [INFO] [stderr] Downloaded crunchy v0.2.3 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded lru_time_cache v0.11.11 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded arrayvec v0.7.6 [INFO] [stderr] Downloaded base58 v0.2.0 [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded cyfs-ecies v0.1.4 [INFO] [stderr] Downloaded wyz v0.2.0 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded arrayref v0.3.9 [INFO] [stderr] Downloaded cyfs-base-derive v0.5.0 [INFO] [stderr] Downloaded int-enum v0.4.0 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded libm v0.2.13 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded rusqlite v0.27.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.24 [INFO] [stderr] Downloaded bitvec v0.20.4 [INFO] [stderr] Downloaded aes v0.7.5 [INFO] [stderr] Downloaded time v0.3.41 [INFO] [stderr] Downloaded async-process v2.3.0 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded itertools v0.10.5 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded aes v0.8.4 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded num-bigint v0.2.6 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded flate2 v1.1.1 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded async-recursion v1.1.1 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded cipher v0.3.0 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Downloaded hkdf v0.8.0 [INFO] [stderr] Downloaded async-attributes v1.1.2 [INFO] [stderr] Downloaded async-signal v0.2.10 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded funty v1.1.0 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded unicode-properties v0.1.3 [INFO] [stderr] Downloaded int-enum-impl v0.4.0 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded hmac v0.12.1 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded uint v0.9.5 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded intbits v0.2.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.3 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded crc32fast v1.4.2 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded rsa-export v0.1.2 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded simple_logger v2.3.0 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded time-macros v0.2.22 [INFO] [stderr] Downloaded zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded paste v1.0.15 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded cipher v0.4.4 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded pbkdf2 v0.11.0 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded crossbeam-queue v0.3.12 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded inout v0.1.4 [INFO] [stderr] Downloaded deranged v0.4.0 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Downloaded protoc-bin-vendored v3.1.0 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded protoc-rust v2.28.0 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-aarch_64 v3.1.0 [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-x86_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-aarch_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-win32 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-ppcle_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_32 v3.1.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37abc0f3c8facfff6d35954d0961016015721c01f66beb88676021c513cd54c8 [INFO] running `Command { std: "docker" "start" "-a" "37abc0f3c8facfff6d35954d0961016015721c01f66beb88676021c513cd54c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37abc0f3c8facfff6d35954d0961016015721c01f66beb88676021c513cd54c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37abc0f3c8facfff6d35954d0961016015721c01f66beb88676021c513cd54c8", kill_on_drop: false }` [INFO] [stdout] 37abc0f3c8facfff6d35954d0961016015721c01f66beb88676021c513cd54c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4efbe43a0fdeba89f8629d979787452f5bf17dbe5ad0facdda68f87e7ab4bbfd [INFO] running `Command { std: "docker" "start" "-a" "4efbe43a0fdeba89f8629d979787452f5bf17dbe5ad0facdda68f87e7ab4bbfd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.1.0 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling protoc-bin-vendored v3.1.0 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking time v0.2.27 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking simple_logger v2.3.0 [INFO] [stderr] Checking int-enum v0.4.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Compiling cyfs-base-derive v0.5.0 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking rsa-export v0.1.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking intbits v0.2.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking cyfs-ecies v0.1.4 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking rusqlite v0.27.0 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/cyfs-base-16a47c3ee7c3b3fc/out/empty_content.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/cyfs-base-16a47c3ee7c3b3fc/out/standard_objects.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/base/error.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `perf`, and `sqlx-error` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `IntEnum` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object_map::*` [INFO] [stdout] --> src/objects/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use object_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dummy::*` [INFO] [stdout] --> src/perf/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use dummy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/cyfs-base-16a47c3ee7c3b3fc/out/empty_content.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/cyfs-base-16a47c3ee7c3b3fc/out/standard_objects.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/base/error.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `perf`, and `sqlx-error` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `IntEnum` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object_map::*` [INFO] [stdout] --> src/objects/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use object_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dummy::*` [INFO] [stdout] --> src/perf/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use dummy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id` [INFO] [stdout] --> src/objects/object_map/object_map.rs:3417:13 [INFO] [stdout] | [INFO] [stdout] 3417 | let object_id = ObjectId::default(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputTarget` is never used [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | enum OutputTarget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodedOutputStream` is never constructed [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CodedOutputStream<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec/raw/raw_types.rs:1718:33 [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(&'de [u8]); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCESS_GROUP_MASK` is never used [INFO] [stdout] --> src/base/access_string.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const ACCESS_GROUP_MASK: u32 = 0b111 << 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_bdt_error_code` is never used [INFO] [stdout] --> src/base/error.rs:963:8 [INFO] [stdout] | [INFO] [stdout] 933 | impl BuckyError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 963 | fn convert_bdt_error_code(code: u32) -> BuckyErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/objects/named_object_id.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, Option>); [INFO] [stdout] | ------------- field in this struct ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obj_type` is never read [INFO] [stdout] --> src/objects/object.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct ObjectMutBody [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 456 | obj_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMutBody` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectMapMemoryNOCCache` is never constructed [INFO] [stdout] --> src/objects/object_map/cache.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct ObjectMapMemoryNOCCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/object_map/cache.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ObjectMapMemoryNOCCache { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new() -> ObjectMapNOCCacheRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `dec_id` are never read [INFO] [stdout] --> src/objects/object_map/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ObjectMapDiff { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | owner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | dec_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `expand_altered` and `diff_and_expand_recursive` are never used [INFO] [stdout] --> src/objects/object_map/diff.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 66 | impl ObjectMapDiff { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 720 | async fn expand_altered( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | async fn diff_and_expand_recursive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HubContentIterator` is never constructed [INFO] [stdout] --> src/objects/object_map/iterator.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | struct HubContentIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/objects/object_map/lock.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct PathLockMutex { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | lock: Arc>, [INFO] [stdout] 15 | guard: AsyncMutexGuardArc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_lock` and `check_lock_valid` are never used [INFO] [stdout] --> src/objects/object_map/lock.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl PathLockList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | fn find_lock(&self, path: &str, sid: u64) -> Option<(usize, &PathLockData)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn check_lock_valid(&self, req_list: Vec) -> BuckyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_lock_valid` and `try_lock` are never used [INFO] [stdout] --> src/objects/object_map/lock.rs:366:18 [INFO] [stdout] | [INFO] [stdout] 350 | impl ObjectMapPathLock { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub async fn check_lock_valid(&self, req_list: Vec) -> BuckyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub async fn try_lock(&self, req: PathLockRequest) -> BuckyResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/object_map/object_map.rs:1926:12 [INFO] [stdout] | [INFO] [stdout] 1925 | impl ObjectMapContentHashCacheImpl { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 1926 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/object_map/object_map.rs:1965:12 [INFO] [stdout] | [INFO] [stdout] 1964 | impl ObjectMapContentHashCache { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 1965 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_root` is never used [INFO] [stdout] --> src/objects/object_map/op_env.rs:685:14 [INFO] [stdout] | [INFO] [stdout] 685 | async fn update_root(update_root_fn: F) -> BuckyResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `format` are never used [INFO] [stdout] --> src/objects/object_typeless.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl TypelessObjectBodyContent { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 26 | fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn format(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sub_type` is never read [INFO] [stdout] --> src/objects/object_typeless.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1090 | pub struct TypelessObjectType { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 1091 | sub_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypelessObjectType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExtType` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1469:6 [INFO] [stdout] | [INFO] [stdout] 1469 | type ExtType = NamedObjType; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExtBuilder` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1470:6 [INFO] [stdout] | [INFO] [stdout] 1470 | type ExtBuilder = NamedObjectBuilder; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExtDesc` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1472:6 [INFO] [stdout] | [INFO] [stdout] 1472 | type ExtDesc = NamedObjectDesc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExtId` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1473:6 [INFO] [stdout] | [INFO] [stdout] 1473 | type ExtId = NamedObjectId; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Ext` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1474:6 [INFO] [stdout] | [INFO] [stdout] 1474 | type Ext = NamedObjectBase; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExtObjectDesc` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1476:7 [INFO] [stdout] | [INFO] [stdout] 1476 | trait ExtObjectDesc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExtObject` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1480:7 [INFO] [stdout] | [INFO] [stdout] 1480 | trait ExtObject { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contract_body` is never read [INFO] [stdout] --> src/objects/proof_of_service.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ServiceContract { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | contract_body: ServiceContractBody, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceContract` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `customer`, `service_type`, `service_start`, `service_end`, and `receipt_body` are never read [INFO] [stdout] --> src/objects/proof_of_service.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct ServiceReceipt { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 398 | customer: ObjectId, // 谁使用服务 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 399 | service_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 400 | service_start: u64, // 本凭证的开始时间 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 401 | service_end: u64, // 本凭证的结束时间 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 402 | receipt_body: ServiceReceiptBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceReceipt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 405 | impl ServiceReceipt { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 406 | fn new() -> ServiceReceipt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_SN_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:439:7 [INFO] [stdout] | [INFO] [stdout] 439 | const CONTRACT_SN_BODY_CODE: u8 = 0_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_TRAFFIC_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:440:7 [INFO] [stdout] | [INFO] [stdout] 440 | const CONTRACT_TRAFFIC_BODY_CODE: u8 = 1_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:441:7 [INFO] [stdout] | [INFO] [stdout] 441 | const CONTRACT_CHUNK_TRANS_BODY_CODE: u8 = 2_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_DSG_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:442:7 [INFO] [stdout] | [INFO] [stdout] 442 | const CONTRACT_DSG_BODY_CODE: u8 = 3_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_SN_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:443:7 [INFO] [stdout] | [INFO] [stdout] 443 | const RECEIPT_SN_BODY_CODE: u8 = 10_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_TRAFFIC_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | const RECEIPT_TRAFFIC_BODY_CODE: u8 = 11_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | const RECEIPT_CHUNK_TRANS_BODY_CODE: u8 = 12_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_DSG_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | const RECEIPT_DSG_BODY_CODE: u8 = 13_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_accept` and `is_refuse` are never used [INFO] [stdout] --> src/objects/proof_of_service.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 464 | impl SnServiceGrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 465 | pub fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn is_refuse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProofOfServiceBodyContentProofData` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 555 | type ProofOfServiceBodyContentProofData = ProofOfServiceBodyContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/base/error.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `IntEnum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_IntEnum_FOR_BuckySystemErrorCode` [INFO] [stdout] 48 | )] [INFO] [stdout] 49 | pub enum BuckySystemErrorCode { [INFO] [stdout] | -------------------- `BuckySystemErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `IntEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/dir.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | drop(list); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&dir::NDNObjectList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 313 - drop(list); [INFO] [stdout] 313 + let _ = list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/dir.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | ... drop(list); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut HashMap>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 321 - drop(list); [INFO] [stdout] 321 + let _ = list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_id.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | drop(hash_value); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 372 - drop(hash_value); [INFO] [stdout] 372 + let _ = hash_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/lock.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | drop(lock_item); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&PathLockData` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 284 - drop(lock_item); [INFO] [stdout] 284 + let _ = lock_item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/lock.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | drop(lock_item); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&PathLockData` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 339 - drop(lock_item); [INFO] [stdout] 339 + let _ = lock_item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1345:25 [INFO] [stdout] | [INFO] [stdout] 1345 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1345 - drop(solt); [INFO] [stdout] 1345 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1462:25 [INFO] [stdout] | [INFO] [stdout] 1462 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1462 - drop(solt); [INFO] [stdout] 1462 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1545:25 [INFO] [stdout] | [INFO] [stdout] 1545 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1545 - drop(solt); [INFO] [stdout] 1545 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1634:25 [INFO] [stdout] | [INFO] [stdout] 1634 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1634 - drop(solt); [INFO] [stdout] 1634 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/op_env.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | drop(value); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&ObjectMapOpEnvHolder` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 511 - drop(value); [INFO] [stdout] 511 + let _ = value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputTarget` is never used [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | enum OutputTarget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodedOutputStream` is never constructed [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CodedOutputStream<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec/raw/raw_types.rs:1718:33 [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(&'de [u8]); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `U22_MAX` is never used [INFO] [stdout] --> src/codec/raw/raw_types.rs:2299:15 [INFO] [stdout] | [INFO] [stdout] 2299 | const U22_MAX: u64 = (u32::MAX >> 10) as u64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCESS_GROUP_MASK` is never used [INFO] [stdout] --> src/base/access_string.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const ACCESS_GROUP_MASK: u32 = 0b111 << 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_bdt_error_code` is never used [INFO] [stdout] --> src/base/error.rs:963:8 [INFO] [stdout] | [INFO] [stdout] 933 | impl BuckyError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 963 | fn convert_bdt_error_code(code: u32) -> BuckyErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/objects/named_object_id.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, Option>); [INFO] [stdout] | ------------- field in this struct ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obj_type` is never read [INFO] [stdout] --> src/objects/object.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct ObjectMutBody [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 456 | obj_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMutBody` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `dec_id` are never read [INFO] [stdout] --> src/objects/object_map/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ObjectMapDiff { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | owner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | dec_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `expand_altered` and `diff_and_expand_recursive` are never used [INFO] [stdout] --> src/objects/object_map/diff.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 66 | impl ObjectMapDiff { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 720 | async fn expand_altered( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | async fn diff_and_expand_recursive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_next2` is never used [INFO] [stdout] --> src/objects/object_map/diff.rs:927:14 [INFO] [stdout] | [INFO] [stdout] 927 | async fn gen_next2(cache: &ObjectMapOpEnvCacheRef) -> ObjectId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HubContentIterator` is never constructed [INFO] [stdout] --> src/objects/object_map/iterator.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | struct HubContentIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/objects/object_map/lock.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct PathLockMutex { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | lock: Arc>, [INFO] [stdout] 15 | guard: AsyncMutexGuardArc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/object_map/object_map.rs:1926:12 [INFO] [stdout] | [INFO] [stdout] 1925 | impl ObjectMapContentHashCacheImpl { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 1926 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/object_map/object_map.rs:1965:12 [INFO] [stdout] | [INFO] [stdout] 1964 | impl ObjectMapContentHashCache { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 1965 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class` is never read [INFO] [stdout] --> src/objects/object_map/object_map.rs:3204:9 [INFO] [stdout] | [INFO] [stdout] 3202 | struct ObjectMapSlim { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 3203 | // 对象类别 [INFO] [stdout] 3204 | class: ObjectMapClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_set` is never used [INFO] [stdout] --> src/objects/object_map/object_map.rs:3323:14 [INFO] [stdout] | [INFO] [stdout] 3323 | async fn test_set() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `format` are never used [INFO] [stdout] --> src/objects/object_typeless.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl TypelessObjectBodyContent { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 26 | fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn format(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sub_type` is never read [INFO] [stdout] --> src/objects/object_typeless.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1090 | pub struct TypelessObjectType { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 1091 | sub_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypelessObjectType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to` is never used [INFO] [stdout] --> src/objects/object_typeless.rs:1482:8 [INFO] [stdout] | [INFO] [stdout] 1480 | trait ExtObject { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 1481 | fn new(owner: &PeopleId, author: &ObjectId, to: PeopleId) -> ExtBuilder; [INFO] [stdout] 1482 | fn to(&self) -> &PeopleId; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contract_body` is never read [INFO] [stdout] --> src/objects/proof_of_service.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ServiceContract { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | contract_body: ServiceContractBody, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceContract` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `customer`, `service_type`, `service_start`, `service_end`, and `receipt_body` are never read [INFO] [stdout] --> src/objects/proof_of_service.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct ServiceReceipt { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 398 | customer: ObjectId, // 谁使用服务 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 399 | service_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 400 | service_start: u64, // 本凭证的开始时间 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 401 | service_end: u64, // 本凭证的结束时间 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 402 | receipt_body: ServiceReceiptBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceReceipt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 405 | impl ServiceReceipt { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 406 | fn new() -> ServiceReceipt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_SN_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:439:7 [INFO] [stdout] | [INFO] [stdout] 439 | const CONTRACT_SN_BODY_CODE: u8 = 0_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_TRAFFIC_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:440:7 [INFO] [stdout] | [INFO] [stdout] 440 | const CONTRACT_TRAFFIC_BODY_CODE: u8 = 1_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:441:7 [INFO] [stdout] | [INFO] [stdout] 441 | const CONTRACT_CHUNK_TRANS_BODY_CODE: u8 = 2_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTRACT_DSG_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:442:7 [INFO] [stdout] | [INFO] [stdout] 442 | const CONTRACT_DSG_BODY_CODE: u8 = 3_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_SN_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:443:7 [INFO] [stdout] | [INFO] [stdout] 443 | const RECEIPT_SN_BODY_CODE: u8 = 10_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_TRAFFIC_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | const RECEIPT_TRAFFIC_BODY_CODE: u8 = 11_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | const RECEIPT_CHUNK_TRANS_BODY_CODE: u8 = 12_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECEIPT_DSG_BODY_CODE` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | const RECEIPT_DSG_BODY_CODE: u8 = 13_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_accept` and `is_refuse` are never used [INFO] [stdout] --> src/objects/proof_of_service.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 464 | impl SnServiceGrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 465 | pub fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn is_refuse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProofOfServiceBodyContentProofData` is never used [INFO] [stdout] --> src/objects/proof_of_service.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 555 | type ProofOfServiceBodyContentProofData = ProofOfServiceBodyContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/base/error.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `IntEnum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_IntEnum_FOR_BuckySystemErrorCode` [INFO] [stdout] 48 | )] [INFO] [stdout] 49 | pub enum BuckySystemErrorCode { [INFO] [stdout] | -------------------- `BuckySystemErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `IntEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/dir.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | drop(list); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&dir::NDNObjectList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 313 - drop(list); [INFO] [stdout] 313 + let _ = list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/dir.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | ... drop(list); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut HashMap>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 321 - drop(list); [INFO] [stdout] 321 + let _ = list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_id.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | drop(hash_value); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [u8]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 372 - drop(hash_value); [INFO] [stdout] 372 + let _ = hash_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/lock.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | drop(lock_item); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&PathLockData` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 284 - drop(lock_item); [INFO] [stdout] 284 + let _ = lock_item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/lock.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | drop(lock_item); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&PathLockData` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 339 - drop(lock_item); [INFO] [stdout] 339 + let _ = lock_item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1345:25 [INFO] [stdout] | [INFO] [stdout] 1345 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1345 - drop(solt); [INFO] [stdout] 1345 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1462:25 [INFO] [stdout] | [INFO] [stdout] 1462 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1462 - drop(solt); [INFO] [stdout] 1462 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1545:25 [INFO] [stdout] | [INFO] [stdout] 1545 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1545 - drop(solt); [INFO] [stdout] 1545 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/object_map.rs:1634:25 [INFO] [stdout] | [INFO] [stdout] 1634 | drop(solt); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1634 - drop(solt); [INFO] [stdout] 1634 + let _ = solt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/objects/object_map/op_env.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | drop(value); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&ObjectMapOpEnvHolder` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 511 - drop(value); [INFO] [stdout] 511 + let _ = value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "4efbe43a0fdeba89f8629d979787452f5bf17dbe5ad0facdda68f87e7ab4bbfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efbe43a0fdeba89f8629d979787452f5bf17dbe5ad0facdda68f87e7ab4bbfd", kill_on_drop: false }` [INFO] [stdout] 4efbe43a0fdeba89f8629d979787452f5bf17dbe5ad0facdda68f87e7ab4bbfd