[INFO] cloning repository https://github.com/switchswap/scrabble [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/switchswap/scrabble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswitchswap%2Fscrabble", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswitchswap%2Fscrabble'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ded76a6fd27be182bc45da79dbe3f986f7f794db [INFO] checking switchswap/scrabble against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswitchswap%2Fscrabble" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/switchswap/scrabble on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/switchswap/scrabble [INFO] finished tweaking git repo https://github.com/switchswap/scrabble [INFO] tweaked toml for git repo https://github.com/switchswap/scrabble written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/switchswap/scrabble 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded crossterm v0.26.1 [INFO] [stderr] Downloaded comfy-table v7.0.1 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aed009b95d28cb4798709c89524ac345b3769d0847582b234005f4656b91cf2 [INFO] running `Command { std: "docker" "start" "-a" "8aed009b95d28cb4798709c89524ac345b3769d0847582b234005f4656b91cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aed009b95d28cb4798709c89524ac345b3769d0847582b234005f4656b91cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aed009b95d28cb4798709c89524ac345b3769d0847582b234005f4656b91cf2", kill_on_drop: false }` [INFO] [stdout] 8aed009b95d28cb4798709c89524ac345b3769d0847582b234005f4656b91cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb0d9cab3353abfd105aa0ca134ac88b165b450293719db46ae91cb55ad63057 [INFO] running `Command { std: "docker" "start" "-a" "fb0d9cab3353abfd105aa0ca134ac88b165b450293719db46ae91cb55ad63057", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking comfy-table v7.0.1 [INFO] [stderr] Checking scrabble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/bag.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/bag.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/bag.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/bag.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_file` [INFO] [stdout] --> src/game.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(config_file: &str) -> Game { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/move.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | x, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/move.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_file` [INFO] [stdout] --> src/game.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(config_file: &str) -> Game { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal` [INFO] [stdout] --> src/move.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | horizontal, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `horizontal: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_string` [INFO] [stdout] --> src/move.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | tile_string, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `tile_string: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/move.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | board: &mut Board, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dictionary` [INFO] [stdout] --> src/move.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | dictionary: &Dictionary, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictionary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `letters` and `init_count` are never read [INFO] [stdout] --> src/bag.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 10 | tiles: Vec, [INFO] [stdout] 11 | letters: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | init_count: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tile`, `initial_tile_count`, `current_tile_count`, and `all_letters` are never used [INFO] [stdout] --> src/bag.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Bag { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_tile(&mut self, tile: Tile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn initial_tile_count(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn current_tile_count(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn all_letters(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_x` and `start_y` are never read [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | start_x: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | start_y: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `square_at_mut` and `start_square` are never used [INFO] [stdout] --> src/board.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn square_at_mut(&mut self, x: usize, y: usize) -> Option<&mut Square> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn start_square(&mut self) -> Option<&mut Square> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `word_list` is never read [INFO] [stdout] --> src/dictionary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dictionary { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | word_list: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_legal_word` is never used [INFO] [stdout] --> src/dictionary.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dictionary { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_legal_word(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/move.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | x, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `board` and `players` are never used [INFO] [stdout] --> src/game.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn board(&self) -> &Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn players(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/move.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `orig_letter_multiplier`, `orig_word_multiplier`, and `occupied` are never read [INFO] [stdout] --> src/square.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Square { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | orig_letter_multiplier: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | orig_word_multiplier: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | occupied: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal` [INFO] [stdout] --> src/move.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | horizontal, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `horizontal: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_string` [INFO] [stdout] --> src/move.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | tile_string, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `tile_string: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place_tile`, `remove_tile`, `use_square`, `is_occupied`, and `score` are never used [INFO] [stdout] --> src/square.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Square { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn place_tile(&mut self, tile: Tile) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn remove_tile(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn use_square(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn is_occupied(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn score(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/move.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | board: &mut Board, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_blank` is never used [INFO] [stdout] --> src/tile.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_blank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dictionary` [INFO] [stdout] --> src/move.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | dictionary: &Dictionary, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictionary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `letters` and `init_count` are never read [INFO] [stdout] --> src/bag.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 10 | tiles: Vec, [INFO] [stdout] 11 | letters: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | init_count: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tile`, `initial_tile_count`, `current_tile_count`, and `all_letters` are never used [INFO] [stdout] --> src/bag.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Bag { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_tile(&mut self, tile: Tile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn initial_tile_count(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn current_tile_count(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn all_letters(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | std::io::stdin().read_line(&mut String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = std::io::stdin().read_line(&mut String::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_x` and `start_y` are never read [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | start_x: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | start_y: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `square_at_mut` and `start_square` are never used [INFO] [stdout] --> src/board.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn square_at_mut(&mut self, x: usize, y: usize) -> Option<&mut Square> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn start_square(&mut self) -> Option<&mut Square> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `word_list` is never read [INFO] [stdout] --> src/dictionary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dictionary { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | word_list: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_legal_word` is never used [INFO] [stdout] --> src/dictionary.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dictionary { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_legal_word(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `board` and `players` are never used [INFO] [stdout] --> src/game.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn board(&self) -> &Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn players(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `orig_letter_multiplier`, `orig_word_multiplier`, and `occupied` are never read [INFO] [stdout] --> src/square.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Square { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | orig_letter_multiplier: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | orig_word_multiplier: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | occupied: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place_tile`, `remove_tile`, `use_square`, `is_occupied`, and `score` are never used [INFO] [stdout] --> src/square.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Square { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn place_tile(&mut self, tile: Tile) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn remove_tile(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn use_square(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn is_occupied(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn score(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | std::io::stdin().read_line(&mut String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = std::io::stdin().read_line(&mut String::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "fb0d9cab3353abfd105aa0ca134ac88b165b450293719db46ae91cb55ad63057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0d9cab3353abfd105aa0ca134ac88b165b450293719db46ae91cb55ad63057", kill_on_drop: false }` [INFO] [stdout] fb0d9cab3353abfd105aa0ca134ac88b165b450293719db46ae91cb55ad63057