[INFO] cloning repository https://github.com/dvc94ch/ipld-block-builder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvc94ch/ipld-block-builder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fipld-block-builder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fipld-block-builder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0279a2b58208866666bbe2a0884c0052b5f0cad [INFO] checking dvc94ch/ipld-block-builder against 28b6e691688c15cef4c60d9044274e7b84397870 for pr-162986 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fipld-block-builder" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dvc94ch/ipld-block-builder [INFO] finished tweaking git repo https://github.com/dvc94ch/ipld-block-builder [INFO] tweaked toml for git repo https://github.com/dvc94ch/ipld-block-builder written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dvc94ch/ipld-block-builder on toolchain 28b6e691688c15cef4c60d9044274e7b84397870 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dvc94ch/ipld-block-builder 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" "+28b6e691688c15cef4c60d9044274e7b84397870" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.19 [INFO] [stderr] Downloaded thiserror v1.0.19 [INFO] [stderr] Downloaded zeroize v1.1.0 [INFO] [stderr] Downloaded unsigned-varint v0.4.0 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded libipld v0.3.0 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded sha2 v0.8.1 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.8 [INFO] [stderr] Downloaded data-encoding v2.2.0 [INFO] [stderr] Downloaded cid v0.5.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded futures-timer v2.0.2 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded async-task v1.3.1 [INFO] [stderr] Downloaded cached v0.12.0 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded futures-core v0.3.5 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded unsigned-varint v0.3.3 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded multihash v0.11.2 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded subtle v2.2.2 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded async-attributes v1.1.1 [INFO] [stderr] Downloaded libipld-cbor-derive v0.3.0 [INFO] [stderr] Downloaded libipld-macro v0.3.0 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded kv-log-macro v1.0.5 [INFO] [stderr] Downloaded strobe-rs v0.5.3 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.14 [INFO] [stderr] Downloaded secrecy v0.6.0 [INFO] [stderr] Downloaded blake2s_simd v0.5.10 [INFO] [stderr] Downloaded data-encoding-macro v0.1.8 [INFO] [stderr] Downloaded libipld-cbor v0.3.0 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded libipld-core v0.3.0 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded async-std v1.5.0 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded sha3 v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776 [INFO] running `Command { std: "docker" "start" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776" "/opt/rustwide/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776" "/opt/rustwide/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking base-x v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking kv-log-macro v1.0.5 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking cached v0.12.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling libipld-cbor-derive v0.3.0 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking data-encoding-macro v0.1.8 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking cid v0.5.0 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking libipld-core v0.3.0 [INFO] [stderr] Checking libipld-macro v0.3.0 [INFO] [stderr] Checking libipld-cbor v0.3.0 [INFO] [stderr] Checking libipld v0.3.0 [INFO] [stderr] Checking ipld-block-builder v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `Identity` is never constructed [INFO] [stdout] --> src/builder.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | 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:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | #[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] 191 | 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:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | #[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] 191 | 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:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | #[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] 191 | 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" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776", kill_on_drop: false }` [INFO] [stdout] 138a36e0a987fe2f9ac0929e9d5a99f6722c068425976d11696642660d3fb776