[INFO] updating cached repository https://github.com/steveklabnik/GPACalc.rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a40be331adf32c3eb12e5d876eaf3cea8984eb26 [INFO] checking steveklabnik/GPACalc.rs against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2FGPACalc.rs" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steveklabnik/GPACalc.rs on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/steveklabnik/GPACalc.rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac5f6af55d383dd0425ac45c6348faa2e413e232f530de7b746737bebd967439 [INFO] running `"docker" "start" "-a" "ac5f6af55d383dd0425ac45c6348faa2e413e232f530de7b746737bebd967439"` [INFO] [stderr] Checking gpacalc v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | println!("Instructions: Type the uppercase letter grade then press enter\n enter `done` to calculate GPA") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 6 | let mut stdin = io::stdin(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | println!("Instructions: Type the uppercase letter grade then press enter\n enter `done` to calculate GPA") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 6 | let mut stdin = io::stdin(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `A` in this scope [INFO] [stderr] --> src/main.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | accum += A; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `B` in this scope [INFO] [stderr] --> src/main.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | accum += B; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `b` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C` in this scope [INFO] [stderr] --> src/main.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | accum += C; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `c` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D` in this scope [INFO] [stderr] --> src/main.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | accum += D; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `d` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `F` in this scope [INFO] [stderr] --> src/main.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | accum += F; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `f` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `A` in this scope [INFO] [stderr] --> src/main.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | accum += A; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `B` in this scope [INFO] [stderr] --> src/main.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | accum += B; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `b` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C` in this scope [INFO] [stderr] --> src/main.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | accum += C; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `c` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D` in this scope [INFO] [stderr] --> src/main.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | accum += D; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `d` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `F` in this scope [INFO] [stderr] --> src/main.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | accum += F; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `f` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lines` found for type `std::io::StdinLock<'_>` in the current scope [INFO] [stderr] --> src/main.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | for line in reader.lines() { [INFO] [stderr] | ^^^^^ method not found in `std::io::StdinLock<'_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lines` found for type `std::io::StdinLock<'_>` in the current scope [INFO] [stderr] --> src/main.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | for line in reader.lines() { [INFO] [stderr] | ^^^^^ method not found in `std::io::StdinLock<'_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `gpacalc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gpacalc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ac5f6af55d383dd0425ac45c6348faa2e413e232f530de7b746737bebd967439"` [INFO] running `"docker" "rm" "-f" "ac5f6af55d383dd0425ac45c6348faa2e413e232f530de7b746737bebd967439"` [INFO] [stdout] ac5f6af55d383dd0425ac45c6348faa2e413e232f530de7b746737bebd967439