[INFO] fetching crate cid 0.11.0... [INFO] checking cid-0.11.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate cid 0.11.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cid 0.11.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 cid 0.11.0 [INFO] finished tweaking crates.io crate cid 0.11.0 [INFO] tweaked toml for crates.io crate cid 0.11.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate cid 0.11.0 already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec v3.6.5 [INFO] [stderr] Downloaded multihash-derive v0.9.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.11 [INFO] [stderr] Downloaded multihash-derive-impl v0.1.0 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded multihash-codetable v0.1.1 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded multihash v0.19.1 [INFO] [stderr] Downloaded data-encoding-macro v0.1.13 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.5 [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] 27309e0f56198a4ca498dc9180dd374c4c3c5ed4385325b91cc5a5972d54ced3 [INFO] running `Command { std: "docker" "start" "-a" "27309e0f56198a4ca498dc9180dd374c4c3c5ed4385325b91cc5a5972d54ced3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27309e0f56198a4ca498dc9180dd374c4c3c5ed4385325b91cc5a5972d54ced3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27309e0f56198a4ca498dc9180dd374c4c3c5ed4385325b91cc5a5972d54ced3", kill_on_drop: false }` [INFO] [stdout] 27309e0f56198a4ca498dc9180dd374c4c3c5ed4385325b91cc5a5972d54ced3 [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] 1e3895519c397211d0016921e7ed560924eca52ed1467c0c56d9ae490ce8ef76 [INFO] running `Command { std: "docker" "start" "-a" "1e3895519c397211d0016921e7ed560924eca52ed1467c0c56d9ae490ce8ef76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.11 [INFO] [stderr] Compiling multihash-derive-impl v0.1.0 [INFO] [stderr] Checking data-encoding-macro v0.1.13 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking cid v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking multihash-derive v0.9.0 [INFO] [stderr] Checking multihash-codetable v0.1.1 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "1e3895519c397211d0016921e7ed560924eca52ed1467c0c56d9ae490ce8ef76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3895519c397211d0016921e7ed560924eca52ed1467c0c56d9ae490ce8ef76", kill_on_drop: false }` [INFO] [stdout] 1e3895519c397211d0016921e7ed560924eca52ed1467c0c56d9ae490ce8ef76 [INFO] checking cid-0.11.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate cid 0.11.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cid 0.11.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 cid 0.11.0 [INFO] finished tweaking crates.io crate cid 0.11.0 [INFO] tweaked toml for crates.io crate cid 0.11.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cid 0.11.0 already has a lockfile, it will not be regenerated [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] b77e5e1f1bd89129418ef640b8b6a00d9e836ceedfab1135be601dc30c37992a [INFO] running `Command { std: "docker" "start" "-a" "b77e5e1f1bd89129418ef640b8b6a00d9e836ceedfab1135be601dc30c37992a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b77e5e1f1bd89129418ef640b8b6a00d9e836ceedfab1135be601dc30c37992a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77e5e1f1bd89129418ef640b8b6a00d9e836ceedfab1135be601dc30c37992a", kill_on_drop: false }` [INFO] [stdout] b77e5e1f1bd89129418ef640b8b6a00d9e836ceedfab1135be601dc30c37992a [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] 9200a5015512130dc6a9d73c0626912957e434ca3f8f5b5756970dcd5fd3485d [INFO] running `Command { std: "docker" "start" "-a" "9200a5015512130dc6a9d73c0626912957e434ca3f8f5b5756970dcd5fd3485d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.11 [INFO] [stderr] Compiling multihash-derive-impl v0.1.0 [INFO] [stderr] Checking data-encoding-macro v0.1.13 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking cid v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking multihash-derive v0.9.0 [INFO] [stderr] Checking multihash-codetable v0.1.1 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/lib.rs:182:53 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Clone, Copy, Debug, Eq, PartialEq, MultihashDigest)] [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 [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `MultihashDigest` (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 `cid` (test "lib") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9200a5015512130dc6a9d73c0626912957e434ca3f8f5b5756970dcd5fd3485d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9200a5015512130dc6a9d73c0626912957e434ca3f8f5b5756970dcd5fd3485d", kill_on_drop: false }` [INFO] [stdout] 9200a5015512130dc6a9d73c0626912957e434ca3f8f5b5756970dcd5fd3485d