[INFO] cloning repository https://github.com/HackerJB10/SupplementP2_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/HackerJB10/SupplementP2_2_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2FSupplementP2_2_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2FSupplementP2_2_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62dd38af7975c81d7c3d8c06a37992bd8e9d94de [INFO] checking HackerJB10/SupplementP2_2_rust against try#579169d0e78824dc60934e5eb74cd3841f2b33e8 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2FSupplementP2_2_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HackerJB10/SupplementP2_2_rust [INFO] finished tweaking git repo https://github.com/HackerJB10/SupplementP2_2_rust [INFO] tweaked toml for git repo https://github.com/HackerJB10/SupplementP2_2_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HackerJB10/SupplementP2_2_rust on toolchain 579169d0e78824dc60934e5eb74cd3841f2b33e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HackerJB10/SupplementP2_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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2ff31688dbbfcfac686078f77ccdb5e762759ae3ae86152c94d8cd0c7ac9867 [INFO] running `Command { std: "docker" "start" "-a" "b2ff31688dbbfcfac686078f77ccdb5e762759ae3ae86152c94d8cd0c7ac9867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2ff31688dbbfcfac686078f77ccdb5e762759ae3ae86152c94d8cd0c7ac9867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ff31688dbbfcfac686078f77ccdb5e762759ae3ae86152c94d8cd0c7ac9867", kill_on_drop: false }` [INFO] [stdout] b2ff31688dbbfcfac686078f77ccdb5e762759ae3ae86152c94d8cd0c7ac9867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e51d3544bcbe058f9660d4a3e258f2c55aaefe73d1f270c33a68e6ef1463da [INFO] running `Command { std: "docker" "start" "-a" "d0e51d3544bcbe058f9660d4a3e258f2c55aaefe73d1f270c33a68e6ef1463da", kill_on_drop: false }` [INFO] [stderr] Checking supplement_p2_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [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[E0432]: unresolved import `rand_distr` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rand_distr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_distr`, use `cargo add rand_distr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [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[E0432]: unresolved import `rand_distr` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rand_distr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_distr`, use `cargo add rand_distr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `roll_dice_game` in this scope [INFO] [stdout] --> src/test.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let result = roll_dice_game(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::roll_dice_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/lib.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_normal` in this scope [INFO] [stdout] --> src/test.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let value = random_normal(mean, std_dev); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::random_normal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_password` in this scope [INFO] [stdout] --> src/test.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let password = generate_password(10, &allowed_chars); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::generate_password; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_password` in this scope [INFO] [stdout] --> src/test.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let password = generate_password(10, &allowed_chars); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::generate_password; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `roll_dice_game` in this scope [INFO] [stdout] --> src/test.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let result = roll_dice_game(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::roll_dice_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 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:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | 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:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 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:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 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:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supplement_p2_2` (lib) 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 test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "d0e51d3544bcbe058f9660d4a3e258f2c55aaefe73d1f270c33a68e6ef1463da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e51d3544bcbe058f9660d4a3e258f2c55aaefe73d1f270c33a68e6ef1463da", kill_on_drop: false }` [INFO] [stdout] d0e51d3544bcbe058f9660d4a3e258f2c55aaefe73d1f270c33a68e6ef1463da