[INFO] fetching crate ubench 0.0.0-alpha0... [INFO] checking ubench-0.0.0-alpha0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ubench 0.0.0-alpha0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ubench 0.0.0-alpha0 [INFO] finished tweaking crates.io crate ubench 0.0.0-alpha0 [INFO] tweaked toml for crates.io crate ubench 0.0.0-alpha0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ubench 0.0.0-alpha0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding owo-colors v3.5.0 (available: v4.2.2) [INFO] [stderr] Adding riscv v0.8.0 (available: v0.14.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv v0.8.0 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a114ee384728b22e853be2c56bf8446b92d84404c019e7a5b20fd8cb980ff5 [INFO] running `Command { std: "docker" "start" "-a" "e3a114ee384728b22e853be2c56bf8446b92d84404c019e7a5b20fd8cb980ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a114ee384728b22e853be2c56bf8446b92d84404c019e7a5b20fd8cb980ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a114ee384728b22e853be2c56bf8446b92d84404c019e7a5b20fd8cb980ff5", kill_on_drop: false }` [INFO] [stdout] e3a114ee384728b22e853be2c56bf8446b92d84404c019e7a5b20fd8cb980ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2a7aad723d5dfd4c69178cc286f4433b6563e85ed96e6b0ee152e58032437a2 [INFO] running `Command { std: "docker" "start" "-a" "a2a7aad723d5dfd4c69178cc286f4433b6563e85ed96e6b0ee152e58032437a2", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking ubench v0.0.0-alpha0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(docs, not(doctest)), feature(doc_cfg))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [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: unnecessary parentheses around type [INFO] [stdout] --> src/runner/suite.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a, I: Debug> Iterator for HListIterator<'a, (dyn RunnableSuiteBenchmarkList + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - impl<'a, I: Debug> Iterator for HListIterator<'a, (dyn RunnableSuiteBenchmarkList + 'a)> { [INFO] [stdout] 96 + impl<'a, I: Debug> Iterator for HListIterator<'a, dyn RunnableSuiteBenchmarkList + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/runner/mod.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Iterator for HListIterator<'a, (dyn RunnableBenchmarkList + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - impl<'a> Iterator for HListIterator<'a, (dyn RunnableBenchmarkList + 'a)> { [INFO] [stdout] 92 + impl<'a> Iterator for HListIterator<'a, dyn RunnableBenchmarkList + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `feature_gated` [INFO] [stdout] --> src/reporters/mod.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | macro_rules! feature_gated { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/reporters/io.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(all(docs, not(doctest)), doc(cfg(feature = "embedded-hal")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/reporters/basic.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(all(docs, not(doctest)), doc(cfg(feature = "embedded-hal")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/../examples/common/fib_memoized.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(docs, not(doctest)), feature(doc_cfg))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [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: unnecessary parentheses around type [INFO] [stdout] --> src/runner/suite.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a, I: Debug> Iterator for HListIterator<'a, (dyn RunnableSuiteBenchmarkList + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - impl<'a, I: Debug> Iterator for HListIterator<'a, (dyn RunnableSuiteBenchmarkList + 'a)> { [INFO] [stdout] 96 + impl<'a, I: Debug> Iterator for HListIterator<'a, dyn RunnableSuiteBenchmarkList + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/runner/mod.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Iterator for HListIterator<'a, (dyn RunnableBenchmarkList + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - impl<'a> Iterator for HListIterator<'a, (dyn RunnableBenchmarkList + 'a)> { [INFO] [stdout] 92 + impl<'a> Iterator for HListIterator<'a, dyn RunnableBenchmarkList + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `feature_gated` [INFO] [stdout] --> src/reporters/mod.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | macro_rules! feature_gated { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/reporters/io.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(all(docs, not(doctest)), doc(cfg(feature = "embedded-hal")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/reporters/basic.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(all(docs, not(doctest)), doc(cfg(feature = "embedded-hal")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubench` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2a7aad723d5dfd4c69178cc286f4433b6563e85ed96e6b0ee152e58032437a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a7aad723d5dfd4c69178cc286f4433b6563e85ed96e6b0ee152e58032437a2", kill_on_drop: false }` [INFO] [stdout] a2a7aad723d5dfd4c69178cc286f4433b6563e85ed96e6b0ee152e58032437a2