[INFO] fetching crate performance-timing 0.1.1... [INFO] testing performance-timing-0.1.1 against 1.57.0 for beta-1.58-1 [INFO] extracting crate performance-timing 0.1.1 into /workspace/builds/worker-45/source [INFO] validating manifest of crates.io crate performance-timing 0.1.1 on toolchain 1.57.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate performance-timing 0.1.1 [INFO] finished tweaking crates.io crate performance-timing 0.1.1 [INFO] tweaked toml for crates.io crate performance-timing 0.1.1 written to /workspace/builds/worker-45/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b830dd2db72b5b20256e6c16ece1d8a013d73f574daec0dd089cd44e64125682 [INFO] running `Command { std: "docker" "start" "-a" "b830dd2db72b5b20256e6c16ece1d8a013d73f574daec0dd089cd44e64125682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b830dd2db72b5b20256e6c16ece1d8a013d73f574daec0dd089cd44e64125682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b830dd2db72b5b20256e6c16ece1d8a013d73f574daec0dd089cd44e64125682", kill_on_drop: false }` [INFO] [stdout] b830dd2db72b5b20256e6c16ece1d8a013d73f574daec0dd089cd44e64125682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8620652587d9c9d061b175b016ed9b0ffc9bb195a7ec9b9541a9b8ed72dac09 [INFO] running `Command { std: "docker" "start" "-a" "e8620652587d9c9d061b175b016ed9b0ffc9bb195a7ec9b9541a9b8ed72dac09", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling performance-timing v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.27s [INFO] running `Command { std: "docker" "inspect" "e8620652587d9c9d061b175b016ed9b0ffc9bb195a7ec9b9541a9b8ed72dac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8620652587d9c9d061b175b016ed9b0ffc9bb195a7ec9b9541a9b8ed72dac09", kill_on_drop: false }` [INFO] [stdout] e8620652587d9c9d061b175b016ed9b0ffc9bb195a7ec9b9541a9b8ed72dac09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efed064b31caaf071eafa212945412602eeb99ce0d18ed44d49365893b359868 [INFO] running `Command { std: "docker" "start" "-a" "efed064b31caaf071eafa212945412602eeb99ce0d18ed44d49365893b359868", kill_on_drop: false }` [INFO] [stderr] Compiling performance-timing v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "efed064b31caaf071eafa212945412602eeb99ce0d18ed44d49365893b359868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efed064b31caaf071eafa212945412602eeb99ce0d18ed44d49365893b359868", kill_on_drop: false }` [INFO] [stdout] efed064b31caaf071eafa212945412602eeb99ce0d18ed44d49365893b359868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4851640664bda7f88bbbffe8936ef2dc6327abea7147617f44aeec1bf767294b [INFO] running `Command { std: "docker" "start" "-a" "4851640664bda7f88bbbffe8936ef2dc6327abea7147617f44aeec1bf767294b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/performance_timing-9bad13c75f1afacc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_tsc_scaling ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.77s [INFO] [stdout] [INFO] [stderr] Doc-tests performance-timing [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - MeasureRegion (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - CriterionCycleCounter (line 198) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - MeasureRegion (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MeasureRegion` [INFO] [stdout] --> src/lib.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut loop_timing = MeasureRegion::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::MeasureRegion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_82_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `<N>` [INFO] [stdout] 3 | let mut loop_timing = MeasureRegion::new(); [INFO] [stdout] 4 | for _ in 0..N { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `foo` in this scope [INFO] [stdout] --> src/lib.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 6 | foo(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CPUInfo` [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 9 | CPUInfo::get_frequency_hz().tsc_scaling; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::CPUInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CriterionCycleCounter (line 198) stdout ---- [INFO] [stdout] error: cannot find macro `criterion_group` in this scope [INFO] [stdout] --> src/lib.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 11 | criterion_group! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] criterion::criterion_group [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Criterion` in this scope [INFO] [stdout] --> src/lib.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn criterion_benchmark(c: &mut Criterion<CriterionCycleCounter>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::Criterion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CriterionCycleCounter` in this scope [INFO] [stdout] --> src/lib.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn criterion_benchmark(c: &mut Criterion<CriterionCycleCounter>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::CriterionCycleCounter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `const_cycle_loop` in this scope [INFO] [stdout] --> src/lib.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 4 | c.bench_function("cycle_10K", |b| b.iter(|| const_cycle_loop(black_box(10_000)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::const_cycle_loop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_box` in this scope [INFO] [stdout] --> src/lib.rs:200:64 [INFO] [stdout] | [INFO] [stdout] 4 | c.bench_function("cycle_10K", |b| b.iter(|| const_cycle_loop(black_box(10_000)))); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::black_box; [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::black_box; [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::black_box; [INFO] [stdout] | [INFO] [stdout] 2 | use core::hint::black_box; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Criterion` in this scope [INFO] [stdout] --> src/lib.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn core_cycle_measurement() -> Criterion<CriterionCycleCounter> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::Criterion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CriterionCycleCounter` in this scope [INFO] [stdout] --> src/lib.rs:203:42 [INFO] [stdout] | [INFO] [stdout] 7 | fn core_cycle_measurement() -> Criterion<CriterionCycleCounter> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::CriterionCycleCounter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Criterion` [INFO] [stdout] --> src/lib.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 8 | Criterion::default().with_measurement(CriterionCycleCounter) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::Criterion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CriterionCycleCounter` in this scope [INFO] [stdout] --> src/lib.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 8 | Criterion::default().with_measurement(CriterionCycleCounter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 2 | use performance_timing::CriterionCycleCounter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - CriterionCycleCounter (line 198) [INFO] [stdout] src/lib.rs - MeasureRegion (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4851640664bda7f88bbbffe8936ef2dc6327abea7147617f44aeec1bf767294b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4851640664bda7f88bbbffe8936ef2dc6327abea7147617f44aeec1bf767294b", kill_on_drop: false }` [INFO] [stdout] 4851640664bda7f88bbbffe8936ef2dc6327abea7147617f44aeec1bf767294b