[INFO] cloning repository https://github.com/adamdrake210/wordle-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamdrake210/wordle-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamdrake210%2Fwordle-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamdrake210%2Fwordle-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 524b98638d7851aba1b551261d8ed0555cf99685 [INFO] checking adamdrake210/wordle-rust against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamdrake210%2Fwordle-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamdrake210/wordle-rust on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamdrake210/wordle-rust [INFO] finished tweaking git repo https://github.com/adamdrake210/wordle-rust [INFO] tweaked toml for git repo https://github.com/adamdrake210/wordle-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adamdrake210/wordle-rust 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" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa70b9860d1b5ee3e21c2a78d1f6f02638b0690d306b3d1dbfbed7f20206d814 [INFO] running `Command { std: "docker" "start" "-a" "fa70b9860d1b5ee3e21c2a78d1f6f02638b0690d306b3d1dbfbed7f20206d814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa70b9860d1b5ee3e21c2a78d1f6f02638b0690d306b3d1dbfbed7f20206d814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa70b9860d1b5ee3e21c2a78d1f6f02638b0690d306b3d1dbfbed7f20206d814", kill_on_drop: false }` [INFO] [stdout] fa70b9860d1b5ee3e21c2a78d1f6f02638b0690d306b3d1dbfbed7f20206d814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 009e8de27e044dcd1b7d7a8a56635a2d9eb5e44629d5493304efd5c69c21b69d [INFO] running `Command { std: "docker" "start" "-a" "009e8de27e044dcd1b7d7a8a56635a2d9eb5e44629d5493304efd5c69c21b69d", kill_on_drop: false }` [INFO] [stderr] Checking roget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `mut` must be followed by a named binding [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mut` may be followed by `variable` and `variable @ pattern` [INFO] [stdout] help: remove the `mut` prefix [INFO] [stdout] | [INFO] [stdout] 23 - fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] 23 + fn guess(&self, history: &[Guess]) -> String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `mut` must be followed by a named binding [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mut` may be followed by `variable` and `variable @ pattern` [INFO] [stdout] help: remove the `mut` prefix [INFO] [stdout] | [INFO] [stdout] 23 - fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] 23 + fn guess(&self, history: &[Guess]) -> String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(_: mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: keyword `use` is written in the wrong case [INFO] [stdout] --> src/algorithms/naive.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: write it in the correct case (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 1 - Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] 1 + use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `mut` must be followed by a named binding [INFO] [stdout] --> src/algorithms/naive.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mut` may be followed by `variable` and `variable @ pattern` [INFO] [stdout] help: remove the `mut` prefix [INFO] [stdout] | [INFO] [stdout] 7 - fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] 7 + fn guess(&self, history: &[Guess]) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/algorithms/naive.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(_: mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 23 | fn guess(_: mut &self, history: &[Guess]) -> String; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: keyword `use` is written in the wrong case [INFO] [stdout] --> src/algorithms/naive.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: write it in the correct case (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 1 - Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] 1 + use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `mut` must be followed by a named binding [INFO] [stdout] --> src/algorithms/naive.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mut` may be followed by `variable` and `variable @ pattern` [INFO] [stdout] help: remove the `mut` prefix [INFO] [stdout] | [INFO] [stdout] 7 - fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] 7 + fn guess(&self, history: &[Guess]) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/algorithms/naive.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn guess(_: mut &self, history: &[Guess]) -> String { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Correctness` [INFO] [stdout] --> src/algorithms/naive.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Correctness` [INFO] [stdout] --> src/algorithms/naive.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | Use crate::{Guesser, Guess, Correctness}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/lib.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn play(answer: &'static str, guesser: G) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guesser` [INFO] [stdout] --> src/lib.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn play(answer: &'static str, guesser: G) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guesser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/lib.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn play(answer: &'static str, guesser: G) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guesser` [INFO] [stdout] --> src/lib.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn play(answer: &'static str, guesser: G) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guesser` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roget` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `roget` (lib) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "009e8de27e044dcd1b7d7a8a56635a2d9eb5e44629d5493304efd5c69c21b69d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009e8de27e044dcd1b7d7a8a56635a2d9eb5e44629d5493304efd5c69c21b69d", kill_on_drop: false }` [INFO] [stdout] 009e8de27e044dcd1b7d7a8a56635a2d9eb5e44629d5493304efd5c69c21b69d