[INFO] fetching crate sp-cid 0.3.0...
[INFO] checking sp-cid-0.3.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate sp-cid 0.3.0 into /workspace/builds/worker-6-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-6-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 sp-multihash v0.2.0
[INFO] [stderr]   Downloaded bytecursor v0.1.2
[INFO] [stderr]   Downloaded sp-multihash-derive v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eaa519603346a32fd4166de9abfa2c5424b37a12bb3d2425c5c583f10e9bf93f
[INFO] running `Command { std: "docker" "start" "-a" "eaa519603346a32fd4166de9abfa2c5424b37a12bb3d2425c5c583f10e9bf93f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eaa519603346a32fd4166de9abfa2c5424b37a12bb3d2425c5c583f10e9bf93f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaa519603346a32fd4166de9abfa2c5424b37a12bb3d2425c5c583f10e9bf93f", kill_on_drop: false }`
[INFO] [stdout] eaa519603346a32fd4166de9abfa2c5424b37a12bb3d2425c5c583f10e9bf93f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cc62ee101356be35931cfbce391a42637b06e3fc2bc7b6eae766cd7b2cf91719
[INFO] running `Command { std: "docker" "start" "-a" "cc62ee101356be35931cfbce391a42637b06e3fc2bc7b6eae766cd7b2cf91719", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling winnow v0.5.36
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling indexmap v2.2.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking sp-std v3.0.0
[INFO] [stderr]     Checking bytecursor v0.1.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]     Checking blake2b_simd v0.5.11
[INFO] [stderr]     Checking blake2s_simd v0.5.11
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]    Compiling toml_edit v0.19.15
[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]    Compiling sp-multihash-derive v0.2.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.14
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking serde_json v1.0.113
[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 19.23s
[INFO] running `Command { std: "docker" "inspect" "cc62ee101356be35931cfbce391a42637b06e3fc2bc7b6eae766cd7b2cf91719", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc62ee101356be35931cfbce391a42637b06e3fc2bc7b6eae766cd7b2cf91719", kill_on_drop: false }`
[INFO] [stdout] cc62ee101356be35931cfbce391a42637b06e3fc2bc7b6eae766cd7b2cf91719
[INFO] checking sp-cid-0.3.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate sp-cid 0.3.0 into /workspace/builds/worker-6-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-6-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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8d9785ffbc03254a526d1b0188f15a50cfd3e25284b6ef9e91b71119ce1eee7a
[INFO] running `Command { std: "docker" "start" "-a" "8d9785ffbc03254a526d1b0188f15a50cfd3e25284b6ef9e91b71119ce1eee7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d9785ffbc03254a526d1b0188f15a50cfd3e25284b6ef9e91b71119ce1eee7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d9785ffbc03254a526d1b0188f15a50cfd3e25284b6ef9e91b71119ce1eee7a", kill_on_drop: false }`
[INFO] [stdout] 8d9785ffbc03254a526d1b0188f15a50cfd3e25284b6ef9e91b71119ce1eee7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 03db3a2a1c257bab9eddff0cc71c52f0c23177df8bf798d71473679d3930f4e2
[INFO] running `Command { std: "docker" "start" "-a" "03db3a2a1c257bab9eddff0cc71c52f0c23177df8bf798d71473679d3930f4e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling winnow v0.5.36
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling indexmap v2.2.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking sp-std v3.0.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking bytecursor v0.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]     Checking blake2s_simd v0.5.11
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking blake2b_simd v0.5.11
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking base-x v0.2.11
[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]    Compiling sp-multihash-derive v0.2.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.14
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking serde_json v1.0.113
[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] 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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "03db3a2a1c257bab9eddff0cc71c52f0c23177df8bf798d71473679d3930f4e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03db3a2a1c257bab9eddff0cc71c52f0c23177df8bf798d71473679d3930f4e2", kill_on_drop: false }`
[INFO] [stdout] 03db3a2a1c257bab9eddff0cc71c52f0c23177df8bf798d71473679d3930f4e2
