[INFO] fetching crate ipld-block-builder 0.4.1... [INFO] checking ipld-block-builder-0.4.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ipld-block-builder 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate ipld-block-builder 0.4.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding blake2s_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding cached v0.12.0 (available: v0.53.1) [INFO] [stderr] Adding cid v0.5.1 (available: v0.11.1) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding libipld v0.3.1 (available: v0.16.0) [INFO] [stderr] Adding libipld-cbor v0.3.0 (available: v0.16.0) [INFO] [stderr] Adding libipld-cbor-derive v0.3.0 (available: v0.16.0) [INFO] [stderr] Adding libipld-core v0.3.1 (available: v0.16.0) [INFO] [stderr] Adding libipld-macro v0.3.0 (available: v0.16.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding multibase v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding multihash v0.11.4 (available: v0.19.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding secrecy v0.6.0 (available: v0.10.2) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding strobe-rs v0.5.4 (available: v0.10.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding unsigned-varint v0.3.3 (available: v0.8.0) [INFO] [stderr] Adding unsigned-varint v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding unsigned-varint v0.5.1 (available: v0.8.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9f933103884bccf1eaade57b34e4c754c58c0a7b074df8d8f284f720c78f771 [INFO] running `Command { std: "docker" "start" "-a" "e9f933103884bccf1eaade57b34e4c754c58c0a7b074df8d8f284f720c78f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f933103884bccf1eaade57b34e4c754c58c0a7b074df8d8f284f720c78f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f933103884bccf1eaade57b34e4c754c58c0a7b074df8d8f284f720c78f771", kill_on_drop: false }` [INFO] [stdout] e9f933103884bccf1eaade57b34e4c754c58c0a7b074df8d8f284f720c78f771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc54413e8c53f3132734ff787dfed7bae3aed3ef209b0ddfd4d666fb8fc92716 [INFO] running `Command { std: "docker" "start" "-a" "cc54413e8c53f3132734ff787dfed7bae3aed3ef209b0ddfd4d666fb8fc92716", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking cached v0.12.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling libipld-cbor-derive v0.3.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking cid v0.5.1 [INFO] [stderr] Checking libipld-core v0.3.1 [INFO] [stderr] Checking libipld-cbor v0.3.0 [INFO] [stderr] Checking libipld-macro v0.3.0 [INFO] [stderr] Checking libipld v0.3.1 [INFO] [stderr] Checking ipld-block-builder v0.4.1 (/opt/rustwide/workdir) [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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(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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ipld-block-builder` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cc54413e8c53f3132734ff787dfed7bae3aed3ef209b0ddfd4d666fb8fc92716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc54413e8c53f3132734ff787dfed7bae3aed3ef209b0ddfd4d666fb8fc92716", kill_on_drop: false }` [INFO] [stdout] cc54413e8c53f3132734ff787dfed7bae3aed3ef209b0ddfd4d666fb8fc92716