[INFO] fetching crate ipld-block-builder 0.4.1... [INFO] testing ipld-block-builder-0.4.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ipld-block-builder 0.4.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ipld-block-builder 0.4.1 [INFO] finished tweaking crates.io crate ipld-block-builder 0.4.1 [INFO] tweaked toml for crates.io crate ipld-block-builder 0.4.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ipld-block-builder 0.4.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding cached v0.12.0 (available: v0.56.0) [INFO] [stderr] Adding libipld v0.3.1 (available: v0.16.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding secrecy v0.6.0 (available: v0.10.3) [INFO] [stderr] Adding strobe-rs v0.5.4 (available: v0.10.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding unsigned-varint v0.4.0 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multihash v0.11.4 [INFO] [stderr] Downloaded strobe-rs v0.5.4 [INFO] [stderr] Downloaded libipld-macro v0.3.0 [INFO] [stderr] Downloaded libipld v0.3.1 [INFO] [stderr] Downloaded cached v0.12.0 [INFO] [stderr] Downloaded libipld-cbor-derive v0.3.0 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded secrecy v0.6.0 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded cid v0.5.1 [INFO] [stderr] Downloaded libipld-cbor v0.3.0 [INFO] [stderr] Downloaded libipld-core v0.3.1 [INFO] [stderr] Downloaded unsigned-varint v0.4.0 [INFO] [stderr] Downloaded sha3 v0.9.1 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded unsigned-varint v0.3.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928696042ad8b2c487cc9229f0329519b7e64ebc882345df61c9d7eb552c6415 [INFO] running `Command { std: "docker" "start" "-a" "928696042ad8b2c487cc9229f0329519b7e64ebc882345df61c9d7eb552c6415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928696042ad8b2c487cc9229f0329519b7e64ebc882345df61c9d7eb552c6415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928696042ad8b2c487cc9229f0329519b7e64ebc882345df61c9d7eb552c6415", kill_on_drop: false }` [INFO] [stdout] 928696042ad8b2c487cc9229f0329519b7e64ebc882345df61c9d7eb552c6415 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f81ab11943b488e950d3abebeeb9773d16eb773762adf2a15e07a4e81fdfa3 [INFO] running `Command { std: "docker" "start" "-a" "b9f81ab11943b488e950d3abebeeb9773d16eb773762adf2a15e07a4e81fdfa3", kill_on_drop: false }` [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling cached v0.12.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling multihash v0.11.4 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling libipld-cbor-derive v0.3.0 [INFO] [stderr] Compiling cid v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libipld-core v0.3.1 [INFO] [stderr] Compiling libipld-macro v0.3.0 [INFO] [stderr] Compiling libipld-cbor v0.3.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling libipld v0.3.1 [INFO] [stderr] Compiling ipld-block-builder v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.45s [INFO] running `Command { std: "docker" "inspect" "b9f81ab11943b488e950d3abebeeb9773d16eb773762adf2a15e07a4e81fdfa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f81ab11943b488e950d3abebeeb9773d16eb773762adf2a15e07a4e81fdfa3", kill_on_drop: false }` [INFO] [stdout] b9f81ab11943b488e950d3abebeeb9773d16eb773762adf2a15e07a4e81fdfa3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ff697f98fcd5194e2fe7881ddcc5be3d0b405e91701490473c20e0196f0916f [INFO] running `Command { std: "docker" "start" "-a" "0ff697f98fcd5194e2fe7881ddcc5be3d0b405e91701490473c20e0196f0916f", kill_on_drop: false }` [INFO] [stderr] Compiling ipld-block-builder v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `Identity` is never constructed [INFO] [stdout] --> src/builder.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | struct Identity { [INFO] [stdout] | ^^^^^^^^ [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(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builder.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Clone, DagCbor, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | `DagCborCodec` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Encode_DagCborCodec_FOR_Identity` [INFO] [stdout] 194 | struct Identity { [INFO] [stdout] | -------- `Identity` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DagCbor` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DagCbor` may come from an old version of the `libipld_cbor_derive` crate, try updating your dependency with `cargo update -p libipld_cbor_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `DagCbor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builder.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Clone, DagCbor, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `TryReadCbor` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Encode_DagCborCodec_FOR_Identity` [INFO] [stdout] 194 | struct Identity { [INFO] [stdout] | -------- `Identity` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DagCbor` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DagCbor` may come from an old version of the `libipld_cbor_derive` crate, try updating your dependency with `cargo update -p libipld_cbor_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `DagCbor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builder.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Clone, DagCbor, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | `DagCborCodec` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Encode_DagCborCodec_FOR_Identity` [INFO] [stdout] 194 | struct Identity { [INFO] [stdout] | -------- `Identity` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DagCbor` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DagCbor` may come from an old version of the `libipld_cbor_derive` crate, try updating your dependency with `cargo update -p libipld_cbor_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this error originates in the derive macro `DagCbor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ipld-block-builder` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0ff697f98fcd5194e2fe7881ddcc5be3d0b405e91701490473c20e0196f0916f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff697f98fcd5194e2fe7881ddcc5be3d0b405e91701490473c20e0196f0916f", kill_on_drop: false }` [INFO] [stdout] 0ff697f98fcd5194e2fe7881ddcc5be3d0b405e91701490473c20e0196f0916f