[INFO] cloning repository https://github.com/BenMorganIO/guessing_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenMorganIO/guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMorganIO%2Fguessing_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMorganIO%2Fguessing_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d43565e9858b626b15b28cea019e34f0ea9b9ad [INFO] checking BenMorganIO/guessing_game/8d43565e9858b626b15b28cea019e34f0ea9b9ad against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMorganIO%2Fguessing_game" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenMorganIO/guessing_game on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenMorganIO/guessing_game [INFO] finished tweaking git repo https://github.com/BenMorganIO/guessing_game [INFO] tweaked toml for git repo https://github.com/BenMorganIO/guessing_game written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BenMorganIO/guessing_game 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2188ba76758bd422e948d529f46baacd72a8a06bb6bb03fb030372fc12fd83c [INFO] running `Command { std: "docker" "start" "-a" "f2188ba76758bd422e948d529f46baacd72a8a06bb6bb03fb030372fc12fd83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2188ba76758bd422e948d529f46baacd72a8a06bb6bb03fb030372fc12fd83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2188ba76758bd422e948d529f46baacd72a8a06bb6bb03fb030372fc12fd83c", kill_on_drop: false }` [INFO] [stdout] f2188ba76758bd422e948d529f46baacd72a8a06bb6bb03fb030372fc12fd83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e2d53fc01060a89de76c9c7a00820b1b8aff0f5621825fab347a88d40fec2b6 [INFO] running `Command { std: "docker" "start" "-a" "6e2d53fc01060a89de76c9c7a00820b1b8aff0f5621825fab347a88d40fec2b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking guessing_game v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `guessing_game` [INFO] [stdout] --> tests/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate guessing_game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (test "main") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | let secret_number: usize = (rand::random::() % 100us) + 1us; [INFO] [stdout] | ^^^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | let secret_number: usize = (rand::random::() % 100us) + 1us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | let secret_number: usize = (rand::random::() % 100us) + 1us; [INFO] [stdout] | ^^^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | let secret_number: usize = (rand::random::() % 100us) + 1us; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let input = io::stdin().read_line().ok().expect("Failed to read line"); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/stdio.rs:403:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 13 | let input = io::stdin().read_line(/* &mut String */).ok().expect("Failed to read line"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let input = io::stdin().read_line().ok().expect("Failed to read line"); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/stdio.rs:403:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 13 | let input = io::stdin().read_line(/* &mut String */).ok().expect("Failed to read line"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let input_num: Option = input.trim().parse::(); [INFO] [stdout] | ^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let input_num: Option = input.trim().parse::(); [INFO] [stdout] | ^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 5 previous errors [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6e2d53fc01060a89de76c9c7a00820b1b8aff0f5621825fab347a88d40fec2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2d53fc01060a89de76c9c7a00820b1b8aff0f5621825fab347a88d40fec2b6", kill_on_drop: false }` [INFO] [stdout] 6e2d53fc01060a89de76c9c7a00820b1b8aff0f5621825fab347a88d40fec2b6