[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/ef8325070144e85ff1cef12701bd8f15689d884b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LLGames/WordSearchGenerator on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.14 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.14 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.14 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded serde_derive v1.0.113 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f17c3dd0cd9d696cbcf7cc25c60c520fe1519174f0e3eb14683674549528cca [INFO] running `Command { std: "docker" "start" "-a" "7f17c3dd0cd9d696cbcf7cc25c60c520fe1519174f0e3eb14683674549528cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f17c3dd0cd9d696cbcf7cc25c60c520fe1519174f0e3eb14683674549528cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f17c3dd0cd9d696cbcf7cc25c60c520fe1519174f0e3eb14683674549528cca", kill_on_drop: false }` [INFO] [stdout] 7f17c3dd0cd9d696cbcf7cc25c60c520fe1519174f0e3eb14683674549528cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e44c0e0925cadc096417b92cb1be2cd6210c51958b60e8ac1336d40b852ce232 [INFO] running `Command { std: "docker" "start" "-a" "e44c0e0925cadc096417b92cb1be2cd6210c51958b60e8ac1336d40b852ce232", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling libc v0.2.71 [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] Compiling wasm-bindgen-test-macro v0.3.14 [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: 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] = note: `#[warn(unused_imports)]` on by default [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: 15 warnings emitted [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] = note: `#[warn(unused_imports)]` on by default [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s [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 2` [INFO] running `Command { std: "docker" "inspect" "e44c0e0925cadc096417b92cb1be2cd6210c51958b60e8ac1336d40b852ce232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44c0e0925cadc096417b92cb1be2cd6210c51958b60e8ac1336d40b852ce232", kill_on_drop: false }` [INFO] [stdout] e44c0e0925cadc096417b92cb1be2cd6210c51958b60e8ac1336d40b852ce232