[INFO] fetching crate chronometer 0.1.2...
[INFO] testing chronometer-0.1.2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate chronometer 0.1.2 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate chronometer 0.1.2
[INFO] finished tweaking crates.io crate chronometer 0.1.2
[INFO] tweaked toml for crates.io crate chronometer 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate chronometer 0.1.2 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e93f0abd80e7f6a6575c360cb3ba8c3f5bdc0e9e44899a5140071d0a8021a0c6
[INFO] running `Command { std: "docker" "start" "-a" "e93f0abd80e7f6a6575c360cb3ba8c3f5bdc0e9e44899a5140071d0a8021a0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e93f0abd80e7f6a6575c360cb3ba8c3f5bdc0e9e44899a5140071d0a8021a0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e93f0abd80e7f6a6575c360cb3ba8c3f5bdc0e9e44899a5140071d0a8021a0c6", kill_on_drop: false }`
[INFO] [stdout] e93f0abd80e7f6a6575c360cb3ba8c3f5bdc0e9e44899a5140071d0a8021a0c6
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] ac23795a0a067be52e97ded3eec072236d77c208caa6af3b23b85a2147a4b7e6
[INFO] running `Command { std: "docker" "start" "-a" "ac23795a0a067be52e97ded3eec072236d77c208caa6af3b23b85a2147a4b7e6", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling chronometer v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "ac23795a0a067be52e97ded3eec072236d77c208caa6af3b23b85a2147a4b7e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac23795a0a067be52e97ded3eec072236d77c208caa6af3b23b85a2147a4b7e6", kill_on_drop: false }`
[INFO] [stdout] ac23795a0a067be52e97ded3eec072236d77c208caa6af3b23b85a2147a4b7e6
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 859a7ead4b40d14d12db424897a2a3a919c09fba3cf36ea6640684508cf93740
[INFO] running `Command { std: "docker" "start" "-a" "859a7ead4b40d14d12db424897a2a3a919c09fba3cf36ea6640684508cf93740", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling chronometer v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "859a7ead4b40d14d12db424897a2a3a919c09fba3cf36ea6640684508cf93740", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "859a7ead4b40d14d12db424897a2a3a919c09fba3cf36ea6640684508cf93740", kill_on_drop: false }`
[INFO] [stdout] 859a7ead4b40d14d12db424897a2a3a919c09fba3cf36ea6640684508cf93740
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1ebda88a0d4d75a7a7a35bc8099f7c8b9a524989c28c7f242e8f3d12200550ee
[INFO] running `Command { std: "docker" "start" "-a" "1ebda88a0d4d75a7a7a35bc8099f7c8b9a524989c28c7f242e8f3d12200550ee", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/chronometer/cc873920187d279d/deps/chronometer-cc873920187d279d)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test::create ... ok
[INFO] [stdout] test test::pause ... ok
[INFO] [stdout] test test::start ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests chronometer
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - Chronometer::lap (line 93) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::pause (line 60) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::reset (line 118) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::start (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::duration (line 147) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::new (line 24) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Chronometer::lap (line 93) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]   --> src/lib.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 94 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time`
[INFO] [stdout]   --> src/lib.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | let time = time::Duration::from_millis(100);
[INFO] [stdout]    |            ^^^^ use of unresolved module or unlinked crate `time`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 93 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 96 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 96 + let time = Duration::from_millis(100);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]   --> src/lib.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 98 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 93 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | chrono.lap(); // chono.laps == [Duration<0.1s>, Duration<0.2s>]
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/lib.rs:102:1
[INFO] [stdout]     |
[INFO] [stdout] 102 | thread::sleep(time);
[INFO] [stdout]     | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]  93 + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | chrono.lap();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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 - Chronometer::pause (line 60) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]   --> src/lib.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time`
[INFO] [stdout]   --> src/lib.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | let time = time::Duration::from_millis(100);
[INFO] [stdout]    |            ^^^^ use of unresolved module or unlinked crate `time`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 63 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 63 + let time = Duration::from_millis(100);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]   --> src/lib.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | chrono.pause(); // chrono.duration == Duration<0.1s>
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]   --> src/lib.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]   --> src/lib.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]   --> src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 72 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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 - Chronometer::reset (line 118) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | chrono.start();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time`
[INFO] [stdout]    --> src/lib.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | let time = time::Duration::from_millis(100);
[INFO] [stdout]     |            ^^^^ use of unresolved module or unlinked crate `time`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 118 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 121 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 121 + let time = Duration::from_millis(100);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/lib.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | thread::sleep(time);
[INFO] [stdout]     | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 118 + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:125:1
[INFO] [stdout]     |
[INFO] [stdout] 125 | chrono.lap(); // chono.laps == [Duration<0.1s>, Duration<0.2s>]
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | chrono.reset();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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 - Chronometer::start (line 45) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Chronometer::duration (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:148:1
[INFO] [stdout]     |
[INFO] [stdout] 148 | chrono.start();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time`
[INFO] [stdout]    --> src/lib.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | let time = time::Duration::from_millis(100);
[INFO] [stdout]     |            ^^^^ use of unresolved module or unlinked crate `time`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 147 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 150 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 150 + let time = Duration::from_millis(100);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/lib.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | thread::sleep(time);
[INFO] [stdout]     | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 147 + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chrono` in this scope
[INFO] [stdout]    --> src/lib.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 | println!("elapsed: {}", chrono.duration().as_millis());
[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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Chronometer::duration (line 147)
[INFO] [stdout]     src/lib.rs - Chronometer::lap (line 93)
[INFO] [stdout]     src/lib.rs - Chronometer::pause (line 60)
[INFO] [stdout]     src/lib.rs - Chronometer::reset (line 118)
[INFO] [stdout]     src/lib.rs - Chronometer::start (line 45)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1ebda88a0d4d75a7a7a35bc8099f7c8b9a524989c28c7f242e8f3d12200550ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ebda88a0d4d75a7a7a35bc8099f7c8b9a524989c28c7f242e8f3d12200550ee", kill_on_drop: false }`
[INFO] [stdout] 1ebda88a0d4d75a7a7a35bc8099f7c8b9a524989c28c7f242e8f3d12200550ee
