[INFO] fetching crate performance-timing 0.1.1... [INFO] testing performance-timing-0.1.1 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate performance-timing 0.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate performance-timing 0.1.1 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7fe523cb8904840527217922a6a4700b13e5806bbe88e0ac8a909339d09eaba [INFO] running `Command { std: "docker" "start" "-a" "b7fe523cb8904840527217922a6a4700b13e5806bbe88e0ac8a909339d09eaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7fe523cb8904840527217922a6a4700b13e5806bbe88e0ac8a909339d09eaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fe523cb8904840527217922a6a4700b13e5806bbe88e0ac8a909339d09eaba", kill_on_drop: false }` [INFO] [stdout] b7fe523cb8904840527217922a6a4700b13e5806bbe88e0ac8a909339d09eaba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 621743c07fbab027eb6f2f7d8484e7421f41e5b328aa408e4ad39967ea1071ec [INFO] running `Command { std: "docker" "start" "-a" "621743c07fbab027eb6f2f7d8484e7421f41e5b328aa408e4ad39967ea1071ec", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling performance-timing v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.43s [INFO] running `Command { std: "docker" "inspect" "621743c07fbab027eb6f2f7d8484e7421f41e5b328aa408e4ad39967ea1071ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621743c07fbab027eb6f2f7d8484e7421f41e5b328aa408e4ad39967ea1071ec", kill_on_drop: false }` [INFO] [stdout] 621743c07fbab027eb6f2f7d8484e7421f41e5b328aa408e4ad39967ea1071ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13080bd07edf251e8be3fc4a273550e2a9ecb3ec90a3ec5fa73955936bb27d77 [INFO] running `Command { std: "docker" "start" "-a" "13080bd07edf251e8be3fc4a273550e2a9ecb3ec90a3ec5fa73955936bb27d77", 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.31s [INFO] running `Command { std: "docker" "inspect" "13080bd07edf251e8be3fc4a273550e2a9ecb3ec90a3ec5fa73955936bb27d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13080bd07edf251e8be3fc4a273550e2a9ecb3ec90a3ec5fa73955936bb27d77", kill_on_drop: false }` [INFO] [stdout] 13080bd07edf251e8be3fc4a273550e2a9ecb3ec90a3ec5fa73955936bb27d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f518ac89c22fd249d5beb9b11a6ed220be55e891e179ffc8a381831558f64c0 [INFO] running `Command { std: "docker" "start" "-a" "9f518ac89c22fd249d5beb9b11a6ed220be55e891e179ffc8a381831558f64c0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/performance_timing-f37c6ffeadf7c75b) [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.43s [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: `` [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) { [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) { [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 core::hint::black_box; [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::black_box; [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::black_box; [INFO] [stdout] | [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 { [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 { [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.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9f518ac89c22fd249d5beb9b11a6ed220be55e891e179ffc8a381831558f64c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f518ac89c22fd249d5beb9b11a6ed220be55e891e179ffc8a381831558f64c0", kill_on_drop: false }` [INFO] [stdout] 9f518ac89c22fd249d5beb9b11a6ed220be55e891e179ffc8a381831558f64c0