[INFO] cloning repository https://github.com/koralle/wordle-solver-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koralle/wordle-solver-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoralle%2Fwordle-solver-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoralle%2Fwordle-solver-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a6c174da1b19f6b71bf93624d2444a08a0c4c6f [INFO] checking koralle/wordle-solver-rust against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoralle%2Fwordle-solver-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/koralle/wordle-solver-rust [INFO] finished tweaking git repo https://github.com/koralle/wordle-solver-rust [INFO] tweaked toml for git repo https://github.com/koralle/wordle-solver-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/koralle/wordle-solver-rust on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/koralle/wordle-solver-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e4434b13ff612716f6ab2f2389ca05d8934c3c4652fccf32ed445c65f42386e [INFO] running `Command { std: "docker" "start" "-a" "8e4434b13ff612716f6ab2f2389ca05d8934c3c4652fccf32ed445c65f42386e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e4434b13ff612716f6ab2f2389ca05d8934c3c4652fccf32ed445c65f42386e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4434b13ff612716f6ab2f2389ca05d8934c3c4652fccf32ed445c65f42386e", kill_on_drop: false }` [INFO] [stdout] 8e4434b13ff612716f6ab2f2389ca05d8934c3c4652fccf32ed445c65f42386e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a4d94e83300696d2380d589317325dc449f82cefe75cdfc36bcd56520646a22 [INFO] running `Command { std: "docker" "start" "-a" "9a4d94e83300696d2380d589317325dc449f82cefe75cdfc36bcd56520646a22", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking wordle-solver-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ErrorKind`, `Read`, and `Write` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read, Write, ErrorKind, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Read`, and `Write` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read, Write, ErrorKind, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(word) => { res.append(word) }, [INFO] [stdout] | ------ ^^^^ expected `&mut Vec`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/vec/mod.rs:2769:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 13 - Ok(word) => { res.append(word) }, [INFO] [stdout] 13 + Ok(word) => { res.push(word) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(word) => { res.append(word) }, [INFO] [stdout] | ------ ^^^^ expected `&mut Vec`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/vec/mod.rs:2769:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 13 - Ok(word) => { res.append(word) }, [INFO] [stdout] 13 + Ok(word) => { res.push(word) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/main.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 11 | / match item { [INFO] [stdout] 12 | | Err(why) => Err(why), [INFO] [stdout] | | -------- this is found to be of type `Result<_, std::io::Error>` [INFO] [stdout] 13 | | Ok(word) => { res.append(word) }, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ expected `Result<_, Error>`, found `()` [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 13 | Ok(word) => { Ok(res.append(word)) }, [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/main.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 11 | / match item { [INFO] [stdout] 12 | | Err(why) => Err(why), [INFO] [stdout] | | -------- this is found to be of type `Result<_, std::io::Error>` [INFO] [stdout] 13 | | Ok(word) => { res.append(word) }, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ expected `Result<_, Error>`, found `()` [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 13 | Ok(word) => { Ok(res.append(word)) }, [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut file = match File::open(dict_file_name) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut words: Vec> = BufReader::new(file).lines().collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut file = match File::open(dict_file_name) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut words: Vec> = BufReader::new(file).lines().collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wordle-solver-rust` (bin "wordle-solver-rust") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wordle-solver-rust` (bin "wordle-solver-rust" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a4d94e83300696d2380d589317325dc449f82cefe75cdfc36bcd56520646a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4d94e83300696d2380d589317325dc449f82cefe75cdfc36bcd56520646a22", kill_on_drop: false }` [INFO] [stdout] 9a4d94e83300696d2380d589317325dc449f82cefe75cdfc36bcd56520646a22