[INFO] fetching crate performance-timing 0.1.1...
[INFO] testing performance-timing-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate performance-timing 0.1.1 into /workspace/builds/worker-1-tc2/source
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate performance-timing 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 62 packages to latest compatible versions
[INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce906ce0cc62421dcd0289d5e74cd4a749cccdc66e8cf2d64a19e888ced11de3
[INFO] running `Command { std: "docker" "start" "-a" "ce906ce0cc62421dcd0289d5e74cd4a749cccdc66e8cf2d64a19e888ced11de3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce906ce0cc62421dcd0289d5e74cd4a749cccdc66e8cf2d64a19e888ced11de3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce906ce0cc62421dcd0289d5e74cd4a749cccdc66e8cf2d64a19e888ced11de3", kill_on_drop: false }`
[INFO] [stdout] ce906ce0cc62421dcd0289d5e74cd4a749cccdc66e8cf2d64a19e888ced11de3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a1680191835626bc72be328d720ca89ed1b39476238492a1d5060ad582c8f9b
[INFO] running `Command { std: "docker" "start" "-a" "5a1680191835626bc72be328d720ca89ed1b39476238492a1d5060ad582c8f9b", kill_on_drop: false }`
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling proc-macro2 v1.0.103
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Compiling quote v1.0.42
[INFO] [stderr] Compiling memchr v2.7.6
[INFO] [stderr] Compiling unicode-ident v1.0.22
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Compiling libc v0.2.177
[INFO] [stderr] Compiling serde_json v1.0.145
[INFO] [stderr] Compiling ryu v1.0.20
[INFO] [stderr] Compiling itoa v1.0.15
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Compiling rayon-core v1.13.0
[INFO] [stderr] Compiling unicode-width v0.1.14
[INFO] [stderr] Compiling regex-syntax v0.8.8
[INFO] [stderr] Compiling plotters-backend v0.3.7
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling same-file v1.0.6
[INFO] [stderr] Compiling half v1.8.3
[INFO] [stderr] Compiling cast v0.3.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling plotters-svg v0.3.7
[INFO] [stderr] Compiling itertools v0.10.5
[INFO] [stderr] Compiling oorandom v11.1.5
[INFO] [stderr] Compiling textwrap v0.11.0
[INFO] [stderr] Compiling walkdir v2.5.0
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling clap v2.34.0
[INFO] [stderr] Compiling csv-core v0.1.13
[INFO] [stderr] Compiling syn v2.0.110
[INFO] [stderr] Compiling crossbeam-epoch v0.9.18
[INFO] [stderr] Compiling crossbeam-deque v0.8.6
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling plotters v0.3.7
[INFO] [stderr] Compiling regex-automata v0.4.13
[INFO] [stderr] Compiling criterion-plot v0.4.5
[INFO] [stderr] Compiling csv v1.4.0
[INFO] [stderr] Compiling rayon v1.11.0
[INFO] [stderr] Compiling serde_cbor v0.11.2
[INFO] [stderr] Compiling regex v1.12.2
[INFO] [stderr] Compiling tinytemplate v1.2.1
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling criterion v0.3.6
[INFO] [stderr] Compiling performance-timing v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:116:23
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample {
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.81s
[INFO] running `Command { std: "docker" "inspect" "5a1680191835626bc72be328d720ca89ed1b39476238492a1d5060ad582c8f9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a1680191835626bc72be328d720ca89ed1b39476238492a1d5060ad582c8f9b", kill_on_drop: false }`
[INFO] [stdout] 5a1680191835626bc72be328d720ca89ed1b39476238492a1d5060ad582c8f9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 540d402c5566e80c59081fb630e7691fc712cf63ca8fb8018e6e60418d1072d8
[INFO] running `Command { std: "docker" "start" "-a" "540d402c5566e80c59081fb630e7691fc712cf63ca8fb8018e6e60418d1072d8", kill_on_drop: false }`
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:116:23
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample {
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling performance-timing v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:116:23
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample {
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 116 | pub fn get_sample(&mut self) -> MeasureSample<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "540d402c5566e80c59081fb630e7691fc712cf63ca8fb8018e6e60418d1072d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "540d402c5566e80c59081fb630e7691fc712cf63ca8fb8018e6e60418d1072d8", kill_on_drop: false }`
[INFO] [stdout] 540d402c5566e80c59081fb630e7691fc712cf63ca8fb8018e6e60418d1072d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1a4b316c5b9870bca9f4b3fbc303f7122597750307a1f780a935cb5d8be6902d
[INFO] running `Command { std: "docker" "start" "-a" "1a4b316c5b9870bca9f4b3fbc303f7122597750307a1f780a935cb5d8be6902d", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:116:23
[INFO] [stderr] |
[INFO] [stderr] 116 | pub fn get_sample(&mut self) -> MeasureSample {
[INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 116 | pub fn get_sample(&mut self) -> MeasureSample<'_> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: `performance-timing` (lib) generated 1 warning (run `cargo fix --lib -p performance-timing` to apply 1 suggestion)
[INFO] [stderr] warning: `performance-timing` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/performance_timing-e6eb45e254801796)
[INFO] [stdout]
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_tsc_scaling ... ok
[INFO] [stderr] Doc-tests performance_timing
[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 2.25s
[INFO] [stdout]
[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] 83 | let mut loop_timing = MeasureRegion::new();
[INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MeasureRegion`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 82 + 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] 84 | for _ in 0..N {
[INFO] [stdout] | ^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout] |
[INFO] [stdout] 82 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_82_0() {
[INFO] [stdout] | +++++++++++++++++++++
[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] 89 | CPUInfo::get_frequency_hz().tsc_scaling;
[INFO] [stdout] | ^^^^^^^ use of undeclared type `CPUInfo`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 82 + use performance_timing::CPUInfo;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `foo` in this scope
[INFO] [stdout] --> src/lib.rs:86:3
[INFO] [stdout] |
[INFO] [stdout] 86 | foo();
[INFO] [stdout] | ^^^ not found in this scope
[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] 207 | criterion_group! {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout] |
[INFO] [stdout] 198 + use criterion::criterion_group;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Criterion` in this scope
[INFO] [stdout] --> src/lib.rs:199:36
[INFO] [stdout] |
[INFO] [stdout] 199 | 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] 198 + 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] 199 | 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] 198 + 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] 200 | 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] 198 + 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] 200 | 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 functions
[INFO] [stdout] |
[INFO] [stdout] 198 + use std::hint::black_box;
[INFO] [stdout] |
[INFO] [stdout] 198 + use criterion::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] 203 | 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] 198 + 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] 203 | 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] 198 + 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] 204 | Criterion::default().with_measurement(CriterionCycleCounter)
[INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Criterion`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 198 + 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] 204 | 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] 198 + use performance_timing::CriterionCycleCounter;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> src/lib.rs:200:34
[INFO] [stdout] |
[INFO] [stdout] 200 | c.bench_function("cycle_10K", |b| b.iter(|| const_cycle_loop(black_box(10_000))));
[INFO] [stdout] | ^ - type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout] |
[INFO] [stdout] 200 | c.bench_function("cycle_10K", |b: /* Type */| b.iter(|| const_cycle_loop(black_box(10_000))));
[INFO] [stdout] | ++++++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[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: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1a4b316c5b9870bca9f4b3fbc303f7122597750307a1f780a935cb5d8be6902d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a4b316c5b9870bca9f4b3fbc303f7122597750307a1f780a935cb5d8be6902d", kill_on_drop: false }`
[INFO] [stdout] 1a4b316c5b9870bca9f4b3fbc303f7122597750307a1f780a935cb5d8be6902d