[INFO] cloning repository https://github.com/JordanB04/supplement_p2_2_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JordanB04/supplement_p2_2_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanB04%2Fsupplement_p2_2_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanB04%2Fsupplement_p2_2_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8fa0df328e18d2940c34dbdc49ed1d012158b5c3
[INFO] checking JordanB04/supplement_p2_2_rust against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanB04%2Fsupplement_p2_2_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JordanB04/supplement_p2_2_rust
[INFO] finished tweaking git repo https://github.com/JordanB04/supplement_p2_2_rust
[INFO] tweaked toml for git repo https://github.com/JordanB04/supplement_p2_2_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JordanB04/supplement_p2_2_rust on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JordanB04/supplement_p2_2_rust 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking JordanB04/supplement_p2_2_rust against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanB04%2Fsupplement_p2_2_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JordanB04/supplement_p2_2_rust
[INFO] finished tweaking git repo https://github.com/JordanB04/supplement_p2_2_rust
[INFO] tweaked toml for git repo https://github.com/JordanB04/supplement_p2_2_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JordanB04/supplement_p2_2_rust on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JordanB04/supplement_p2_2_rust 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab
[INFO] running `Command { std: "docker" "start" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking supplement_p2_2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `approx`
[INFO] [stdout]  --> src/lib.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use approx::assert_relative_eq;
[INFO] [stdout]   |         ^^^^^^ use of unresolved module or unlinked crate `approx`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `approx`, use `cargo add approx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Rng` in this scope
[INFO] [stdout]   --> src/lib.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn normal_distribution<R: Rng>(mean: f64, std_dev: f64, rng: &mut R) -> f64 {
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::random::Rng;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Rng` in this scope
[INFO] [stdout]   --> src/lib.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn normal_distribution<R: Rng>(mean: f64, std_dev: f64, rng: &mut R) -> f64 {
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::random::Rng;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Normal` in this scope
[INFO] [stdout]   --> src/lib.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Normal`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `core::intrinsics::mir::BasicBlock::Normal` and 5 others; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = core::intrinsics::mir::BasicBlock::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = core::num::FpCategory::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = std::intrinsics::mir::BasicBlock::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = std::num::FpCategory::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]   --> src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]   --> src/lib.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/lib.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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] error[E0433]: cannot find type `Normal` in this scope
[INFO] [stdout]   --> src/lib.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Normal`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `core::intrinsics::mir::BasicBlock::Normal` and 5 others; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = core::intrinsics::mir::BasicBlock::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = core::num::FpCategory::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = std::intrinsics::mir::BasicBlock::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 20 -     let normal = Normal::new(mean, std_dev).unwrap();
[INFO] [stdout] 20 +     let normal = std::num::FpCategory::new(mean, std_dev).unwrap();
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]   --> src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]   --> src/lib.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `supplement_p2_2` (lib test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `supplement_p2_2` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab", kill_on_drop: false }`
[INFO] [stdout] bb38f9344c91ab391661cb5da73b7705d78305c806afc7790efa36cd6b9025ab
