[INFO] cloning repository https://github.com/LLGames/WordSearchGenerator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LLGames/WordSearchGenerator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef8325070144e85ff1cef12701bd8f15689d884b [INFO] checking LLGames/WordSearchGenerator against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator" "/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/LLGames/WordSearchGenerator on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LLGames/WordSearchGenerator [INFO] finished tweaking git repo https://github.com/LLGames/WordSearchGenerator [INFO] tweaked toml for git repo https://github.com/LLGames/WordSearchGenerator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LLGames/WordSearchGenerator 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.14 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.14 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.14 [INFO] [stderr] Downloaded serde_derive v1.0.113 [INFO] [stderr] Downloaded js-sys v0.3.41 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded web-sys v0.3.41 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded wasm-bindgen v0.2.64 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5dbd05df69523bd5ee45997d08ee4129afaae3541370df2f5b266a547e09c06 [INFO] running `Command { std: "docker" "start" "-a" "a5dbd05df69523bd5ee45997d08ee4129afaae3541370df2f5b266a547e09c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5dbd05df69523bd5ee45997d08ee4129afaae3541370df2f5b266a547e09c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5dbd05df69523bd5ee45997d08ee4129afaae3541370df2f5b266a547e09c06", kill_on_drop: false }` [INFO] [stdout] a5dbd05df69523bd5ee45997d08ee4129afaae3541370df2f5b266a547e09c06 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3031c1ca529bbf44fe8707cc64df83d312787290c70eb69de0adb702e8f6483a [INFO] running `Command { std: "docker" "start" "-a" "3031c1ca529bbf44fe8707cc64df83d312787290c70eb69de0adb702e8f6483a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.14 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.14 [INFO] [stderr] Checking wordsearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `js_sys` is imported redundantly [INFO] [stdout] --> src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys; [INFO] [stdout] | ^^^^^^ the item `js_sys` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/wasm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/generator/word_set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positioner::Positioner` [INFO] [stdout] --> src/model/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positioner` is imported redundantly [INFO] [stdout] --> src/model/word_factory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Positioner` is already imported here [INFO] [stdout] 2 | use super::positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-test v0.3.14 [INFO] [stdout] warning: function `new_board` is never used [INFO] [stdout] --> src/wasm.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new_board(size: u32) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_gen` is never used [INFO] [stdout] --> src/wasm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_gen(words_json: js_sys::Array) -> JsValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_slots` is never used [INFO] [stdout] --> src/wasm.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fill_slots(board: &JsValue, n_words: u32, gen: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/wasm.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(words_json: js_sys::Array, size: u32, n_words: u32) -> JsValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `draw_orientation` and `draw_word` are never used [INFO] [stdout] --> src/generator/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WordGenerator { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] 12 | fn draw_orientation() -> Orientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_word(&mut self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_random_char` is never used [INFO] [stdout] --> src/generator/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait CharGenerator { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 17 | fn take_random_char(&self) -> char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/generator/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl DefaultGenerator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(words: Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `start_pos`, and `orientation` are never read [INFO] [stdout] --> src/model/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Word { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub start_pos: (usize, usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_word`, and `fill_blank_slots` are never used [INFO] [stdout] --> src/model/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert_word(self: &mut Self, word: &Word) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn fill_blank_slots(&mut self, generator: &impl CharGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_word` is never used [INFO] [stdout] --> src/model/word_factory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WordFactory { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn create_word(self: &Self, word: String, orient: Orientation) -> Word; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_words` is never used [INFO] [stdout] --> src/ui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn place_words(board: &mut Board, n_words: usize, gen: &DefaultGenerator) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_word` is never used [INFO] [stdout] --> src/ui.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_word(gen: &mut impl WordGenerator, board: &Board) -> Word { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_generator` is never used [INFO] [stdout] --> src/ui.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn init_generator(words: &Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `js_sys` is imported redundantly [INFO] [stdout] --> src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys; [INFO] [stdout] | ^^^^^^ the item `js_sys` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/wasm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/generator/word_set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positioner::Positioner` [INFO] [stdout] --> src/model/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positioner` is imported redundantly [INFO] [stdout] --> src/model/word_factory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Positioner` is already imported here [INFO] [stdout] 2 | use super::positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_board` is never used [INFO] [stdout] --> src/wasm.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new_board(size: u32) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_gen` is never used [INFO] [stdout] --> src/wasm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_gen(words_json: js_sys::Array) -> JsValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_slots` is never used [INFO] [stdout] --> src/wasm.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fill_slots(board: &JsValue, n_words: u32, gen: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/wasm.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(words_json: js_sys::Array, size: u32, n_words: u32) -> JsValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `draw_orientation` and `draw_word` are never used [INFO] [stdout] --> src/generator/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WordGenerator { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] 12 | fn draw_orientation() -> Orientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_word(&mut self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/generator/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl DefaultGenerator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(words: Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `start_pos`, and `orientation` are never read [INFO] [stdout] --> src/model/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Word { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub start_pos: (usize, usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_word`, and `fill_blank_slots` are never used [INFO] [stdout] --> src/model/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert_word(self: &mut Self, word: &Word) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn fill_blank_slots(&mut self, generator: &impl CharGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_word` is never used [INFO] [stdout] --> src/model/word_factory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WordFactory { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn create_word(self: &Self, word: String, orient: Orientation) -> Word; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_words` is never used [INFO] [stdout] --> src/ui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn place_words(board: &mut Board, n_words: usize, gen: &DefaultGenerator) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_word` is never used [INFO] [stdout] --> src/ui.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_word(gen: &mut impl WordGenerator, board: &Board) -> Word { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_generator` is never used [INFO] [stdout] --> src/ui.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn init_generator(words: &Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.64 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3031c1ca529bbf44fe8707cc64df83d312787290c70eb69de0adb702e8f6483a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3031c1ca529bbf44fe8707cc64df83d312787290c70eb69de0adb702e8f6483a", kill_on_drop: false }` [INFO] [stdout] 3031c1ca529bbf44fe8707cc64df83d312787290c70eb69de0adb702e8f6483a [INFO] checking LLGames/WordSearchGenerator against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LLGames/WordSearchGenerator on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LLGames/WordSearchGenerator [INFO] finished tweaking git repo https://github.com/LLGames/WordSearchGenerator [INFO] tweaked toml for git repo https://github.com/LLGames/WordSearchGenerator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LLGames/WordSearchGenerator 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4cc50a2f407be6aa11667b92592d2d8109e31734f25f32a268c3f3a8a245e22 [INFO] running `Command { std: "docker" "start" "-a" "c4cc50a2f407be6aa11667b92592d2d8109e31734f25f32a268c3f3a8a245e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4cc50a2f407be6aa11667b92592d2d8109e31734f25f32a268c3f3a8a245e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cc50a2f407be6aa11667b92592d2d8109e31734f25f32a268c3f3a8a245e22", kill_on_drop: false }` [INFO] [stdout] c4cc50a2f407be6aa11667b92592d2d8109e31734f25f32a268c3f3a8a245e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6542ce61b7cf3d46ba2414af820cc260af2555f924082dd743a6a65940650451 [INFO] running `Command { std: "docker" "start" "-a" "6542ce61b7cf3d46ba2414af820cc260af2555f924082dd743a6a65940650451", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.14 [INFO] [stderr] Checking wordsearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `js_sys` is imported redundantly [INFO] [stdout] --> src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys; [INFO] [stdout] | ^^^^^^ the item `js_sys` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/wasm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/generator/word_set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positioner::Positioner` [INFO] [stdout] --> src/model/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positioner` is imported redundantly [INFO] [stdout] --> src/model/word_factory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Positioner` is already imported here [INFO] [stdout] 2 | use super::positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-test v0.3.14 [INFO] [stdout] warning: function `new_board` is never used [INFO] [stdout] --> src/wasm.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new_board(size: u32) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_gen` is never used [INFO] [stdout] --> src/wasm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_gen(words_json: js_sys::Array) -> JsValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_slots` is never used [INFO] [stdout] --> src/wasm.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fill_slots(board: &JsValue, n_words: u32, gen: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/wasm.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(words_json: js_sys::Array, size: u32, n_words: u32) -> JsValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `draw_orientation` and `draw_word` are never used [INFO] [stdout] --> src/generator/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WordGenerator { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] 12 | fn draw_orientation() -> Orientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_word(&mut self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_random_char` is never used [INFO] [stdout] --> src/generator/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait CharGenerator { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 17 | fn take_random_char(&self) -> char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/generator/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl DefaultGenerator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(words: Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `start_pos`, and `orientation` are never read [INFO] [stdout] --> src/model/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Word { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub start_pos: (usize, usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_word`, and `fill_blank_slots` are never used [INFO] [stdout] --> src/model/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert_word(self: &mut Self, word: &Word) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn fill_blank_slots(&mut self, generator: &impl CharGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_word` is never used [INFO] [stdout] --> src/model/word_factory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WordFactory { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn create_word(self: &Self, word: String, orient: Orientation) -> Word; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_words` is never used [INFO] [stdout] --> src/ui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn place_words(board: &mut Board, n_words: usize, gen: &DefaultGenerator) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_word` is never used [INFO] [stdout] --> src/ui.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_word(gen: &mut impl WordGenerator, board: &Board) -> Word { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_generator` is never used [INFO] [stdout] --> src/ui.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn init_generator(words: &Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `js_sys` is imported redundantly [INFO] [stdout] --> src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys; [INFO] [stdout] | ^^^^^^ the item `js_sys` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/wasm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/generator/word_set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positioner::Positioner` [INFO] [stdout] --> src/model/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positioner` is imported redundantly [INFO] [stdout] --> src/model/word_factory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Positioner` is already imported here [INFO] [stdout] 2 | use super::positioner::Positioner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_board` is never used [INFO] [stdout] --> src/wasm.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new_board(size: u32) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_gen` is never used [INFO] [stdout] --> src/wasm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_gen(words_json: js_sys::Array) -> JsValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_slots` is never used [INFO] [stdout] --> src/wasm.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fill_slots(board: &JsValue, n_words: u32, gen: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/wasm.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(words_json: js_sys::Array, size: u32, n_words: u32) -> JsValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `draw_orientation` and `draw_word` are never used [INFO] [stdout] --> src/generator/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait WordGenerator { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] 12 | fn draw_orientation() -> Orientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_word(&mut self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/generator/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl DefaultGenerator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(words: Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `start_pos`, and `orientation` are never read [INFO] [stdout] --> src/model/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Word { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub start_pos: (usize, usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_word`, and `fill_blank_slots` are never used [INFO] [stdout] --> src/model/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert_word(self: &mut Self, word: &Word) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn fill_blank_slots(&mut self, generator: &impl CharGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_word` is never used [INFO] [stdout] --> src/model/word_factory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WordFactory { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn create_word(self: &Self, word: String, orient: Orientation) -> Word; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_words` is never used [INFO] [stdout] --> src/ui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn place_words(board: &mut Board, n_words: usize, gen: &DefaultGenerator) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_word` is never used [INFO] [stdout] --> src/ui.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_word(gen: &mut impl WordGenerator, board: &Board) -> Word { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_generator` is never used [INFO] [stdout] --> src/ui.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn init_generator(words: &Vec) -> DefaultGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.64 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6542ce61b7cf3d46ba2414af820cc260af2555f924082dd743a6a65940650451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6542ce61b7cf3d46ba2414af820cc260af2555f924082dd743a6a65940650451", kill_on_drop: false }` [INFO] [stdout] 6542ce61b7cf3d46ba2414af820cc260af2555f924082dd743a6a65940650451