[INFO] fetching crate libipld-core 0.16.0... [INFO] checking libipld-core-0.16.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate libipld-core 0.16.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate libipld-core 0.16.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libipld-core 0.16.0 [INFO] finished tweaking crates.io crate libipld-core 0.16.0 [INFO] tweaked toml for crates.io crate libipld-core 0.16.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.14.7 [INFO] [stderr] Downloaded crypto-common v0.1.6 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded digest v0.10.7 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded multihash v0.18.1 [INFO] [stderr] Downloaded constant_time_eq v0.3.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.14 [INFO] [stderr] Downloaded cid v0.10.1 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded blake3 v1.5.1 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.12 [INFO] [stderr] Downloaded arrayref v0.3.7 [INFO] [stderr] Downloaded serde-big-array v0.3.3 [INFO] [stderr] Downloaded block-buffer v0.10.4 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded multihash-derive v0.8.1 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f5132bed5dbb620a6049bd8e23ca7a071aac071b18e2d40b6fb0bc5e6a1a77e [INFO] running `Command { std: "docker" "start" "-a" "6f5132bed5dbb620a6049bd8e23ca7a071aac071b18e2d40b6fb0bc5e6a1a77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f5132bed5dbb620a6049bd8e23ca7a071aac071b18e2d40b6fb0bc5e6a1a77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5132bed5dbb620a6049bd8e23ca7a071aac071b18e2d40b6fb0bc5e6a1a77e", kill_on_drop: false }` [INFO] [stdout] 6f5132bed5dbb620a6049bd8e23ca7a071aac071b18e2d40b6fb0bc5e6a1a77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4174bcbb59eacf1485c42f24465d996f096b7760b8584b41f075dcb13dde77f8 [INFO] running `Command { std: "docker" "start" "-a" "4174bcbb59eacf1485c42f24465d996f096b7760b8584b41f075dcb13dde77f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libipld-core v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{format, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{format, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/codec.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/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] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/convert.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/convert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/convert.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/convert.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/convert.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ipld.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/ipld.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/ipld.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ipld.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipld.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/raw.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{format, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/raw.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{format, string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Ipld` is imported redundantly [INFO] [stdout] --> src/codec.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::*; [INFO] [stdout] | -------- the item `Ipld` is already imported here [INFO] [stdout] 112 | use crate::ipld::Ipld; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/raw.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, iter::Extend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/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] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/convert.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/convert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Extend` is imported redundantly [INFO] [stdout] --> src/raw.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, iter::Extend}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/convert.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/convert.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/convert.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/error.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{string::String, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/ipld.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/ipld.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/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] error: the item `String` is imported redundantly [INFO] [stdout] --> src/ipld.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ipld.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | string::{String, ToString}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipld.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cid` is imported redundantly [INFO] [stdout] --> src/ipld.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `Cid` is already imported here [INFO] [stdout] 197 | use crate::cid::Cid; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/raw.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/raw.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, iter::Extend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/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] error: the item `Extend` is imported redundantly [INFO] [stdout] --> src/raw.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, iter::Extend}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Box` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{boxed::Box, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/raw_value.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{convert::TryFrom, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/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] error: using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type [INFO] [stdout] --> src/codec.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | self.deref().encode(c, w) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(suspicious_double_ref_op)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-core` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type [INFO] [stdout] --> src/codec.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | self.deref().encode(c, w) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(suspicious_double_ref_op)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-core` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "4174bcbb59eacf1485c42f24465d996f096b7760b8584b41f075dcb13dde77f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4174bcbb59eacf1485c42f24465d996f096b7760b8584b41f075dcb13dde77f8", kill_on_drop: false }` [INFO] [stdout] 4174bcbb59eacf1485c42f24465d996f096b7760b8584b41f075dcb13dde77f8