[INFO] cloning repository https://github.com/Antiarchitect/rust_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/Antiarchitect/rust_guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntiarchitect%2Frust_guessing_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntiarchitect%2Frust_guessing_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba0fe58a80453cb3c555e35c18b2d9c0886aa555 [INFO] checking Antiarchitect/rust_guessing_game against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntiarchitect%2Frust_guessing_game" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Antiarchitect/rust_guessing_game 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 git repo https://github.com/Antiarchitect/rust_guessing_game [INFO] finished tweaking git repo https://github.com/Antiarchitect/rust_guessing_game [INFO] tweaked toml for git repo https://github.com/Antiarchitect/rust_guessing_game written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Antiarchitect/rust_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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7af8c25cbb7d040527d55b9a82325df4a5012e8c3833c8ef81ddb4976055c108 [INFO] running `Command { std: "docker" "start" "-a" "7af8c25cbb7d040527d55b9a82325df4a5012e8c3833c8ef81ddb4976055c108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7af8c25cbb7d040527d55b9a82325df4a5012e8c3833c8ef81ddb4976055c108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af8c25cbb7d040527d55b9a82325df4a5012e8c3833c8ef81ddb4976055c108", kill_on_drop: false }` [INFO] [stdout] 7af8c25cbb7d040527d55b9a82325df4a5012e8c3833c8ef81ddb4976055c108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ef27680383eee78538cbbbadea37cbeffdb042733cce7b34e4864b7d65c063 [INFO] running `Command { std: "docker" "start" "-a" "05ef27680383eee78538cbbbadea37cbeffdb042733cce7b34e4864b7d65c063", kill_on_drop: false }` [INFO] [stderr] Checking guessing_game v0.0.1 (/opt/rustwide/workdir) [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[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | let input_number = input.trim().parse::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^^^ invalid suffix `u` [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 `u` for number literal [INFO] [stdout] --> src/main.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^ invalid suffix `u` [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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stdout] | ^^^^^^^^^-- an argument of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/stdio.rs:397:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let input = io::stdin().read_line(/* &mut String */).ok().expect("Failed to read line."); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [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] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let input_number = input.trim().parse::(); [INFO] [stdout] | ^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | let input_number = input.trim().parse::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^^^ invalid suffix `u` [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 `u` for number literal [INFO] [stdout] --> src/main.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | let secret = (rand::random::() % 100u) + 1u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stdout] | ^^^^^^^^^-- an argument of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/stdio.rs:397:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let input_number = input.trim().parse::(); [INFO] [stdout] | ^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, 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" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "05ef27680383eee78538cbbbadea37cbeffdb042733cce7b34e4864b7d65c063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ef27680383eee78538cbbbadea37cbeffdb042733cce7b34e4864b7d65c063", kill_on_drop: false }` [INFO] [stdout] 05ef27680383eee78538cbbbadea37cbeffdb042733cce7b34e4864b7d65c063 [INFO] checking Antiarchitect/rust_guessing_game against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntiarchitect%2Frust_guessing_game" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Antiarchitect/rust_guessing_game on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Antiarchitect/rust_guessing_game [INFO] finished tweaking git repo https://github.com/Antiarchitect/rust_guessing_game [INFO] tweaked toml for git repo https://github.com/Antiarchitect/rust_guessing_game written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Antiarchitect/rust_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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7743572d948402c13508cf02cf478abde5b6250ad17a5aca29013f2c84424185 [INFO] running `Command { std: "docker" "start" "-a" "7743572d948402c13508cf02cf478abde5b6250ad17a5aca29013f2c84424185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7743572d948402c13508cf02cf478abde5b6250ad17a5aca29013f2c84424185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7743572d948402c13508cf02cf478abde5b6250ad17a5aca29013f2c84424185", kill_on_drop: false }` [INFO] [stdout] 7743572d948402c13508cf02cf478abde5b6250ad17a5aca29013f2c84424185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ddf367c9e5d4d2882abe4080348666e09c13cf30913a5e16b949f5ae832eb68 [INFO] running `Command { std: "docker" "start" "-a" "4ddf367c9e5d4d2882abe4080348666e09c13cf30913a5e16b949f5ae832eb68", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "4ddf367c9e5d4d2882abe4080348666e09c13cf30913a5e16b949f5ae832eb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddf367c9e5d4d2882abe4080348666e09c13cf30913a5e16b949f5ae832eb68", kill_on_drop: false }` [INFO] [stdout] 4ddf367c9e5d4d2882abe4080348666e09c13cf30913a5e16b949f5ae832eb68