[INFO] fetching crate cyfs-base 0.6.12... [INFO] testing cyfs-base-0.6.12 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] extracting crate cyfs-base 0.6.12 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate cyfs-base 0.6.12 on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 358 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.0) [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.34.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.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zip v0.6.6 (available: v2.2.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsa-export v0.1.2 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded protoc-bin-vendored v3.1.0 [INFO] [stderr] Downloaded protoc-rust v2.28.0 [INFO] [stderr] Downloaded intbits v0.2.0 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded cyfs-ecies v0.1.4 [INFO] [stderr] Downloaded cyfs-base-derive v0.5.0 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-aarch_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-x86_64 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-win32 v3.1.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-aarch_64 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9625061a9c9de21cfa3899b2d7f39612ef1fecb42c6b1e6f37a9b2fa9d14ce90 [INFO] running `Command { std: "docker" "start" "-a" "9625061a9c9de21cfa3899b2d7f39612ef1fecb42c6b1e6f37a9b2fa9d14ce90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9625061a9c9de21cfa3899b2d7f39612ef1fecb42c6b1e6f37a9b2fa9d14ce90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9625061a9c9de21cfa3899b2d7f39612ef1fecb42c6b1e6f37a9b2fa9d14ce90", kill_on_drop: false }` [INFO] [stdout] 9625061a9c9de21cfa3899b2d7f39612ef1fecb42c6b1e6f37a9b2fa9d14ce90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40990f8a3353df18efd8c497f3677d356ae27585dced5fa5a057687101f34cc [INFO] running `Command { std: "docker" "start" "-a" "a40990f8a3353df18efd8c497f3677d356ae27585dced5fa5a057687101f34cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.1.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.1.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling protoc-bin-vendored v3.1.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling cyfs-base-derive v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling cyfs-ecies v0.1.4 [INFO] [stderr] Compiling rsa-export v0.1.2 [INFO] [stderr] Compiling int-enum v0.4.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling intbits v0.2.0 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling rusqlite v0.27.0 [INFO] [stderr] Compiling lru_time_cache v0.11.11 [INFO] [stderr] Compiling base-x v0.2.11 [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-54e38d0c590e07f8/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-54e38d0c590e07f8/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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "a40990f8a3353df18efd8c497f3677d356ae27585dced5fa5a057687101f34cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40990f8a3353df18efd8c497f3677d356ae27585dced5fa5a057687101f34cc", kill_on_drop: false }` [INFO] [stdout] a40990f8a3353df18efd8c497f3677d356ae27585dced5fa5a057687101f34cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a25321302e2a8d4f1a82c98c4b6dc8bd213dcf18971cd12679b50e999103e258 [INFO] running `Command { std: "docker" "start" "-a" "a25321302e2a8d4f1a82c98c4b6dc8bd213dcf18971cd12679b50e999103e258", kill_on_drop: false }` [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-54e38d0c590e07f8/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-54e38d0c590e07f8/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: 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] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [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: 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-54e38d0c590e07f8/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-54e38d0c590e07f8/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 `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 `test` profile [unoptimized + debuginfo] target(s) in 26.20s [INFO] running `Command { std: "docker" "inspect" "a25321302e2a8d4f1a82c98c4b6dc8bd213dcf18971cd12679b50e999103e258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25321302e2a8d4f1a82c98c4b6dc8bd213dcf18971cd12679b50e999103e258", kill_on_drop: false }` [INFO] [stdout] a25321302e2a8d4f1a82c98c4b6dc8bd213dcf18971cd12679b50e999103e258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 747448ff921d4dcac68bbb3bd6f0f90fcb5f6d5165ac513909d74c2b81715233 [INFO] running `Command { std: "docker" "start" "-a" "747448ff921d4dcac68bbb3bd6f0f90fcb5f6d5165ac513909d74c2b81715233", kill_on_drop: false }` [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/cyfs-base-54e38d0c590e07f8/out/empty_content.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/cyfs-base-54e38d0c590e07f8/out/standard_objects.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/base/error.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `perf`, and `sqlx-error` [INFO] [stderr] = 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] [stderr] = help: try referring to `IntEnum` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `object_map::*` [INFO] [stderr] --> src/objects/mod.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub use object_map::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `dummy::*` [INFO] [stderr] --> src/perf/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use dummy::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `OutputTarget` is never used [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | enum OutputTarget<'a> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `CodedOutputStream` is never constructed [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct CodedOutputStream<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/codec/raw/raw_types.rs:1718:33 [INFO] [stderr] | [INFO] [stderr] 1718 | pub struct SizedSharedData<'de>(&'de [u8]); [INFO] [stderr] | --------------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: constant `ACCESS_GROUP_MASK` is never used [INFO] [stderr] --> src/base/access_string.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const ACCESS_GROUP_MASK: u32 = 0b111 << 29; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `convert_bdt_error_code` is never used [INFO] [stderr] --> src/base/error.rs:963:8 [INFO] [stderr] | [INFO] [stderr] 933 | impl BuckyError { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 963 | fn convert_bdt_error_code(code: u32) -> BuckyErrorCode { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/objects/named_object_id.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct NamedObjectId(ObjectId, Option>); [INFO] [stderr] | ------------- field in this struct ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `obj_type` is never read [INFO] [stderr] --> src/objects/object.rs:456:5 [INFO] [stderr] | [INFO] [stderr] 447 | pub struct ObjectMutBody [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 456 | obj_type: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ObjectMutBody` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ObjectMapMemoryNOCCache` is never constructed [INFO] [stderr] --> src/objects/object_map/cache.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | pub(crate) struct ObjectMapMemoryNOCCache { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/objects/object_map/cache.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 59 | impl ObjectMapMemoryNOCCache { [INFO] [stderr] | ---------------------------- associated function in this implementation [INFO] [stderr] 60 | pub fn new() -> ObjectMapNOCCacheRef { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `owner` and `dec_id` are never read [INFO] [stderr] --> src/objects/object_map/diff.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct ObjectMapDiff { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 33 | owner: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 34 | dec_id: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `expand_altered` and `diff_and_expand_recursive` are never used [INFO] [stderr] --> src/objects/object_map/diff.rs:720:14 [INFO] [stderr] | [INFO] [stderr] 66 | impl ObjectMapDiff { [INFO] [stderr] | ------------------ associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 720 | async fn expand_altered( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 796 | async fn diff_and_expand_recursive( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HubContentIterator` is never constructed [INFO] [stderr] --> src/objects/object_map/iterator.rs:342:8 [INFO] [stderr] | [INFO] [stderr] 342 | struct HubContentIterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `guard` is never read [INFO] [stderr] --> src/objects/object_map/lock.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | struct PathLockMutex { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 14 | lock: Arc>, [INFO] [stderr] 15 | guard: AsyncMutexGuardArc, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `find_lock` and `check_lock_valid` are never used [INFO] [stderr] --> src/objects/object_map/lock.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 54 | impl PathLockList { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 95 | fn find_lock(&self, path: &str, sid: u64) -> Option<(usize, &PathLockData)> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn check_lock_valid(&self, req_list: Vec) -> BuckyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `check_lock_valid` and `try_lock` are never used [INFO] [stderr] --> src/objects/object_map/lock.rs:366:18 [INFO] [stderr] | [INFO] [stderr] 350 | impl ObjectMapPathLock { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 366 | pub async fn check_lock_valid(&self, req_list: Vec) -> BuckyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 370 | pub async fn try_lock(&self, req: PathLockRequest) -> BuckyResult<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/objects/object_map/object_map.rs:1926:12 [INFO] [stderr] | [INFO] [stderr] 1925 | impl ObjectMapContentHashCacheImpl { [INFO] [stderr] | ---------------------------------- associated function in this implementation [INFO] [stderr] 1926 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/objects/object_map/object_map.rs:1965:12 [INFO] [stderr] | [INFO] [stderr] 1964 | impl ObjectMapContentHashCache { [INFO] [stderr] | ------------------------------ associated function in this implementation [INFO] [stderr] 1965 | pub fn new(object_id: ObjectId) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_root` is never used [INFO] [stderr] --> src/objects/object_map/op_env.rs:685:14 [INFO] [stderr] | [INFO] [stderr] 685 | async fn update_root(update_root_fn: F) -> BuckyResult<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `version` and `format` are never used [INFO] [stderr] --> src/objects/object_typeless.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 25 | impl TypelessObjectBodyContent { [INFO] [stderr] | ------------------------------ methods in this implementation [INFO] [stderr] 26 | fn version(&self) -> u8 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | fn format(&self) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `sub_type` is never read [INFO] [stderr] --> src/objects/object_typeless.rs:1091:5 [INFO] [stderr] | [INFO] [stderr] 1090 | pub struct TypelessObjectType { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 1091 | sub_type: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypelessObjectType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: type alias `ExtType` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1469:6 [INFO] [stderr] | [INFO] [stderr] 1469 | type ExtType = NamedObjType; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ExtBuilder` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1470:6 [INFO] [stderr] | [INFO] [stderr] 1470 | type ExtBuilder = NamedObjectBuilder; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ExtDesc` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1472:6 [INFO] [stderr] | [INFO] [stderr] 1472 | type ExtDesc = NamedObjectDesc; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ExtId` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1473:6 [INFO] [stderr] | [INFO] [stderr] 1473 | type ExtId = NamedObjectId; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Ext` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1474:6 [INFO] [stderr] | [INFO] [stderr] 1474 | type Ext = NamedObjectBase; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ExtObjectDesc` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1476:7 [INFO] [stderr] | [INFO] [stderr] 1476 | trait ExtObjectDesc { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ExtObject` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1480:7 [INFO] [stderr] | [INFO] [stderr] 1480 | trait ExtObject { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `contract_body` is never read [INFO] [stderr] --> src/objects/proof_of_service.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 159 | pub struct ServiceContract { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 170 | contract_body: ServiceContractBody, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceContract` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `customer`, `service_type`, `service_start`, `service_end`, and `receipt_body` are never read [INFO] [stderr] --> src/objects/proof_of_service.rs:398:5 [INFO] [stderr] | [INFO] [stderr] 397 | pub struct ServiceReceipt { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 398 | customer: ObjectId, // 谁使用服务 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 399 | service_type: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 400 | service_start: u64, // 本凭证的开始时间 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 401 | service_end: u64, // 本凭证的结束时间 [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 402 | receipt_body: ServiceReceiptBody, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceReceipt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:406:8 [INFO] [stderr] | [INFO] [stderr] 405 | impl ServiceReceipt { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 406 | fn new() -> ServiceReceipt { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONTRACT_SN_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:439:7 [INFO] [stderr] | [INFO] [stderr] 439 | const CONTRACT_SN_BODY_CODE: u8 = 0_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONTRACT_TRAFFIC_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:440:7 [INFO] [stderr] | [INFO] [stderr] 440 | const CONTRACT_TRAFFIC_BODY_CODE: u8 = 1_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONTRACT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:441:7 [INFO] [stderr] | [INFO] [stderr] 441 | const CONTRACT_CHUNK_TRANS_BODY_CODE: u8 = 2_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONTRACT_DSG_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:442:7 [INFO] [stderr] | [INFO] [stderr] 442 | const CONTRACT_DSG_BODY_CODE: u8 = 3_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RECEIPT_SN_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:443:7 [INFO] [stderr] | [INFO] [stderr] 443 | const RECEIPT_SN_BODY_CODE: u8 = 10_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RECEIPT_TRAFFIC_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:444:7 [INFO] [stderr] | [INFO] [stderr] 444 | const RECEIPT_TRAFFIC_BODY_CODE: u8 = 11_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RECEIPT_CHUNK_TRANS_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:445:7 [INFO] [stderr] | [INFO] [stderr] 445 | const RECEIPT_CHUNK_TRANS_BODY_CODE: u8 = 12_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RECEIPT_DSG_BODY_CODE` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:446:7 [INFO] [stderr] | [INFO] [stderr] 446 | const RECEIPT_DSG_BODY_CODE: u8 = 13_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_accept` and `is_refuse` are never used [INFO] [stderr] --> src/objects/proof_of_service.rs:465:12 [INFO] [stderr] | [INFO] [stderr] 464 | impl SnServiceGrade { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] 465 | pub fn is_accept(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 468 | pub fn is_refuse(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ProofOfServiceBodyContentProofData` is never used [INFO] [stderr] --> src/objects/proof_of_service.rs:555:6 [INFO] [stderr] | [INFO] [stderr] 555 | type ProofOfServiceBodyContentProofData = ProofOfServiceBodyContent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/base/error.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | Debug, Clone, Copy, Eq, IntEnum, PartialEq, RawEncode, RawDecode, Serialize, Deserialize, [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `IntEnum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_IntEnum_FOR_BuckySystemErrorCode` [INFO] [stderr] 48 | )] [INFO] [stderr] 49 | pub enum BuckySystemErrorCode { [INFO] [stderr] | -------------------- `BuckySystemErrorCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `IntEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/dir.rs:313:21 [INFO] [stderr] | [INFO] [stderr] 313 | drop(list); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&dir::NDNObjectList` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 313 - drop(list); [INFO] [stderr] 313 + let _ = list; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/dir.rs:321:33 [INFO] [stderr] | [INFO] [stderr] 321 | ... drop(list); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut HashMap>` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 321 - drop(list); [INFO] [stderr] 321 + let _ = list; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_id.rs:372:9 [INFO] [stderr] | [INFO] [stderr] 372 | drop(hash_value); [INFO] [stderr] | ^^^^^----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut [u8]` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 372 - drop(hash_value); [INFO] [stderr] 372 + let _ = hash_value; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/lock.rs:284:13 [INFO] [stderr] | [INFO] [stderr] 284 | drop(lock_item); [INFO] [stderr] | ^^^^^---------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&PathLockData` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 284 - drop(lock_item); [INFO] [stderr] 284 + let _ = lock_item; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/lock.rs:339:13 [INFO] [stderr] | [INFO] [stderr] 339 | drop(lock_item); [INFO] [stderr] | ^^^^^---------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&PathLockData` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 339 - drop(lock_item); [INFO] [stderr] 339 + let _ = lock_item; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1345:25 [INFO] [stderr] | [INFO] [stderr] 1345 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1345 - drop(solt); [INFO] [stderr] 1345 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1462:25 [INFO] [stderr] | [INFO] [stderr] 1462 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1462 - drop(solt); [INFO] [stderr] 1462 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1545:25 [INFO] [stderr] | [INFO] [stderr] 1545 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1545 - drop(solt); [INFO] [stderr] 1545 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1634:25 [INFO] [stderr] | [INFO] [stderr] 1634 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1634 - drop(solt); [INFO] [stderr] 1634 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/op_env.rs:511:9 [INFO] [stderr] | [INFO] [stderr] 511 | drop(value); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&ObjectMapOpEnvHolder` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 511 - drop(value); [INFO] [stderr] 511 + let _ = value; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `object_id` [INFO] [stderr] --> src/objects/object_map/object_map.rs:3417:13 [INFO] [stderr] | [INFO] [stderr] 3417 | let object_id = ObjectId::default(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `U22_MAX` is never used [INFO] [stderr] --> src/codec/raw/raw_types.rs:2299:15 [INFO] [stderr] | [INFO] [stderr] 2299 | const U22_MAX: u64 = (u32::MAX >> 10) as u64; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gen_next2` is never used [INFO] [stderr] --> src/objects/object_map/diff.rs:927:14 [INFO] [stderr] | [INFO] [stderr] 927 | async fn gen_next2(cache: &ObjectMapOpEnvCacheRef) -> ObjectId { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `class` is never read [INFO] [stderr] --> src/objects/object_map/object_map.rs:3204:9 [INFO] [stderr] | [INFO] [stderr] 3202 | struct ObjectMapSlim { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 3203 | // 对象类别 [INFO] [stderr] 3204 | class: ObjectMapClass, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_set` is never used [INFO] [stderr] --> src/objects/object_map/object_map.rs:3323:14 [INFO] [stderr] | [INFO] [stderr] 3323 | async fn test_set() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to` is never used [INFO] [stderr] --> src/objects/object_typeless.rs:1482:8 [INFO] [stderr] | [INFO] [stderr] 1480 | trait ExtObject { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 1481 | fn new(owner: &PeopleId, author: &ObjectId, to: PeopleId) -> ExtBuilder; [INFO] [stderr] 1482 | fn to(&self) -> &PeopleId; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1345:25 [INFO] [stderr] | [INFO] [stderr] 1345 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1345 - drop(solt); [INFO] [stderr] 1345 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1462:25 [INFO] [stderr] | [INFO] [stderr] 1462 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1462 - drop(solt); [INFO] [stderr] 1462 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1545:25 [INFO] [stderr] | [INFO] [stderr] 1545 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1545 - drop(solt); [INFO] [stderr] 1545 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/objects/object_map/object_map.rs:1634:25 [INFO] [stderr] | [INFO] [stderr] 1634 | drop(solt); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut objects::object_map::object_map::ObjectMapHubItem` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1634 - drop(solt); [INFO] [stderr] 1634 + let _ = solt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cyfs-base` (lib) generated 56 warnings (run `cargo fix --lib -p cyfs-base` to apply 2 suggestions) [INFO] [stderr] warning: `cyfs-base` (lib test) generated 50 warnings (40 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cyfs_base-7390b062874238ba) [INFO] [stdout] [INFO] [stdout] running 79 tests [INFO] [stdout] test base::access_string::test::test_access_permissons ... ok [INFO] [stdout] test base::base36::test::test ... ok [INFO] [stdout] test base::endpoint::test::endpoint ... ok [INFO] [stdout] test base::endpoint::test::test_codec ... ok [INFO] [stdout] test base::error::tests::test_codec ... ok [INFO] [stdout] test base::error::tests::test_error ... ok [INFO] [stdout] test base::error::tests::test_io_error ... ok [INFO] [stdout] test base::access_string::test::main ... ok [INFO] [stdout] test base::time::test ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_helper ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_protobuf ... ok [INFO] [stdout] test codec::protobuf::test::test_codec ... ok [INFO] [stdout] test codec::raw::raw_codec::test::test_hash ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_hash_map ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_hash_set ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_size ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_string ... ok [INFO] [stdout] test codec::raw::raw_types::usize_x ... ok [INFO] [stdout] test codec::serde_codec::test::test_bucky_error_codec ... ok [INFO] [stdout] test codec::serde_codec::test::test_codec ... ok [INFO] [stdout] test crypto::hash::test::test ... ok [INFO] [stdout] test crypto::aes::test_aes::test ... ok [INFO] [stdout] test crypto::signature::test::signature ... ok [INFO] [stdout] test objects::action::test::action ... ok [INFO] [stdout] test objects::app_group::test::app_group ... ok [INFO] [stdout] test objects::area::test_area::test ... ok [INFO] [stdout] test objects::area::test_area::test_str ... ok [INFO] [stderr] [INFO] [stderr] thread 'objects::chunk::test::chunk' panicked at src/objects/chunk.rs:229:13: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7fbd24bfed39 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5bd78d794702 - std::backtrace_rs::backtrace::libunwind::trace::hf010e1dbae51cb72 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5bd78d794702 - std::backtrace_rs::backtrace::trace_unsynchronized::hfea1b1ce70c8ef04 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5bd78d794702 - std::sys::backtrace::_print_fmt::h2997a50d2484a6a6 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5bd78d794702 - ::fmt::h7fb80f6afbe41a33 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5bd78d7bfff3 - core::fmt::rt::Argument::fmt::hd3a68c3e7e846625 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/rt.rs:185:76 [INFO] [stderr] 5: 0x5bd78d7bfff3 - core::fmt::write::h000527be0eea6fe8 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/mod.rs:1449:21 [INFO] [stderr] 6: 0x5bd78d790e53 - std::io::Write::write_fmt::h4991a22851475fb5 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/io/mod.rs:1890:15 [INFO] [stderr] 7: 0x5bd78d794552 - std::sys::backtrace::BacktraceLock::print::hffad87dde00cbe3e [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5bd78d795baa - std::panicking::default_hook::{{closure}}::ha46397973bec1239 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:298:22 [INFO] [stderr] 9: 0x5bd78d795947 - std::panicking::default_hook::h706de72a1550eed4 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:325:9 [INFO] [stderr] 10: 0x5bd78d4c5ac7 - as core::ops::function::Fn>::call::hde091e5c6e92bb68 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 11: 0x5bd78d4c5ac7 - test::test_main::{{closure}}::h769424ff54c41197 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:136:21 [INFO] [stderr] 12: 0x5bd78d796693 - as core::ops::function::Fn>::call::hbd7480c9dddf3315 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 13: 0x5bd78d796693 - std::panicking::rust_panic_with_hook::h6666776865bd21f5 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:839:13 [INFO] [stderr] 14: 0x5bd78d79634a - std::panicking::begin_panic_handler::{{closure}}::hb8595612365d24db [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:704:13 [INFO] [stderr] 15: 0x5bd78d794bf9 - std::sys::backtrace::__rust_end_short_backtrace::h7037f177c7ae4ed3 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 16: 0x5bd78d795fdd - rust_begin_unwind [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:695:5 [INFO] [stderr] 17: 0x5bd78d7bd66d - core::panicking::panic_nounwind_fmt::runtime::h3bacbb0a716553d3 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:117:22 [INFO] [stderr] 18: 0x5bd78d7bd66d - core::panicking::panic_nounwind_fmt::h7a99b39f868c13ec [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/intrinsics/mod.rs:3089:9 [INFO] [stderr] 19: 0x5bd78d7bd8ba - core::panicking::panic_misaligned_pointer_dereference::h95c651ab856e3313 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:286:5 [INFO] [stderr] 20: 0x5bd78d3e3658 - cyfs_base::objects::chunk::ChunkId::new::h8e11cb4d33c81f47 [INFO] [stderr] at /opt/rustwide/workdir/src/objects/chunk.rs:229:13 [INFO] [stderr] 21: 0x5bd78d26339f - cyfs_base::objects::chunk::test::chunk::h89b7dab218d49a51 [INFO] [stderr] at /opt/rustwide/workdir/src/objects/chunk.rs:429:24 [INFO] [stderr] 22: 0x5bd78d263357 - cyfs_base::objects::chunk::test::chunk::{{closure}}::hd1ccdbff37dbf50e [INFO] [stderr] at /opt/rustwide/workdir/src/objects/chunk.rs:427:15 [INFO] [stderr] 23: 0x5bd78d147686 - core::ops::function::FnOnce::call_once::ha3b88c2b1bc84a91 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 24: 0x5bd78d4cb3cb - core::ops::function::FnOnce::call_once::h537cb3ba0681a85d [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 25: 0x5bd78d4cb3cb - test::__rust_begin_short_backtrace::ha34590b284b8a909 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:638:18 [INFO] [stderr] 26: 0x5bd78d4ca465 - test::run_test_in_process::{{closure}}::h7e5cb0195a5ea6a6 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:60 [INFO] [stderr] 27: 0x5bd78d4ca465 - as core::ops::function::FnOnce<()>>::call_once::h4fd7826f39023efe [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 28: 0x5bd78d4ca465 - std::panicking::try::do_call::h840562177f324507 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stderr] 29: 0x5bd78d4ca465 - std::panicking::try::h2360ed2f8f8e7bd8 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stderr] 30: 0x5bd78d4ca465 - std::panic::catch_unwind::h98cd8da2f8eb8f7b [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x5bd78d4ca465 - test::run_test_in_process::hcd6b1143eaf140ef [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:27 [INFO] [stderr] 32: 0x5bd78d4ca465 - test::run_test::{{closure}}::h12da0337272887dc [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:582:43 [INFO] [stderr] 33: 0x5bd78d48d454 - test::run_test::{{closure}}::h11d537cad5364bdc [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:612:41 [INFO] [stderr] 34: 0x5bd78d48d454 - std::sys::backtrace::__rust_begin_short_backtrace::h5f533949825eb644 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 35: 0x5bd78d490eba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf8cffede9b676267 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 36: 0x5bd78d490eba - as core::ops::function::FnOnce<()>>::call_once::h3160424131f9b05b [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 37: 0x5bd78d490eba - std::panicking::try::do_call::h4821f856f783960c [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stderr] 38: 0x5bd78d490eba - std::panicking::try::hd6726363e8162e27 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stderr] 39: 0x5bd78d490eba - std::panic::catch_unwind::hb75a27d7bd2912cb [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stderr] 40: 0x5bd78d490eba - std::thread::Builder::spawn_unchecked_::{{closure}}::h36d5666a81748b85 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 41: 0x5bd78d490eba - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha3d6556f1deabcaf [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 42: 0x5bd78d799dcb - as core::ops::function::FnOnce>::call_once::h454485597884df01 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 43: 0x5bd78d799dcb - as core::ops::function::FnOnce>::call_once::h421b8b5dc09cf3b4 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 44: 0x5bd78d799dcb - std::sys::pal::unix::thread::Thread::new::thread_start::ha1530b93ff336c49 [INFO] [stderr] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stderr] 45: 0x7fbd24d0cac3 - [INFO] [stderr] 46: 0x7fbd24d9da04 - clone [INFO] [stderr] 47: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cyfs_base-7390b062874238ba` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "747448ff921d4dcac68bbb3bd6f0f90fcb5f6d5165ac513909d74c2b81715233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747448ff921d4dcac68bbb3bd6f0f90fcb5f6d5165ac513909d74c2b81715233", kill_on_drop: false }` [INFO] [stdout] 747448ff921d4dcac68bbb3bd6f0f90fcb5f6d5165ac513909d74c2b81715233