[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 master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/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/steveklabnik/GPACalc.rs on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "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-0-tc1/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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "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] 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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e9a363cee379b7965db0e304866d46a12d345c72867f50f2bdf1f2d752be7bb [INFO] running `Command { std: "docker" "start" "-a" "1e9a363cee379b7965db0e304866d46a12d345c72867f50f2bdf1f2d752be7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e9a363cee379b7965db0e304866d46a12d345c72867f50f2bdf1f2d752be7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9a363cee379b7965db0e304866d46a12d345c72867f50f2bdf1f2d752be7bb", kill_on_drop: false }` [INFO] [stdout] 1e9a363cee379b7965db0e304866d46a12d345c72867f50f2bdf1f2d752be7bb [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=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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f354d23c4a1a3407f1430b0c109514bbd4030ef0432ccd28627b8c430729785d [INFO] running `Command { std: "docker" "start" "-a" "f354d23c4a1a3407f1430b0c109514bbd4030ef0432ccd28627b8c430729785d", 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 `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 `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 `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 `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 `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 `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 `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/b2728d5426bab1d8c39709768c7e22b7f66dde5d/library/std/src/io/mod.rs:2606: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] 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/b2728d5426bab1d8c39709768c7e22b7f66dde5d/library/std/src/io/mod.rs:2606: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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gpacalc` (bin "gpacalc" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f354d23c4a1a3407f1430b0c109514bbd4030ef0432ccd28627b8c430729785d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f354d23c4a1a3407f1430b0c109514bbd4030ef0432ccd28627b8c430729785d", kill_on_drop: false }` [INFO] [stdout] f354d23c4a1a3407f1430b0c109514bbd4030ef0432ccd28627b8c430729785d