[INFO] fetching crate pi_time 0.5.1... [INFO] checking pi_time-0.5.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pi_time 0.5.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pi_time 0.5.1 [INFO] finished tweaking crates.io crate pi_time 0.5.1 [INFO] tweaked toml for crates.io crate pi_time 0.5.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pi_time 0.5.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.5.0) [INFO] [stderr] Adding ordered-float v3.9.2 (available: v5.0.0) [INFO] [stderr] Adding wasi v0.7.0 (available: v0.14.2+wasi-0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 040266be26df874f40066c0c691a6d8f1d6eb735fe6c2fe1cf48f6051478f27d [INFO] running `Command { std: "docker" "start" "-a" "040266be26df874f40066c0c691a6d8f1d6eb735fe6c2fe1cf48f6051478f27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "040266be26df874f40066c0c691a6d8f1d6eb735fe6c2fe1cf48f6051478f27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040266be26df874f40066c0c691a6d8f1d6eb735fe6c2fe1cf48f6051478f27d", kill_on_drop: false }` [INFO] [stdout] 040266be26df874f40066c0c691a6d8f1d6eb735fe6c2fe1cf48f6051478f27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b5f8de92104d670e7c675434fb63d3ab72c06ca1a4744e5276a3bc452a5c34 [INFO] running `Command { std: "docker" "start" "-a" "13b5f8de92104d670e7c675434fb63d3ab72c06ca1a4744e5276a3bc452a5c34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking pi_time v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/minstant.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/minstant.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let instant = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(target_arch = "wasm32")] [INFO] [stdout] | ---------------------- the item is gated behind the `wasm32` feature [INFO] [stdout] 27 | pub use wasm_instant::Instant; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(all(not(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86"))), not(target_arch = "wasm32")))] [INFO] [stdout] | ---------------------------------------------------------------------------- the item is gated here [INFO] [stdout] 45 | pub use std::time::Instant; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: struct `crate::tsc_now::tests::Instant` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 47 + use crate::Instant; [INFO] [stdout] | [INFO] [stdout] 47 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/minstant.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now_microsecond` in this scope [INFO] [stdout] --> benches/bench.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | let _ = sender0.send(now_microsecond()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/bench.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 12 | use pi_time::{HPClock, tick_clock, now_microsecond}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use pi_time::now_microsecond; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_time` (lib test) due to 3 previous errors [INFO] [stdout] error[E0425]: cannot find function `now_microsecond` in this scope [INFO] [stdout] --> benches/bench.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | Ok(r) => assert!(now_microsecond() >= r && r > 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/bench.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 12 | use pi_time::{HPClock, tick_clock, now_microsecond}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use pi_time::now_microsecond; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HPClock` [INFO] [stdout] --> benches/bench.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let clock = HPClock::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HPClock` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/bench.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 12 | use pi_time::{HPClock, tick_clock, now_microsecond}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HPClock` [INFO] [stdout] --> benches/bench.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let clock = HPClock::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HPClock` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/bench.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 12 | use pi_time::{HPClock, tick_clock, now_microsecond}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_time` (bench "bench") due to 5 previous errors [INFO] [stdout] error[E0425]: cannot find function `tick_clock` in this scope [INFO] [stdout] --> benches/bench.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | tick_clock(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> benches/bench.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 12 | use pi_time::{HPClock, tick_clock, now_microsecond}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pi_time::HPClock` [INFO] [stdout] --> tests/test.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use pi_time::{run_micros, start_secs, HPClock}; [INFO] [stdout] | ^^^^^^^ no `HPClock` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "high_performance")] [INFO] [stdout] | ---------------------------- the item is gated behind the `high_performance` feature [INFO] [stdout] 42 | pub use high_performance_clock::clock::HPClock; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> tests/test.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_time` (test "test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "13b5f8de92104d670e7c675434fb63d3ab72c06ca1a4744e5276a3bc452a5c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b5f8de92104d670e7c675434fb63d3ab72c06ca1a4744e5276a3bc452a5c34", kill_on_drop: false }` [INFO] [stdout] 13b5f8de92104d670e7c675434fb63d3ab72c06ca1a4744e5276a3bc452a5c34