[INFO] fetching crate cyfs-base 0.6.12... [INFO] testing cyfs-base-0.6.12 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate cyfs-base 0.6.12 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cyfs-base 0.6.12 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded intbits v0.2.0 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded int-enum-impl v0.4.0 [INFO] [stderr] Downloaded cyfs-base-derive v0.5.0 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded int-enum v0.4.0 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded cyfs-ecies v0.1.4 [INFO] [stderr] Downloaded lru_time_cache v0.11.11 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded impl-codec v0.5.1 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded num-bigint v0.2.6 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded bitvec v0.20.4 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded rusqlite v0.27.0 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Downloaded hkdf v0.8.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded protoc-bin-vendored v3.0.0 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded protoc-rust v2.28.0 [INFO] [stderr] Downloaded simple_logger v2.3.0 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded rsa-export v0.1.2 [INFO] [stderr] Downloaded zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.24.2 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5024299be9d84a2f63b4f506eb84f8c858f11ea396563a9bf85a81fa1d557f81 [INFO] running `Command { std: "docker" "start" "-a" "5024299be9d84a2f63b4f506eb84f8c858f11ea396563a9bf85a81fa1d557f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5024299be9d84a2f63b4f506eb84f8c858f11ea396563a9bf85a81fa1d557f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5024299be9d84a2f63b4f506eb84f8c858f11ea396563a9bf85a81fa1d557f81", kill_on_drop: false }` [INFO] [stdout] 5024299be9d84a2f63b4f506eb84f8c858f11ea396563a9bf85a81fa1d557f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1156b82f69fd616170dfe2908a4771a996badc7aa49d25109ea9fc95fc0c796a [INFO] running `Command { std: "docker" "start" "-a" "1156b82f69fd616170dfe2908a4771a996badc7aa49d25109ea9fc95fc0c796a", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling event-listener v5.1.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling async-io v2.3.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling rusqlite v0.27.0 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling cyfs-base-derive v0.5.0 [INFO] [stderr] Compiling int-enum v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling intbits v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.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 block-buffer v0.7.3 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rsa-export v0.1.2 [INFO] [stderr] Compiling cyfs-ecies v0.1.4 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling lru_time_cache v0.11.11 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10m 38s [INFO] running `Command { std: "docker" "inspect" "1156b82f69fd616170dfe2908a4771a996badc7aa49d25109ea9fc95fc0c796a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1156b82f69fd616170dfe2908a4771a996badc7aa49d25109ea9fc95fc0c796a", kill_on_drop: false }` [INFO] [stdout] 1156b82f69fd616170dfe2908a4771a996badc7aa49d25109ea9fc95fc0c796a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35513c90b66d7768a55049ff4886dd87a2be6ca4f35f4ae81e3b280356f96166 [INFO] running `Command { std: "docker" "start" "-a" "35513c90b66d7768a55049ff4886dd87a2be6ca4f35f4ae81e3b280356f96166", kill_on_drop: false }` [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SocketAddr` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:584:46 [INFO] [stdout] | [INFO] [stdout] 583 | use crate::*; [INFO] [stdout] | -------- the item `SocketAddr` is already imported here [INFO] [stdout] 584 | use async_std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvSessionIDHelper` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::OpEnvSessionIDHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvSessionIDHelper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SizeU32` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1154:24 [INFO] [stdout] | [INFO] [stdout] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `SizeU32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SizedOwnedData` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1154:33 [INFO] [stdout] | [INFO] [stdout] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `SizedOwnedData` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AesKey` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `AesKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashValue` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1155:33 [INFO] [stdout] | [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `HashValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U32` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1157:34 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `U32` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U48` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1157:39 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `U48` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GenericArray` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1158:9 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `GenericArray` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] 1158 | use generic_array::GenericArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1159 | use crate::objects::raw_diff::RawDiff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [INFO] [stdout] | ~~ [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "35513c90b66d7768a55049ff4886dd87a2be6ca4f35f4ae81e3b280356f96166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35513c90b66d7768a55049ff4886dd87a2be6ca4f35f4ae81e3b280356f96166", kill_on_drop: false }` [INFO] [stdout] 35513c90b66d7768a55049ff4886dd87a2be6ca4f35f4ae81e3b280356f96166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4499cf0fecd4c0136a8b5247f267a4b5650d1a4e21d4e3cc2833134644f4b9d5 [INFO] running `Command { std: "docker" "start" "-a" "4499cf0fecd4c0136a8b5247f267a4b5650d1a4e21d4e3cc2833134644f4b9d5", kill_on_drop: false }` [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `IpAddr` is imported redundantly [INFO] [stderr] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `IpAddr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/serde_codec.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/json_codec.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/crypto/hash.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/crypto/hash.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/crypto/public_key.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryInto` is imported redundantly [INFO] [stderr] --> src/base/access_string.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryInto` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDecode` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawDecode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncode` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:60 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawFixedBytes` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `IpAddr` is imported redundantly [INFO] [stderr] --> src/base/name.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `IpAddr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 5 | use std::net::IpAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/action.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/app_group.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] 2 | use crate::objects::*; [INFO] [stderr] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/app_group.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDecode` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawDecode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncode` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawEncode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:60 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawFixedBytes` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Into` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | convert::{Into, TryFrom}, [INFO] [stderr] | ^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Into` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | convert::{Into, TryFrom}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDiff` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:302:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawDiff` is already imported here [INFO] [stderr] ... [INFO] [stderr] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `RawPatch` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawPatch` is already imported here [INFO] [stderr] ... [INFO] [stderr] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/contract.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/device.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/diff.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/dir.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/file.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/named_object_id.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/objects/object_id.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/object_id.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMap` is imported redundantly [INFO] [stderr] --> src/objects/object_map/cache.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use super::visitor::*; [INFO] [stderr] 3 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMap` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stderr] --> src/objects/object_map/cache.rs:1:36 [INFO] [stderr] | [INFO] [stderr] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 2 | use super::visitor::*; [INFO] [stderr] 3 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRef` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stderr] | [INFO] [stderr] 2041 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use super::root::ObjectMapRootHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | use super::object_map::*; [INFO] [stderr] 4 | use crate::*; [INFO] [stderr] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stderr] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::root::ObjectMapRootHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/object_typeless.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/org.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/people.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/proof_of_service.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/simple_group.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/tx.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/union_account.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/unique_id.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] ... [INFO] [stderr] 6 | use base58::ToBase58; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [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] 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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 1718 | pub struct SizedSharedData<'de>(()); [INFO] [stderr] | ~~ [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stderr] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:938:9 [INFO] [stderr] | [INFO] [stderr] 938 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `SocketAddr` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:584:46 [INFO] [stderr] | [INFO] [stderr] 583 | use crate::*; [INFO] [stderr] | -------- the item `SocketAddr` is already imported here [INFO] [stderr] 584 | use async_std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:422:9 [INFO] [stderr] | [INFO] [stderr] 422 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/device.rs:418:9 [INFO] [stderr] | [INFO] [stderr] 418 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvSessionIDHelper` is imported redundantly [INFO] [stderr] --> src/objects/object_map/op_env.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | use super::OpEnvSessionIDHelper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 110 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvSessionIDHelper` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SizeU32` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1154:24 [INFO] [stderr] | [INFO] [stderr] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `SizeU32` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SizedOwnedData` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1154:33 [INFO] [stderr] | [INFO] [stderr] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `SizedOwnedData` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `AesKey` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1155:25 [INFO] [stderr] | [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `AesKey` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `HashValue` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1155:33 [INFO] [stderr] | [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `HashValue` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `U32` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1157:34 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `U32` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `U48` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1157:39 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `U48` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `GenericArray` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1158:9 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `GenericArray` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] 1158 | use generic_array::GenericArray; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `RawDiff` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1159:9 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `RawDiff` is already imported here [INFO] [stderr] ... [INFO] [stderr] 1159 | use crate::objects::raw_diff::RawDiff; [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: `cyfs-base` (lib) generated 105 warnings (run `cargo fix --lib -p cyfs-base` to apply 2 suggestions) [INFO] [stderr] warning: `cyfs-base` (lib test) generated 113 warnings (89 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cyfs_base-94e340d43a8d9ec1) [INFO] [stdout] [INFO] [stdout] running 79 tests [INFO] [stdout] test base::access_string::test::main ... ok [INFO] [stdout] test base::access_string::test::test_access_permissons ... ok [INFO] [stdout] test base::error::tests::test_io_error ... ok [INFO] [stdout] test base::error::tests::test_error ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_protobuf ... ok [INFO] [stdout] test base::time::test ... ok [INFO] [stdout] test base::endpoint::test::test_codec ... ok [INFO] [stdout] test codec::protobuf::test::test_codec ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_helper ... ok [INFO] [stdout] test base::error::tests::test_codec ... ok [INFO] [stdout] test base::endpoint::test::endpoint ... ok [INFO] [stdout] test base::base36::test::test ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_hash_set ... ok [INFO] [stdout] test codec::raw::raw_codec::test::test_hash ... ok [INFO] [stdout] test codec::raw::raw_types::usize_x ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_hash_map ... 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::aes::test_aes::test ... ok [INFO] [stdout] test crypto::hash::test::test ... 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 crypto::signature::test::signature ... ok [INFO] [stdout] test objects::app_group::test::app_group ... ok [INFO] [stdout] test objects::area::test_area::test ... ok [INFO] [stdout] test objects::action::test::action ... ok [INFO] [stdout] test objects::any::tests::test_any ... ok [INFO] [stdout] test objects::area::test_area::test_str ... ok [INFO] [stdout] test objects::contract::test::contract ... ok [INFO] [stdout] test objects::area::test_area::test_object_id ... ok [INFO] [stdout] test objects::chunk::test::chunk ... ok [INFO] [stdout] test objects::device::test::device_load_test ... ok [INFO] [stdout] test objects::diff::test::diff ... ok [INFO] [stdout] test objects::dir::test::dir ... ok [INFO] [stdout] test objects::device::test::test_decode ... ok [INFO] [stdout] test objects::file::test_file::file ... ok [INFO] [stdout] test objects::file::test_file::test_codec ... ok [INFO] [stdout] test objects::object_id::test::test_data ... ok [INFO] [stdout] test objects::dir::test::test_fix_limit ... ok [INFO] [stdout] test objects::object_map::access::test::test ... ok [INFO] [stdout] test objects::object_map::diff::test_path_diff::test ... ok [INFO] [stdout] test objects::object_map::iterator::test::test ... ok [INFO] [stdout] test objects::device::test::device ... ok [INFO] [stdout] test crypto::private_key::test::crypto_unaligned ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_hash ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_hub_fix_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_path_string ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_simple_map_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_simple_set_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test_desc_limit::object_map_desc_max_size ... ok [INFO] [stdout] test objects::object_map::op_env::test_root::test_fn ... ok [INFO] [stdout] test objects::object_map::op_env::test_sid::test_sid ... ok [INFO] [stdout] test objects::object_map::path::test_path::test ... ok [INFO] [stdout] test objects::object_map::path::test_path::test_full_path ... ok [INFO] [stdout] test objects::object_map::diff::test::test ... ok [INFO] [stdout] test objects::object_typeless::test::typeless ... ok [INFO] [stdout] test objects::org::test::org ... ok [INFO] [stdout] test codec::format::test ... FAILED [INFO] [stdout] test objects::object_map::path_iterator::test::test ... ok [INFO] [stdout] test objects::people::test::test_codec_with_author ... ok [INFO] [stdout] test objects::people::test::test_codec ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_generic_array_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_aes_key_diff ... ok [INFO] [stdout] test crypto::public_key::test::public_key ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_optoin_t_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_sizedowneddata_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_string_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_str_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_hashvalue_diff ... ok [INFO] [stdout] test objects::simple_group::test::simple_group ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_vec_diff ... ok [INFO] [stdout] test objects::union_account::test::union_account ... ok [INFO] [stdout] test objects::unique_id::test::test_codec ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_u8_diff_patch ... ok [INFO] [stdout] test objects::people::test::people ... ok [INFO] [stdout] test objects::object_map::object_map::test::test ... ok [INFO] [stdout] test crypto::private_key::test::crypto ... ok [INFO] [stdout] test crypto::private_key::test::private_key ... ok [INFO] [stdout] test objects::object_map::lock::test_lock::test ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- codec::format::test stdout ---- [INFO] [stdout] {"content":{"hash_value":"0000000000000000000000000000000000000000000000000000000000000000","len":"100"},"create_time":"0","object_category":"standard","object_id":"7Tk94YfJYVX9FfnKrsxaiF7oNfprdiwAR1fVit8XBRcA","object_type":8,"object_type_code":"File","owner":"11111111111111111111111111111111"} [INFO] [stdout] new device obj: {"body":{"content":{"bdt_version":2,"endpoints":[],"passive_pn_list":[],"sn_list":[]},"update_time":"2024-02-28T20:28:54.632052+00:00,13353625734632052"},"desc":{"area":{"carrier":2,"city":3,"country":1,"inner":0},"content":{"unique_id":"1111111111111111"},"create_time":"2024-02-28T20:28:54.632051+00:00,13353625734632051","object_category":"standard","object_id":"5aUiNsqRMxdrQk8ZGGkvVEMkSTJMePasW8nkKbWMh3s1","object_type":1,"object_type_code":"Device","owner":"11111111111111111111111111111111","public_key":{"raw_data":"0030818902818100def8191ff4834b0fbb58ebca7b45fe6502b4d753fb0e124a7c34eb063f9fd38eb5257131538acebf5c6578fa81bc205e5a29e0be9b006b8a71890fd651975463687454d4d146ab533068391edbfa93889fc7f8b61b57f166d69f4849c3f1411b93c24e668b9fef1bb3b7ed0c2cca42974a0b1b7867fe05b8202f8f7f98d8feb9020301000100000000000000000000000000000000000000000000","type":"rsa"}}} [INFO] [stdout] thread 'codec::format::test' panicked at src/codec/format.rs:917:114: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "err: (NotFound, io_error: No such file or directory (os error 2), Some(IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" })))" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b45a7c7d16 - std::backtrace_rs::backtrace::libunwind::trace::h68e08e31a5edd928 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55b45a7c7d16 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8e4d3186f828cab [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b45a7c7d16 - std::sys_common::backtrace::_print_fmt::hdcdca1c0665ccefc [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55b45a7c7d16 - ::fmt::h752651e67cc277a4 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55b45a7f2cec - core::fmt::rt::Argument::fmt::h4e7c3e22f7386287 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55b45a7f2cec - core::fmt::write::hd44b1d45ba162e21 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55b45a7c52af - std::io::Write::write_fmt::hdb67a49a0754f939 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55b45a7c7ac4 - std::sys_common::backtrace::_print::hbca331de1381491f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55b45a7c7ac4 - std::sys_common::backtrace::print::hade58077d78c625d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55b45a7c97bb - std::panicking::default_hook::{{closure}}::hc9f80a2cdc6be4c4 [INFO] [stdout] 10: 0x55b45a7c948d - std::panicking::default_hook::h1fc68886dc215416 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55b45a70ac57 - as core::ops::function::Fn>::call::ha16821620acc0367 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x55b45a70ac57 - test::test_main::{{closure}}::h1a3ed7cd910c2945 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55b45a7c9df0 - as core::ops::function::Fn>::call::he260753ff79c0e70 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x55b45a7c9df0 - std::panicking::rust_panic_with_hook::heff73da0ddd67492 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x55b45a7c9b32 - std::panicking::begin_panic_handler::{{closure}}::h141137f9c7de1e02 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x55b45a7c81f6 - std::sys_common::backtrace::__rust_end_short_backtrace::hbde4e66d30db627d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55b45a7c9864 - rust_begin_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x55b45a4a65f5 - core::panicking::panic_fmt::h92fcc83e4972ca9b [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55b45a4a6ae3 - core::result::unwrap_failed::h788f2905cd2dc947 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1653:5 [INFO] [stdout] 20: 0x55b45a64e29f - core::result::Result::unwrap::h62049650865250d3 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1077:23 [INFO] [stdout] 21: 0x55b45a64e29f - cyfs_base::codec::format::test::hb5650bfe4f51f076 [INFO] [stdout] at /opt/rustwide/workdir/src/codec/format.rs:917:31 [INFO] [stdout] 22: 0x55b45a67e7a9 - cyfs_base::codec::format::test::{{closure}}::h870ee95bb3d55184 [INFO] [stdout] at /opt/rustwide/workdir/src/codec/format.rs:892:10 [INFO] [stdout] 23: 0x55b45a67e7a9 - core::ops::function::FnOnce::call_once::h37da22b2a21b7800 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55b45a7103bf - core::ops::function::FnOnce::call_once::hb5d425830acba2e8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55b45a7103bf - test::__rust_begin_short_backtrace::h8054e86d0f5ccc86 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x55b45a70efd0 - test::run_test_in_process::{{closure}}::h85d13cb166c10721 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x55b45a70efd0 - as core::ops::function::FnOnce<()>>::call_once::hc3dc86b8d5205a04 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55b45a70efd0 - std::panicking::try::do_call::hc17666b06748adad [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 29: 0x55b45a70efd0 - std::panicking::try::h1e9fba0c97684d1d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 30: 0x55b45a70efd0 - std::panic::catch_unwind::h8328c2da9899627c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x55b45a70efd0 - test::run_test_in_process::hf19a99f254958c9c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x55b45a70efd0 - test::run_test::{{closure}}::hba6ab6b94e515411 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 33: 0x55b45a6d7313 - test::run_test::{{closure}}::h6ac7c2253cb9cc0f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x55b45a6d7313 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4fbc53b7e758a6f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x55b45a6dc03f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha24970823708ac98 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 36: 0x55b45a6dc03f - as core::ops::function::FnOnce<()>>::call_once::h16db0733eff2a03c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55b45a6dc03f - std::panicking::try::do_call::hc2890dbc9a490eee [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 38: 0x55b45a6dc03f - std::panicking::try::ha67ad75b01f98422 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 39: 0x55b45a6dc03f - std::panic::catch_unwind::h26725df9ddb3fcd2 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x55b45a6dc03f - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0e59407b0ff3ed8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 41: 0x55b45a6dc03f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd4eb105f82d3bb8e [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55b45a7ce145 - as core::ops::function::FnOnce>::call_once::h28564f61ef15890d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x55b45a7ce145 - as core::ops::function::FnOnce>::call_once::h03728738d990d027 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x55b45a7ce145 - std::sys::pal::unix::thread::Thread::new::thread_start::heb455c9485795637 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc949cd9ac3 - [INFO] [stdout] 46: 0x7fc949d6abf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] codec::format::test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 78 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4499cf0fecd4c0136a8b5247f267a4b5650d1a4e21d4e3cc2833134644f4b9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4499cf0fecd4c0136a8b5247f267a4b5650d1a4e21d4e3cc2833134644f4b9d5", kill_on_drop: false }` [INFO] [stdout] 4499cf0fecd4c0136a8b5247f267a4b5650d1a4e21d4e3cc2833134644f4b9d5 [INFO] testing cyfs-base-0.6.12 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate cyfs-base 0.6.12 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cyfs-base 0.6.12 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67cd3e0ae0dcbb9e76184af083c269d25b06aea4f05bb607a0302e2798e3c4b9 [INFO] running `Command { std: "docker" "start" "-a" "67cd3e0ae0dcbb9e76184af083c269d25b06aea4f05bb607a0302e2798e3c4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67cd3e0ae0dcbb9e76184af083c269d25b06aea4f05bb607a0302e2798e3c4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67cd3e0ae0dcbb9e76184af083c269d25b06aea4f05bb607a0302e2798e3c4b9", kill_on_drop: false }` [INFO] [stdout] 67cd3e0ae0dcbb9e76184af083c269d25b06aea4f05bb607a0302e2798e3c4b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9809d6c7717dab0963e02d999e2ce77d06f153acca2850135ddce4ec5e51558a [INFO] running `Command { std: "docker" "start" "-a" "9809d6c7717dab0963e02d999e2ce77d06f153acca2850135ddce4ec5e51558a", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling event-listener v5.1.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling async-io v2.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling rusqlite v0.27.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling cyfs-base-derive v0.5.0 [INFO] [stderr] Compiling int-enum v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling intbits v0.2.0 [INFO] [stderr] Compiling lru_time_cache v0.11.11 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.4 [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 block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cyfs-ecies v0.1.4 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling rsa-export v0.1.2 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 54s [INFO] running `Command { std: "docker" "inspect" "9809d6c7717dab0963e02d999e2ce77d06f153acca2850135ddce4ec5e51558a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9809d6c7717dab0963e02d999e2ce77d06f153acca2850135ddce4ec5e51558a", kill_on_drop: false }` [INFO] [stdout] 9809d6c7717dab0963e02d999e2ce77d06f153acca2850135ddce4ec5e51558a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7586f0a729df78ead54ad15fdebc14cc6a10e087a856879f9e8a5de8ffd04576 [INFO] running `Command { std: "docker" "start" "-a" "7586f0a729df78ead54ad15fdebc14cc6a10e087a856879f9e8a5de8ffd04576", kill_on_drop: false }` [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cyfs-base v0.6.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/protobuf/protobuf_helper.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/serde_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec/json_codec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/base/access_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SocketAddr` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:584:46 [INFO] [stdout] | [INFO] [stdout] 583 | use crate::*; [INFO] [stdout] | -------- the item `SocketAddr` is already imported here [INFO] [stdout] 584 | use async_std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/base/endpoint.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/base/name.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/action.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] 2 | use crate::objects::*; [INFO] [stdout] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/app_group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDecode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawDecode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncode` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stdout] --> src/objects/area.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `RawFixedBytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Into, TryFrom}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawPatch` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RawPatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/chunk.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/device.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/diff.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/named_object_id.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `FromBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/object_id.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMap` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stdout] --> src/objects/object_map/cache.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::visitor::*; [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stdout] | [INFO] [stdout] 2041 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvSessionIDHelper` is imported redundantly [INFO] [stdout] --> src/objects/object_map/op_env.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::OpEnvSessionIDHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvSessionIDHelper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stdout] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use super::object_map::*; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::access::OpEnvPathAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stdout] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::root::ObjectMapRootHolder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/object_typeless.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/org.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/people.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/proof_of_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SizeU32` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1154:24 [INFO] [stdout] | [INFO] [stdout] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `SizeU32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SizedOwnedData` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1154:33 [INFO] [stdout] | [INFO] [stdout] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `SizedOwnedData` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AesKey` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `AesKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashValue` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1155:33 [INFO] [stdout] | [INFO] [stdout] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `HashValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U32` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1157:34 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `U32` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U48` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1157:39 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `U48` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GenericArray` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1158:9 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `GenericArray` is already imported here [INFO] [stdout] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stdout] 1158 | use generic_array::GenericArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawDiff` is imported redundantly [INFO] [stdout] --> src/objects/raw_diff.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1156 | use super::*; [INFO] [stdout] | -------- the item `RawDiff` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1159 | use crate::objects::raw_diff::RawDiff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/simple_group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/tx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/objects/union_account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToBase58` is imported redundantly [INFO] [stdout] --> src/objects/unique_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ToBase58` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use base58::ToBase58; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1718 | pub struct SizedSharedData<'de>(()); [INFO] [stdout] | ~~ [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stdout] | ~~ [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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "7586f0a729df78ead54ad15fdebc14cc6a10e087a856879f9e8a5de8ffd04576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7586f0a729df78ead54ad15fdebc14cc6a10e087a856879f9e8a5de8ffd04576", kill_on_drop: false }` [INFO] [stdout] 7586f0a729df78ead54ad15fdebc14cc6a10e087a856879f9e8a5de8ffd04576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41cca72a68d72ba81e848f3e433d6377a8fe394eb8b7224250823bdfa9984e81 [INFO] running `Command { std: "docker" "start" "-a" "41cca72a68d72ba81e848f3e433d6377a8fe394eb8b7224250823bdfa9984e81", kill_on_drop: false }` [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `IpAddr` is imported redundantly [INFO] [stderr] --> src/codec/raw/raw_types.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `IpAddr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 9 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/serde_codec.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/json_codec.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/crypto/hash.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/crypto/hash.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/crypto/public_key.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryInto` is imported redundantly [INFO] [stderr] --> src/base/access_string.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryInto` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDecode` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawDecode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncode` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:5:60 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawFixedBytes` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `IpAddr` is imported redundantly [INFO] [stderr] --> src/base/name.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `IpAddr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 5 | use std::net::IpAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/action.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/app_group.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] 2 | use crate::objects::*; [INFO] [stderr] 3 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/app_group.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDecode` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawDecode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncode` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawEncode` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawFixedBytes` is imported redundantly [INFO] [stderr] --> src/objects/area.rs:1:60 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codec::{RawDecode, RawEncode, RawEncodePurpose, RawFixedBytes}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 2 | use crate::*; [INFO] [stderr] | -------- the item `RawFixedBytes` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Into` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | convert::{Into, TryFrom}, [INFO] [stderr] | ^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Into` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | convert::{Into, TryFrom}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `RawDiff` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:302:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawDiff` is already imported here [INFO] [stderr] ... [INFO] [stderr] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `RawPatch` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `RawPatch` is already imported here [INFO] [stderr] ... [INFO] [stderr] 302 | use super::raw_diff::{RawDiff, RawPatch}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/contract.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/device.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/diff.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/dir.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/file.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/named_object_id.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `FromBase58` is imported redundantly [INFO] [stderr] --> src/objects/object_id.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `FromBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/object_id.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] 2 | [INFO] [stderr] 3 | use base58::{FromBase58, ToBase58}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMap` is imported redundantly [INFO] [stderr] --> src/objects/object_map/cache.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use super::visitor::*; [INFO] [stderr] 3 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMap` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRef` is imported redundantly [INFO] [stderr] --> src/objects/object_map/cache.rs:1:36 [INFO] [stderr] | [INFO] [stderr] 1 | use super::object_map::{ObjectMap, ObjectMapRef}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 2 | use super::visitor::*; [INFO] [stderr] 3 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRef` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RawEncodePurpose` is imported redundantly [INFO] [stderr] --> src/objects/object_map/object_map.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `RawEncodePurpose` is already imported here [INFO] [stderr] 7 | use crate::{RawDecode, RawEncode, RawEncodePurpose}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/object_map/object_map.rs:2041:5 [INFO] [stderr] | [INFO] [stderr] 2041 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/op_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_env.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use super::root::ObjectMapRootHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `IntoObjectMapContentItem` is imported redundantly [INFO] [stderr] --> src/objects/object_map/path_iterator.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use super::iterator::IntoObjectMapContentItem; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | use super::object_map::*; [INFO] [stderr] 4 | use crate::*; [INFO] [stderr] | -------- the item `IntoObjectMapContentItem` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/single_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvPathAccess` is imported redundantly [INFO] [stderr] --> src/objects/object_map/isolate_path_env.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::access::OpEnvPathAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvPathAccess` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ObjectMapRootHolder` is imported redundantly [INFO] [stderr] --> src/objects/object_map/isolate_path_env.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::root::ObjectMapRootHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use crate::*; [INFO] [stderr] | -------- the item `ObjectMapRootHolder` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/object_typeless.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/org.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/people.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/proof_of_service.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/simple_group.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/tx.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/union_account.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `ToBase58` is imported redundantly [INFO] [stderr] --> src/objects/unique_id.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | -------- the item `ToBase58` is already imported here [INFO] [stderr] ... [INFO] [stderr] 6 | use base58::ToBase58; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [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] 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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 1718 | pub struct SizedSharedData<'de>(()); [INFO] [stderr] | ~~ [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] = note: `NamedObjectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 | pub struct NamedObjectId(ObjectId, ()); [INFO] [stderr] | ~~ [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: 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: 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: use `let _ = ...` to ignore the expression or result [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/codec/protobuf/protobuf_helper.rs:938:9 [INFO] [stderr] | [INFO] [stderr] 938 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `SocketAddr` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:584:46 [INFO] [stderr] | [INFO] [stderr] 583 | use crate::*; [INFO] [stderr] | -------- the item `SocketAddr` is already imported here [INFO] [stderr] 584 | use async_std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/base/endpoint.rs:585:9 [INFO] [stderr] | [INFO] [stderr] 585 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/chunk.rs:422:9 [INFO] [stderr] | [INFO] [stderr] 422 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `TryFrom` is imported redundantly [INFO] [stderr] --> src/objects/device.rs:418:9 [INFO] [stderr] | [INFO] [stderr] 418 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryFrom` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `OpEnvSessionIDHelper` is imported redundantly [INFO] [stderr] --> src/objects/object_map/op_env.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | use super::OpEnvSessionIDHelper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 110 | use crate::*; [INFO] [stderr] | -------- the item `OpEnvSessionIDHelper` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SizeU32` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1154:24 [INFO] [stderr] | [INFO] [stderr] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `SizeU32` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SizedOwnedData` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1154:33 [INFO] [stderr] | [INFO] [stderr] 1154 | use crate::codec::{SizeU32, SizedOwnedData}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `SizedOwnedData` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `AesKey` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1155:25 [INFO] [stderr] | [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `AesKey` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `HashValue` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1155:33 [INFO] [stderr] | [INFO] [stderr] 1155 | use crate::crypto::{AesKey, HashValue}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `HashValue` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `U32` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1157:34 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `U32` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `U48` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1157:39 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `U48` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `GenericArray` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1158:9 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `GenericArray` is already imported here [INFO] [stderr] 1157 | use generic_array::typenum::{U32, U48}; [INFO] [stderr] 1158 | use generic_array::GenericArray; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `RawDiff` is imported redundantly [INFO] [stderr] --> src/objects/raw_diff.rs:1159:9 [INFO] [stderr] | [INFO] [stderr] 1156 | use super::*; [INFO] [stderr] | -------- the item `RawDiff` is already imported here [INFO] [stderr] ... [INFO] [stderr] 1159 | use crate::objects::raw_diff::RawDiff; [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: `cyfs-base` (lib) generated 105 warnings (run `cargo fix --lib -p cyfs-base` to apply 2 suggestions) [INFO] [stderr] warning: `cyfs-base` (lib test) generated 113 warnings (89 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cyfs_base-94e340d43a8d9ec1) [INFO] [stdout] [INFO] [stdout] running 79 tests [INFO] [stdout] test base::base36::test::test ... ok [INFO] [stdout] test base::endpoint::test::test_codec ... ok [INFO] [stdout] test base::endpoint::test::endpoint ... ok [INFO] [stdout] test base::error::tests::test_codec ... ok [INFO] [stdout] test base::access_string::test::main ... ok [INFO] [stdout] test base::access_string::test::test_access_permissons ... ok [INFO] [stdout] test base::error::tests::test_io_error ... ok [INFO] [stdout] test base::time::test ... ok [INFO] [stdout] test base::error::tests::test_error ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_protobuf ... 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_size ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_hash_set ... ok [INFO] [stdout] test codec::protobuf::protobuf_helper::test::test_helper ... ok [INFO] [stdout] test codec::raw::raw_types::raw_codec_test::test_string ... ok [INFO] [stdout] test codec::protobuf::test::test_codec ... ok [INFO] [stdout] test crypto::aes::test_aes::test ... 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::raw::raw_codec::test::test_hash ... ok [INFO] [stdout] test codec::serde_codec::test::test_codec ... ok [INFO] [stdout] test crypto::hash::test::test ... ok [INFO] [stdout] test objects::action::test::action ... ok [INFO] [stdout] test crypto::signature::test::signature ... 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] [stdout] test objects::area::test_area::test_object_id ... ok [INFO] [stdout] test objects::contract::test::contract ... ok [INFO] [stdout] test objects::chunk::test::chunk ... ok [INFO] [stdout] test objects::device::test::device_load_test ... ok [INFO] [stdout] test crypto::private_key::test::crypto_unaligned ... ok [INFO] [stdout] test objects::device::test::test_decode ... ok [INFO] [stdout] test objects::dir::test::dir ... ok [INFO] [stdout] test objects::diff::test::diff ... ok [INFO] [stdout] test objects::device::test::device ... ok [INFO] [stdout] test objects::file::test_file::file ... ok [INFO] [stdout] test objects::file::test_file::test_codec ... ok [INFO] [stdout] test objects::object_map::access::test::test ... ok [INFO] [stdout] test objects::object_id::test::test_data ... ok [INFO] [stdout] test objects::dir::test::test_fix_limit ... ok [INFO] [stdout] test objects::any::tests::test_any ... ok [INFO] [stdout] test objects::object_map::diff::test_path_diff::test ... ok [INFO] [stdout] test objects::object_map::iterator::test::test ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_hash ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_hub_fix_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_path_string ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_simple_map_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test::test_simple_set_limit ... ok [INFO] [stdout] test objects::object_map::object_map::test_desc_limit::object_map_desc_max_size ... ok [INFO] [stdout] test objects::object_map::op_env::test_root::test_fn ... ok [INFO] [stdout] test objects::object_map::op_env::test_sid::test_sid ... ok [INFO] [stdout] test objects::object_map::path::test_path::test ... ok [INFO] [stdout] test objects::object_map::path::test_path::test_full_path ... ok [INFO] [stdout] test objects::object_map::diff::test::test ... ok [INFO] [stdout] test objects::object_typeless::test::typeless ... ok [INFO] [stdout] test objects::org::test::org ... ok [INFO] [stdout] test objects::object_map::path_iterator::test::test ... ok [INFO] [stdout] test objects::people::test::test_codec ... ok [INFO] [stdout] test objects::people::test::test_codec_with_author ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_aes_key_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_generic_array_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_hashvalue_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_optoin_t_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_sizedowneddata_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_str_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_string_diff ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_u8_diff_patch ... ok [INFO] [stdout] test objects::raw_diff::test_diff::test_vec_diff ... ok [INFO] [stdout] test objects::simple_group::test::simple_group ... ok [INFO] [stdout] test objects::union_account::test::union_account ... ok [INFO] [stdout] test objects::unique_id::test::test_codec ... ok [INFO] [stdout] test codec::format::test ... FAILED [INFO] [stdout] test objects::people::test::people ... ok [INFO] [stdout] test crypto::public_key::test::public_key ... ok [INFO] [stdout] test objects::object_map::object_map::test::test ... ok [INFO] [stdout] test crypto::private_key::test::crypto ... ok [INFO] [stdout] test crypto::private_key::test::private_key ... ok [INFO] [stdout] test objects::object_map::lock::test_lock::test ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- codec::format::test stdout ---- [INFO] [stdout] {"content":{"hash_value":"0000000000000000000000000000000000000000000000000000000000000000","len":"100"},"create_time":"0","object_category":"standard","object_id":"7Tk94YfJYVX9FfnKrsxaiF7oNfprdiwAR1fVit8XBRcA","object_type":8,"object_type_code":"File","owner":"11111111111111111111111111111111"} [INFO] [stdout] new device obj: {"body":{"content":{"bdt_version":2,"endpoints":[],"passive_pn_list":[],"sn_list":[]},"update_time":"2024-02-28T20:40:27.625950+00:00,13353626427625950"},"desc":{"area":{"carrier":2,"city":3,"country":1,"inner":0},"content":{"unique_id":"1111111111111111"},"create_time":"2024-02-28T20:40:27.625949+00:00,13353626427625949","object_category":"standard","object_id":"5aUiNsqmvrtowPwJUL8yTDUtyCmSPH4LovPeFfrbyogS","object_type":1,"object_type_code":"Device","owner":"11111111111111111111111111111111","public_key":{"raw_data":"0030818902818100c136dc2b4e119f8b115f6fa8c4fa354ad266a03225591eb7456618dc1ac175bd4e7861fc573ea266b2abd406f34fa5335dfb46527d373b2e167db4a91a8fb5bff0c38c8d6bbb83d460fa9cca916eae65b31cd1f8764d69c9e8d672ea2c235cdaa26b3d16b9d7c870700219331138966d4bd9cb41782d685785eecc5a725eacab020301000100000000000000000000000000000000000000000000","type":"rsa"}}} [INFO] [stdout] thread 'codec::format::test' panicked at src/codec/format.rs:917:114: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "err: (NotFound, io_error: No such file or directory (os error 2), Some(IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" })))" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x562c59195dc6 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x562c59195dc6 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562c59195dc6 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x562c59195dc6 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x562c591c0eac - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x562c591c0eac - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x562c591932cf - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x562c59195b74 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x562c59195b74 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x562c5919786b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x562c5919753d - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x562c590d8c87 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x562c590d8c87 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x562c59197ea0 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x562c59197ea0 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x562c59197be2 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x562c591962a6 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x562c59197914 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x562c58e745f5 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x562c58e74ae3 - core::result::unwrap_failed::h4921228b49be0fef [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/result.rs:1653:5 [INFO] [stdout] 20: 0x562c5900295f - core::result::Result::unwrap::ha7a9e30e3057104b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/result.rs:1077:23 [INFO] [stdout] 21: 0x562c5900295f - cyfs_base::codec::format::test::h411f73dc5c5da211 [INFO] [stdout] at /opt/rustwide/workdir/src/codec/format.rs:917:31 [INFO] [stdout] 22: 0x562c5904d089 - cyfs_base::codec::format::test::{{closure}}::h18ca812f53d04678 [INFO] [stdout] at /opt/rustwide/workdir/src/codec/format.rs:892:10 [INFO] [stdout] 23: 0x562c5904d089 - core::ops::function::FnOnce::call_once::hdcf9d81284cc8e3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x562c590de48f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x562c590de48f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x562c590dd000 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x562c590dd000 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x562c590dd000 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 29: 0x562c590dd000 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 30: 0x562c590dd000 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x562c590dd000 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x562c590dd000 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 33: 0x562c590a5343 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x562c590a5343 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x562c590a9fdf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 36: 0x562c590a9fdf - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x562c590a9fdf - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 38: 0x562c590a9fdf - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 39: 0x562c590a9fdf - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x562c590a9fdf - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 41: 0x562c590a9fdf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x562c5919c215 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x562c5919c215 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x562c5919c215 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fa2e1634ac3 - [INFO] [stdout] 46: 0x7fa2e16c5bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] codec::format::test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 78 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "41cca72a68d72ba81e848f3e433d6377a8fe394eb8b7224250823bdfa9984e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41cca72a68d72ba81e848f3e433d6377a8fe394eb8b7224250823bdfa9984e81", kill_on_drop: false }` [INFO] [stdout] 41cca72a68d72ba81e848f3e433d6377a8fe394eb8b7224250823bdfa9984e81