[INFO] fetching crate cfrp 0.0.4... [INFO] checking cfrp-0.0.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate cfrp 0.0.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cfrp 0.0.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfrp 0.0.4 [INFO] finished tweaking crates.io crate cfrp 0.0.4 [INFO] tweaked toml for crates.io crate cfrp 0.0.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94aa403091a25ac2f2f60ad6229f78302cf1d931f9270c2284c9eaab8ec1c62c [INFO] running `Command { std: "docker" "start" "-a" "94aa403091a25ac2f2f60ad6229f78302cf1d931f9270c2284c9eaab8ec1c62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94aa403091a25ac2f2f60ad6229f78302cf1d931f9270c2284c9eaab8ec1c62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94aa403091a25ac2f2f60ad6229f78302cf1d931f9270c2284c9eaab8ec1c62c", kill_on_drop: false }` [INFO] [stdout] 94aa403091a25ac2f2f60ad6229f78302cf1d931f9270c2284c9eaab8ec1c62c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 558c85e8b3678fb612488e8c305bc41e789e3a8ec340570818154bb99518844c [INFO] running `Command { std: "docker" "start" "-a" "558c85e8b3678fb612488e8c305bc41e789e3a8ec340570818154bb99518844c", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking cfrp v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | A: 'static + Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:114:67 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn every(&self, interval: time::Duration) -> Branch [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let initial = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | .take_while(|tm| { *tm < time::now() }) [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | let sleep_duration = time::now() - tm.unwrap(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn ack_timestamp(&self) -> Branch [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | .lift(|_| -> time::Tm { time::now() }) [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:209:43 [INFO] [stdout] | [INFO] [stdout] 209 | .lift(|_| -> time::Tm { time::now() }) [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/builder.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | A: 'static + Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | A: 'static + Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/primitives/input.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | A: Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:114:67 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn every(&self, interval: time::Duration) -> Branch [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let initial = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | .take_while(|tm| { *tm < time::now() }) [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | let sleep_duration = time::now() - tm.unwrap(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn ack_timestamp(&self) -> Branch [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/builder.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | .lift(|_| -> time::Tm { time::now() }) [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/builder.rs:209:43 [INFO] [stdout] | [INFO] [stdout] 209 | .lift(|_| -> time::Tm { time::now() }) [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/builder.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | A: 'static + Send + Clone + rand::Rand, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `StdRng` in `rand` [INFO] [stdout] --> src/lib.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | let rng = rand::StdRng::new().unwrap(); [INFO] [stdout] | ^^^^^^ could not find `StdRng` in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 179 + use rand::rngs::StdRng; [INFO] [stdout] | [INFO] [stdout] help: if you import `StdRng`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 326 - let rng = rand::StdRng::new().unwrap(); [INFO] [stdout] 326 + let rng = StdRng::new().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cfrp` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cfrp` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "558c85e8b3678fb612488e8c305bc41e789e3a8ec340570818154bb99518844c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558c85e8b3678fb612488e8c305bc41e789e3a8ec340570818154bb99518844c", kill_on_drop: false }` [INFO] [stdout] 558c85e8b3678fb612488e8c305bc41e789e3a8ec340570818154bb99518844c