[INFO] cloning repository https://github.com/steveklabnik/GPACalc.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steveklabnik/GPACalc.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a40be331adf32c3eb12e5d876eaf3cea8984eb26 [INFO] checking steveklabnik/GPACalc.rs against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steveklabnik/GPACalc.rs [INFO] finished tweaking git repo https://github.com/steveklabnik/GPACalc.rs [INFO] tweaked toml for git repo https://github.com/steveklabnik/GPACalc.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/steveklabnik/GPACalc.rs 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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 steveklabnik/GPACalc.rs against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steveklabnik/GPACalc.rs [INFO] finished tweaking git repo https://github.com/steveklabnik/GPACalc.rs [INFO] tweaked toml for git repo https://github.com/steveklabnik/GPACalc.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/steveklabnik/GPACalc.rs 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26d93d8b548d1fe4bb278a00e1ab1db9e22f8f9223593a285f517694bf20e92d [INFO] running `Command { std: "docker" "start" "-a" "26d93d8b548d1fe4bb278a00e1ab1db9e22f8f9223593a285f517694bf20e92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26d93d8b548d1fe4bb278a00e1ab1db9e22f8f9223593a285f517694bf20e92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d93d8b548d1fe4bb278a00e1ab1db9e22f8f9223593a285f517694bf20e92d", kill_on_drop: false }` [INFO] [stdout] 26d93d8b548d1fe4bb278a00e1ab1db9e22f8f9223593a285f517694bf20e92d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3fd2d56af7d5f5a6d3b49d3bc15afa6448ae0936442c2c212be95c9f0671a69 [INFO] running `Command { std: "docker" "start" "-a" "c3fd2d56af7d5f5a6d3b49d3bc15afa6448ae0936442c2c212be95c9f0671a69", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking gpacalc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:5:111 [INFO] [stdout] | [INFO] [stdout] 5 | println!("Instructions: Type the uppercase letter grade then press enter\n enter `done` to calculate GPA") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut stdin = io::stdin(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:5:111 [INFO] [stdout] | [INFO] [stdout] 5 | println!("Instructions: Type the uppercase letter grade then press enter\n enter `done` to calculate GPA") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut stdin = io::stdin(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | accum += A; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | accum += B; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `C` in this scope [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | accum += C; [INFO] [stdout] | ^ help: a local variable with a similar name exists (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/main.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | accum += D; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F` in this scope [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | accum += F; [INFO] [stdout] | ^ help: a local variable with a similar name exists (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | accum += A; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | accum += B; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `C` in this scope [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | accum += C; [INFO] [stdout] | ^ help: a local variable with a similar name exists (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/main.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | accum += D; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F` in this scope [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | accum += F; [INFO] [stdout] | ^ help: a local variable with a similar name exists (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `StdinLock` in the current scope [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | for line in reader.lines() { [INFO] [stdout] | ^^^^^ method not found in `StdinLock<'_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/io/mod.rs:2609:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `StdinLock<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BufRead` which provides `lines` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::BufRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `StdinLock` in the current scope [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | for line in reader.lines() { [INFO] [stdout] | ^^^^^ method not found in `StdinLock<'_>` [INFO] [stdout] --> /rustc/409ef99a7d4dc96ae91f65d4b48413ed174514d6/library/std/src/io/mod.rs:2609:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `StdinLock<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BufRead` which provides `lines` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::BufRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gpacalc` (bin "gpacalc" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpacalc` (bin "gpacalc") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c3fd2d56af7d5f5a6d3b49d3bc15afa6448ae0936442c2c212be95c9f0671a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fd2d56af7d5f5a6d3b49d3bc15afa6448ae0936442c2c212be95c9f0671a69", kill_on_drop: false }` [INFO] [stdout] c3fd2d56af7d5f5a6d3b49d3bc15afa6448ae0936442c2c212be95c9f0671a69