[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] testing steveklabnik/GPACalc.rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60efecd3ddd5cab8fdab5c978e6ddf944257ca092f9acf441a2be40d363ae541 [INFO] running `Command { std: "docker" "start" "-a" "60efecd3ddd5cab8fdab5c978e6ddf944257ca092f9acf441a2be40d363ae541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60efecd3ddd5cab8fdab5c978e6ddf944257ca092f9acf441a2be40d363ae541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60efecd3ddd5cab8fdab5c978e6ddf944257ca092f9acf441a2be40d363ae541", kill_on_drop: false }` [INFO] [stdout] 60efecd3ddd5cab8fdab5c978e6ddf944257ca092f9acf441a2be40d363ae541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aa969ac5160050e422b1f0886f29e0ae2682930c6a3911c7143bf009ec82fb4 [INFO] running `Command { std: "docker" "start" "-a" "8aa969ac5160050e422b1f0886f29e0ae2682930c6a3911c7143bf009ec82fb4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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[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<'a>` 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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:2662: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] [stderr] error: could not compile `gpacalc` (bin "gpacalc") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8aa969ac5160050e422b1f0886f29e0ae2682930c6a3911c7143bf009ec82fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa969ac5160050e422b1f0886f29e0ae2682930c6a3911c7143bf009ec82fb4", kill_on_drop: false }` [INFO] [stdout] 8aa969ac5160050e422b1f0886f29e0ae2682930c6a3911c7143bf009ec82fb4