[INFO] cloning repository https://github.com/nowlow/Chronometer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nowlow/Chronometer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowlow%2FChronometer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowlow%2FChronometer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8730f6063c0f03966334f7926058974e378e80d2
[INFO] testing nowlow/Chronometer against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowlow%2FChronometer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nowlow/Chronometer on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nowlow/Chronometer
[INFO] finished tweaking git repo https://github.com/nowlow/Chronometer
[INFO] tweaked toml for git repo https://github.com/nowlow/Chronometer written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/nowlow/Chronometer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b75e9b665227df2399daae4885873259d6513439bdcbadfd93078c727172dcd
[INFO] running `Command { std: "docker" "start" "-a" "5b75e9b665227df2399daae4885873259d6513439bdcbadfd93078c727172dcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b75e9b665227df2399daae4885873259d6513439bdcbadfd93078c727172dcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b75e9b665227df2399daae4885873259d6513439bdcbadfd93078c727172dcd", kill_on_drop: false }`
[INFO] [stdout] 5b75e9b665227df2399daae4885873259d6513439bdcbadfd93078c727172dcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70ca20090eaecc6b286e88db0412920d8daaa9fe8bf97db8ea519015925ac80f
[INFO] running `Command { std: "docker" "start" "-a" "70ca20090eaecc6b286e88db0412920d8daaa9fe8bf97db8ea519015925ac80f", 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.08s
[INFO] running `Command { std: "docker" "inspect" "70ca20090eaecc6b286e88db0412920d8daaa9fe8bf97db8ea519015925ac80f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70ca20090eaecc6b286e88db0412920d8daaa9fe8bf97db8ea519015925ac80f", kill_on_drop: false }`
[INFO] [stdout] 70ca20090eaecc6b286e88db0412920d8daaa9fe8bf97db8ea519015925ac80f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1af09e2b82b2ef29f3e25b4f829c779200102434d806350dd5d24b6a62bc7f1d
[INFO] running `Command { std: "docker" "start" "-a" "1af09e2b82b2ef29f3e25b4f829c779200102434d806350dd5d24b6a62bc7f1d", 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.24s
[INFO] running `Command { std: "docker" "inspect" "1af09e2b82b2ef29f3e25b4f829c779200102434d806350dd5d24b6a62bc7f1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1af09e2b82b2ef29f3e25b4f829c779200102434d806350dd5d24b6a62bc7f1d", kill_on_drop: false }`
[INFO] [stdout] 1af09e2b82b2ef29f3e25b4f829c779200102434d806350dd5d24b6a62bc7f1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b32b46a7fc06465f66809c28261d06cf4624d2d792c73cacca23238d83b1bb1
[INFO] running `Command { std: "docker" "start" "-a" "9b32b46a7fc06465f66809c28261d06cf4624d2d792c73cacca23238d83b1bb1", 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.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chronometer-f64a4c9a60ae3a9d)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test::pause ... ok
[INFO] [stdout] test test::create ... 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.10s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests chronometer
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[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::reset (line 118) ... FAILED
[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::new (line 24) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | 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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:150:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:152:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | println!("elapsed: {}", chrono.duration().as_millis()); // elapsed: 100
[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 - 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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:121:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:123:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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] 10 | 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::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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:96:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:98:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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 undeclared crate or module `thread`
[INFO] [stdout]   --> src/lib.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 13 | chrono.lap(); // chono.laps == [Duration<0.1s>, Duration<0.2s>]
[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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:63:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:65:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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 undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:67:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 13 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]   --> src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 
[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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9b32b46a7fc06465f66809c28261d06cf4624d2d792c73cacca23238d83b1bb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b32b46a7fc06465f66809c28261d06cf4624d2d792c73cacca23238d83b1bb1", kill_on_drop: false }`
[INFO] [stdout] 9b32b46a7fc06465f66809c28261d06cf4624d2d792c73cacca23238d83b1bb1
[INFO] testing nowlow/Chronometer against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowlow%2FChronometer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nowlow/Chronometer on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nowlow/Chronometer
[INFO] finished tweaking git repo https://github.com/nowlow/Chronometer
[INFO] tweaked toml for git repo https://github.com/nowlow/Chronometer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nowlow/Chronometer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 587a5db6941323f3c733a32f982b2de827dc96ca76847631791c10fb43b30f36
[INFO] running `Command { std: "docker" "start" "-a" "587a5db6941323f3c733a32f982b2de827dc96ca76847631791c10fb43b30f36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "587a5db6941323f3c733a32f982b2de827dc96ca76847631791c10fb43b30f36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "587a5db6941323f3c733a32f982b2de827dc96ca76847631791c10fb43b30f36", kill_on_drop: false }`
[INFO] [stdout] 587a5db6941323f3c733a32f982b2de827dc96ca76847631791c10fb43b30f36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21bcbdf13d240509b9b41dc8d24d6ead2ffb8a0705038e4365a8eebea46f03d8
[INFO] running `Command { std: "docker" "start" "-a" "21bcbdf13d240509b9b41dc8d24d6ead2ffb8a0705038e4365a8eebea46f03d8", 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.08s
[INFO] running `Command { std: "docker" "inspect" "21bcbdf13d240509b9b41dc8d24d6ead2ffb8a0705038e4365a8eebea46f03d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21bcbdf13d240509b9b41dc8d24d6ead2ffb8a0705038e4365a8eebea46f03d8", kill_on_drop: false }`
[INFO] [stdout] 21bcbdf13d240509b9b41dc8d24d6ead2ffb8a0705038e4365a8eebea46f03d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34786ff0ac81f3415d311498f9827535067921ede25e95597dc6eda4d8d8fbd6
[INFO] running `Command { std: "docker" "start" "-a" "34786ff0ac81f3415d311498f9827535067921ede25e95597dc6eda4d8d8fbd6", 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.27s
[INFO] running `Command { std: "docker" "inspect" "34786ff0ac81f3415d311498f9827535067921ede25e95597dc6eda4d8d8fbd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34786ff0ac81f3415d311498f9827535067921ede25e95597dc6eda4d8d8fbd6", kill_on_drop: false }`
[INFO] [stdout] 34786ff0ac81f3415d311498f9827535067921ede25e95597dc6eda4d8d8fbd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 01cc0ac0406ca0ad95f2219ee9fd95ecb07a187cf294bcf38a5927a7263c4ad3
[INFO] running `Command { std: "docker" "start" "-a" "01cc0ac0406ca0ad95f2219ee9fd95ecb07a187cf294bcf38a5927a7263c4ad3", 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.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chronometer-f64a4c9a60ae3a9d)
[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.10s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests chronometer
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[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::reset (line 118) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::pause (line 60) ... FAILED
[INFO] [stdout] test src/lib.rs - Chronometer::lap (line 93) ... 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::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] 3 | 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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:150:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:152:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | println!("elapsed: {}", chrono.duration().as_millis()); // elapsed: 100
[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 - 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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:121:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:123:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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] 10 | 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::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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:63:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:65:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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 undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:67:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 13 | chrono.start();
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]   --> src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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::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] 3 | chrono.start();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]  --> src/lib.rs:96:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let time = time::Duration::from_millis(100);
[INFO] [stdout]   |            ^^^^ use of undeclared crate or module `time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let time = time::Duration::from_millis(100);
[INFO] [stdout] 5 + let time = Duration::from_millis(100);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]  --> src/lib.rs:98:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | thread::sleep(time);
[INFO] [stdout]   | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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 undeclared crate or module `thread`
[INFO] [stdout]   --> src/lib.rs:102:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | thread::sleep(time);
[INFO] [stdout]    | ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 13 | chrono.lap(); // chono.laps == [Duration<0.1s>, Duration<0.2s>]
[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] 
[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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "01cc0ac0406ca0ad95f2219ee9fd95ecb07a187cf294bcf38a5927a7263c4ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01cc0ac0406ca0ad95f2219ee9fd95ecb07a187cf294bcf38a5927a7263c4ad3", kill_on_drop: false }`
[INFO] [stdout] 01cc0ac0406ca0ad95f2219ee9fd95ecb07a187cf294bcf38a5927a7263c4ad3
