[INFO] cloning repository https://github.com/rysh/adding_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rysh/adding_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysh%2Fadding_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysh%2Fadding_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4423d2c72ce1f9da3fc95fd4cdfa5620fbf237d [INFO] checking rysh/adding_game against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysh%2Fadding_game" "/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/rysh/adding_game [INFO] finished tweaking git repo https://github.com/rysh/adding_game [INFO] tweaked toml for git repo https://github.com/rysh/adding_game written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rysh/adding_game on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rysh/adding_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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rysh/adding_game against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysh%2Fadding_game" "/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/rysh/adding_game [INFO] finished tweaking git repo https://github.com/rysh/adding_game [INFO] tweaked toml for git repo https://github.com/rysh/adding_game written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rysh/adding_game on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rysh/adding_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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08ad12e486f94b3bc40a111ba8498dab7430c58c6e5747483d6033bcc39e05c3 [INFO] running `Command { std: "docker" "start" "-a" "08ad12e486f94b3bc40a111ba8498dab7430c58c6e5747483d6033bcc39e05c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08ad12e486f94b3bc40a111ba8498dab7430c58c6e5747483d6033bcc39e05c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ad12e486f94b3bc40a111ba8498dab7430c58c6e5747483d6033bcc39e05c3", kill_on_drop: false }` [INFO] [stdout] 08ad12e486f94b3bc40a111ba8498dab7430c58c6e5747483d6033bcc39e05c3 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb52fa005b17fb08f161215e1409fbfe1af5c199448ea3ffeb94468b3077de99 [INFO] running `Command { std: "docker" "start" "-a" "fb52fa005b17fb08f161215e1409fbfe1af5c199448ea3ffeb94468b3077de99", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking adding_game v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `time` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `time` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [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:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | 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:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | 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 `Ordering` in this scope [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Less` in this scope [INFO] [stdout] --> src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if a < b { Less } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Greater` in this scope [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | else if a > b { Greater } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Equal` in this scope [INFO] [stdout] --> src/main.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | else { Equal } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 0u; [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:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [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:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | 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:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | 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 `Ordering` in this scope [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | fn cmp(a: uint, b: uint) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Less` in this scope [INFO] [stdout] --> src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if a < b { Less } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Greater` in this scope [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | else if a > b { Greater } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Equal` in this scope [INFO] [stdout] --> src/main.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | else { Equal } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use std::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 0u; [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:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_number = (rand::random::() % 1000u) + 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:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let input = io::stdin().read_line() [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/stdio.rs:411:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 28 | let input = io::stdin().read_line(/* &mut String */) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let input = io::stdin().read_line() [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&mut String` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/stdio.rs:411:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 28 | let input = io::stdin().read_line(/* &mut String */) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adding_game` (bin "adding_game" test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adding_game` (bin "adding_game") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "fb52fa005b17fb08f161215e1409fbfe1af5c199448ea3ffeb94468b3077de99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb52fa005b17fb08f161215e1409fbfe1af5c199448ea3ffeb94468b3077de99", kill_on_drop: false }` [INFO] [stdout] fb52fa005b17fb08f161215e1409fbfe1af5c199448ea3ffeb94468b3077de99