[INFO] fetching crate ipld 0.0.2... [INFO] checking ipld-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ipld 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ipld 0.0.2 [INFO] finished tweaking crates.io crate ipld 0.0.2 [INFO] tweaked toml for crates.io crate ipld 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ipld 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding cid v0.3.2 (available: v0.11.1) [INFO] [stderr] Adding multibase v0.7.0 (available: v0.9.1) [INFO] [stderr] Adding multihash v0.9.4 (available: v0.19.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d05e1a391aaa556501fcf42d3ecdfbff55e58acc6f46ac7b44749260b2cdeb69 [INFO] running `Command { std: "docker" "start" "-a" "d05e1a391aaa556501fcf42d3ecdfbff55e58acc6f46ac7b44749260b2cdeb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d05e1a391aaa556501fcf42d3ecdfbff55e58acc6f46ac7b44749260b2cdeb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05e1a391aaa556501fcf42d3ecdfbff55e58acc6f46ac7b44749260b2cdeb69", kill_on_drop: false }` [INFO] [stdout] d05e1a391aaa556501fcf42d3ecdfbff55e58acc6f46ac7b44749260b2cdeb69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53f0b1454f1f99594c745b960aa6b780d2e23b6e7be283fa3d745a0973ea949 [INFO] running `Command { std: "docker" "start" "-a" "b53f0b1454f1f99594c745b960aa6b780d2e23b6e7be283fa3d745a0973ea949", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking sha1 v0.5.0 [INFO] [stderr] Checking integer-encoding v1.1.7 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking multibase v0.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking multihash v0.9.4 [INFO] [stderr] Checking multihash v0.10.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking cid v0.3.2 [INFO] [stderr] Checking ipld v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes_` [INFO] [stdout] --> src/canon.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | #[cfg(feature = "bytes_")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `bytes_` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes_` [INFO] [stdout] --> src/canon.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(feature = "bytes_")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `bytes_` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes_` [INFO] [stdout] --> src/canon.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | #[cfg(feature = "bytes_")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `bytes_` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes_` [INFO] [stdout] --> src/canon.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(feature = "bytes_")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `bytes_` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dag` [INFO] [stdout] --> src/codec.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn write(dag: &S, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/codec.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | fn write(dag: &S, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/codec.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | fn read(reader: R) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dag` [INFO] [stdout] --> src/codec.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn write(dag: &S, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/codec.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | fn write(dag: &S, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/codec.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | fn read(reader: R) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> benches/store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::task::{block_on, sleep}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libipld` [INFO] [stdout] --> benches/store.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libipld::block::create_raw_block; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `libipld` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libipld`, use `cargo add libipld` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libipld` [INFO] [stdout] --> benches/store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libipld::error::Result; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `libipld` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libipld`, use `cargo add libipld` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libipld` [INFO] [stdout] --> benches/store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libipld::store::{BufStore, MemStore, Store}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `libipld` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libipld`, use `cargo add libipld` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/store.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld` [INFO] [stdout] --> benches/store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libipld::{Cid, DefaultHash as H}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `libipld` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libipld`, use `cargo add libipld` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ipld` (bench "store") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b53f0b1454f1f99594c745b960aa6b780d2e23b6e7be283fa3d745a0973ea949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53f0b1454f1f99594c745b960aa6b780d2e23b6e7be283fa3d745a0973ea949", kill_on_drop: false }` [INFO] [stdout] b53f0b1454f1f99594c745b960aa6b780d2e23b6e7be283fa3d745a0973ea949