[INFO] cloning repository https://github.com/TerminaD/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/TerminaD/wordle_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerminaD%2Fwordle_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerminaD%2Fwordle_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d2c7c562928ced8556b0eefff3f0bdd5f48766a [INFO] checking TerminaD/wordle_rust against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerminaD%2Fwordle_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TerminaD/wordle_rust [INFO] finished tweaking git repo https://github.com/TerminaD/wordle_rust [INFO] tweaked toml for git repo https://github.com/TerminaD/wordle_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TerminaD/wordle_rust on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TerminaD/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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33f481afbb76145563a7441e1c5f4b4422d3a1f8690c27e39d39d30461356568 [INFO] running `Command { std: "docker" "start" "-a" "33f481afbb76145563a7441e1c5f4b4422d3a1f8690c27e39d39d30461356568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f481afbb76145563a7441e1c5f4b4422d3a1f8690c27e39d39d30461356568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f481afbb76145563a7441e1c5f4b4422d3a1f8690c27e39d39d30461356568", kill_on_drop: false }` [INFO] [stdout] 33f481afbb76145563a7441e1c5f4b4422d3a1f8690c27e39d39d30461356568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4367cc577b8f31a6f96677f708e37e2ad88e81f4e0083802f39acca59561788 [INFO] running `Command { std: "docker" "start" "-a" "b4367cc577b8f31a6f96677f708e37e2ad88e81f4e0083802f39acca59561788", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking clearscreen v1.0.10 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Checking wordle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::logic::is_five_letter_capitalized` [INFO] [stdout] --> src/json_state.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | logic::{check_valid_entry, is_five_letter_capitalized}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `is_five_letter_capitalized` in `logic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::logic::is_five_letter_capitalized` [INFO] [stdout] --> src/json_state.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | logic::{check_valid_entry, is_five_letter_capitalized}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `is_five_letter_capitalized` in `logic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/init.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/init.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/init.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/init.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/init.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/init.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/init.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/init.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json_state.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json_state.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json_state.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json_state.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json_state.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json_state.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json_state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub guess_list: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub answer_list: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub config: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | pub state: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DeserializeOwned` in this scope [INFO] [stdout] --> src/init.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.144/src/de/mod.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | --------------------------------- similarly named trait `Deserialize` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 - T: DeserializeOwned, [INFO] [stdout] 155 + T: Deserialize, [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 + use serde::de::DeserializeOwned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/init.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | let reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BufReader` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 160 - let reader = BufReader::new(file); [INFO] [stdout] 160 + let reader = BufRead::new(file); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use crate::io::BufReader; [INFO] [stdout] | [INFO] [stdout] 12 + use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/logic.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | if !input.chars().all(char::is_ascii_uppercase(&self)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/logic.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn check_valid_entry(entry: &String, list: &Vec) -> bool { [INFO] [stdout] | ----------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 54 | if !input.chars().all(char::is_ascii_uppercase(&self)) { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/logic.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | if !list.contains(&input) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub guess_list: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub answer_list: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub config: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/init.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | pub state: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DeserializeOwned` in this scope [INFO] [stdout] --> src/init.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.144/src/de/mod.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | --------------------------------- similarly named trait `Deserialize` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 - T: DeserializeOwned, [INFO] [stdout] 155 + T: Deserialize, [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 + use serde::de::DeserializeOwned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/init.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | let reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BufReader` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 160 - let reader = BufReader::new(file); [INFO] [stdout] 160 + let reader = BufRead::new(file); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use crate::io::BufReader; [INFO] [stdout] | [INFO] [stdout] 12 + use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/logic.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | if !input.chars().all(char::is_ascii_uppercase(&self)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/logic.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn check_valid_entry(entry: &String, list: &Vec) -> bool { [INFO] [stdout] | ----------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 54 | if !input.chars().all(char::is_ascii_uppercase(&self)) { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/logic.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | if !list.contains(&input) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/init.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | guess_list_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/std/src/path.rs:2315:11 [INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/init.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | guess_list_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/std/src/path.rs:2315:11 [INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/render.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn render_end(state: &GameState, data: &AttemptState, answer: &String, stat: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/std/src/path.rs:2315:11 [INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/render.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn render_end(state: &GameState, data: &AttemptState, answer: &String, stat: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/std/src/path.rs:2315:11 [INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option` [INFO] [stdout] --> /rustc/c8085cfed34c45021fc8f66d073f6394b3e35431/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0424, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0424, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wordle` (bin "wordle" test) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wordle` (bin "wordle") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "b4367cc577b8f31a6f96677f708e37e2ad88e81f4e0083802f39acca59561788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4367cc577b8f31a6f96677f708e37e2ad88e81f4e0083802f39acca59561788", kill_on_drop: false }` [INFO] [stdout] b4367cc577b8f31a6f96677f708e37e2ad88e81f4e0083802f39acca59561788