[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs 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/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-1-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6c905cc7518fa0328a33f0f046817cb9678bf101b2f2ae36009a6b9fede6530a [INFO] running `Command { std: "docker" "start" "-a" "6c905cc7518fa0328a33f0f046817cb9678bf101b2f2ae36009a6b9fede6530a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c905cc7518fa0328a33f0f046817cb9678bf101b2f2ae36009a6b9fede6530a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c905cc7518fa0328a33f0f046817cb9678bf101b2f2ae36009a6b9fede6530a", kill_on_drop: false }` [INFO] [stdout] 6c905cc7518fa0328a33f0f046817cb9678bf101b2f2ae36009a6b9fede6530a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c7eee17b4397bbc194ce92873432263fabebadc79f85d6b35abf294e0683136f [INFO] running `Command { std: "docker" "start" "-a" "c7eee17b4397bbc194ce92873432263fabebadc79f85d6b35abf294e0683136f", kill_on_drop: false }` [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 `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 `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 `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 `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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:2554: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:2554: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: aborting due to 7 previous errors [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: aborting due to 7 previous errors [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 8 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 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c7eee17b4397bbc194ce92873432263fabebadc79f85d6b35abf294e0683136f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7eee17b4397bbc194ce92873432263fabebadc79f85d6b35abf294e0683136f", kill_on_drop: false }` [INFO] [stdout] c7eee17b4397bbc194ce92873432263fabebadc79f85d6b35abf294e0683136f [INFO] checking steveklabnik/GPACalc.rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs 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/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-1-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3c9545b8e7774a5b2d932c67d3a5fc84fa8fba8958ab07e48c9e81083719594d [INFO] running `Command { std: "docker" "start" "-a" "3c9545b8e7774a5b2d932c67d3a5fc84fa8fba8958ab07e48c9e81083719594d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c9545b8e7774a5b2d932c67d3a5fc84fa8fba8958ab07e48c9e81083719594d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9545b8e7774a5b2d932c67d3a5fc84fa8fba8958ab07e48c9e81083719594d", kill_on_drop: false }` [INFO] [stdout] 3c9545b8e7774a5b2d932c67d3a5fc84fa8fba8958ab07e48c9e81083719594d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f80f578f9130bd2495f84d3e2898bd686d110cf5cc1d01fdaa3d58a62994c141 [INFO] running `Command { std: "docker" "start" "-a" "f80f578f9130bd2495f84d3e2898bd686d110cf5cc1d01fdaa3d58a62994c141", 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" "f80f578f9130bd2495f84d3e2898bd686d110cf5cc1d01fdaa3d58a62994c141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80f578f9130bd2495f84d3e2898bd686d110cf5cc1d01fdaa3d58a62994c141", kill_on_drop: false }` [INFO] [stdout] f80f578f9130bd2495f84d3e2898bd686d110cf5cc1d01fdaa3d58a62994c141