[INFO] fetching crate sp-cid 0.3.0...
[INFO] checking sp-cid-0.3.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate sp-cid 0.3.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate sp-cid 0.3.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sp-cid 0.3.0
[INFO] finished tweaking crates.io crate sp-cid 0.3.0
[INFO] tweaked toml for crates.io crate sp-cid 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytecursor v0.1.2
[INFO] [stderr]   Downloaded sp-std v3.0.0
[INFO] [stderr]   Downloaded quickcheck v0.9.2
[INFO] [stderr]   Downloaded parity-scale-codec-derive v2.3.1
[INFO] [stderr]   Downloaded env_logger v0.7.1
[INFO] [stderr]   Downloaded blake2s_simd v0.5.11
[INFO] [stderr]   Downloaded blake3 v0.3.8
[INFO] [stderr]   Downloaded parity-scale-codec v2.3.1
[INFO] [stderr]   Downloaded sp-multihash v0.2.0
[INFO] [stderr]   Downloaded sp-multihash-derive v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d193dad74948c9af67a94a61b7eadab1e0ffa55f3b9fee59c54bf12b7fbdc2b4
[INFO] running `Command { std: "docker" "start" "-a" "d193dad74948c9af67a94a61b7eadab1e0ffa55f3b9fee59c54bf12b7fbdc2b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d193dad74948c9af67a94a61b7eadab1e0ffa55f3b9fee59c54bf12b7fbdc2b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d193dad74948c9af67a94a61b7eadab1e0ffa55f3b9fee59c54bf12b7fbdc2b4", kill_on_drop: false }`
[INFO] [stdout] d193dad74948c9af67a94a61b7eadab1e0ffa55f3b9fee59c54bf12b7fbdc2b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95e91a8a7fd350fb5192f527807ce9c764fdef6ed2b6f00346099839724ba594
[INFO] running `Command { std: "docker" "start" "-a" "95e91a8a7fd350fb5192f527807ce9c764fdef6ed2b6f00346099839724ba594", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling winnow v0.5.36
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking sp-std v3.0.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking bytecursor v0.1.2
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking blake2b_simd v0.5.11
[INFO] [stderr]     Checking blake2s_simd v0.5.11
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]    Compiling indexmap v2.2.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.12
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling sp-multihash-derive v0.2.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.14
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking sp-multihash v0.2.0
[INFO] [stderr]     Checking sp-cid v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/typed_cid.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/typed_cid.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypedCid` is never constructed
[INFO] [stdout]   --> src/typed_cid.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TypedCid<const S: usize, const C: Codec> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dynamic` and `from_dynamic` are never used
[INFO] [stdout]   --> src/typed_cid.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<const S: usize, const C: Codec> TypedCid<S, C> {
[INFO] [stdout]    | --------------------------------------------------- associated items in this implementation
[INFO] [stdout] 17 |   pub fn to_dynamic(&self) -> Cid<S> { Cid::new_v1(C, self.hash) }
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |   pub fn from_dynamic(cid: &Cid<S>) -> Option<Self> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypedCid` is never constructed
[INFO] [stdout]   --> src/typed_cid.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TypedCid<const S: usize, const C: Codec> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dynamic` and `from_dynamic` are never used
[INFO] [stdout]   --> src/typed_cid.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<const S: usize, const C: Codec> TypedCid<S, C> {
[INFO] [stdout]    | --------------------------------------------------- associated items in this implementation
[INFO] [stdout] 17 |   pub fn to_dynamic(&self) -> Cid<S> { Cid::new_v1(C, self.hash) }
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |   pub fn from_dynamic(cid: &Cid<S>) -> Option<Self> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.00s
[INFO] running `Command { std: "docker" "inspect" "95e91a8a7fd350fb5192f527807ce9c764fdef6ed2b6f00346099839724ba594", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95e91a8a7fd350fb5192f527807ce9c764fdef6ed2b6f00346099839724ba594", kill_on_drop: false }`
[INFO] [stdout] 95e91a8a7fd350fb5192f527807ce9c764fdef6ed2b6f00346099839724ba594
[INFO] checking sp-cid-0.3.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate sp-cid 0.3.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate sp-cid 0.3.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sp-cid 0.3.0
[INFO] finished tweaking crates.io crate sp-cid 0.3.0
[INFO] tweaked toml for crates.io crate sp-cid 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf9f5b3e078d7cbfcb4fcced702e43ae6dac4f2b563a91e010a8ac208fcc1288
[INFO] running `Command { std: "docker" "start" "-a" "bf9f5b3e078d7cbfcb4fcced702e43ae6dac4f2b563a91e010a8ac208fcc1288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf9f5b3e078d7cbfcb4fcced702e43ae6dac4f2b563a91e010a8ac208fcc1288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf9f5b3e078d7cbfcb4fcced702e43ae6dac4f2b563a91e010a8ac208fcc1288", kill_on_drop: false }`
[INFO] [stdout] bf9f5b3e078d7cbfcb4fcced702e43ae6dac4f2b563a91e010a8ac208fcc1288
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed63e6febde973eb3dd26057c5def8353fbb8fd9d88f90700c7d7d232be499ef
[INFO] running `Command { std: "docker" "start" "-a" "ed63e6febde973eb3dd26057c5def8353fbb8fd9d88f90700c7d7d232be499ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling winnow v0.5.36
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking sp-std v3.0.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking bytecursor v0.1.2
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking blake2s_simd v0.5.11
[INFO] [stderr]     Checking blake2b_simd v0.5.11
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]    Compiling indexmap v2.2.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.12
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling sp-multihash-derive v0.2.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking data-encoding-macro v0.1.14
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]     Checking sp-multihash v0.2.0
[INFO] [stderr]     Checking sp-cid v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/typed_cid.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/typed_cid.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypedCid` is never constructed
[INFO] [stdout]   --> src/typed_cid.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TypedCid<const S: usize, const C: Codec> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dynamic` and `from_dynamic` are never used
[INFO] [stdout]   --> src/typed_cid.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<const S: usize, const C: Codec> TypedCid<S, C> {
[INFO] [stdout]    | --------------------------------------------------- associated items in this implementation
[INFO] [stdout] 17 |   pub fn to_dynamic(&self) -> Cid<S> { Cid::new_v1(C, self.hash) }
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |   pub fn from_dynamic(cid: &Cid<S>) -> Option<Self> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypedCid` is never constructed
[INFO] [stdout]   --> src/typed_cid.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TypedCid<const S: usize, const C: Codec> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dynamic` and `from_dynamic` are never used
[INFO] [stdout]   --> src/typed_cid.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<const S: usize, const C: Codec> TypedCid<S, C> {
[INFO] [stdout]    | --------------------------------------------------- associated items in this implementation
[INFO] [stdout] 17 |   pub fn to_dynamic(&self) -> Cid<S> { Cid::new_v1(C, self.hash) }
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |   pub fn from_dynamic(cid: &Cid<S>) -> Option<Self> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/lib.rs:165:47
[INFO] [stdout]     |
[INFO] [stdout] 165 |   #[derive(Clone, Copy, Debug, Eq, PartialEq, Multihash)]
[INFO] [stdout]     |                                               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `method_can_take_differently_sized_cids`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sp-cid` (test "lib") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "ed63e6febde973eb3dd26057c5def8353fbb8fd9d88f90700c7d7d232be499ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed63e6febde973eb3dd26057c5def8353fbb8fd9d88f90700c7d7d232be499ef", kill_on_drop: false }`
[INFO] [stdout] ed63e6febde973eb3dd26057c5def8353fbb8fd9d88f90700c7d7d232be499ef
