[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLGames%2FWordSearchGenerator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LLGames/WordSearchGenerator on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-7-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaf380d3797d97823a98471dae23718b517667eafd9714e550d806d9d9c791fe [INFO] running `Command { std: "docker" "start" "-a" "aaf380d3797d97823a98471dae23718b517667eafd9714e550d806d9d9c791fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaf380d3797d97823a98471dae23718b517667eafd9714e550d806d9d9c791fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf380d3797d97823a98471dae23718b517667eafd9714e550d806d9d9c791fe", kill_on_drop: false }` [INFO] [stdout] aaf380d3797d97823a98471dae23718b517667eafd9714e550d806d9d9c791fe [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6755f171d1edb60f8dcf9b5a4dd0ddb0241fae9b40ecf3dd3bcba5618f8f6f7c [INFO] running `Command { std: "docker" "start" "-a" "6755f171d1edb60f8dcf9b5a4dd0ddb0241fae9b40ecf3dd3bcba5618f8f6f7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling libc v0.2.71 [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: 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: 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] [stderr] Checking wasm-bindgen-test v0.3.14 [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 18.84s [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" "6755f171d1edb60f8dcf9b5a4dd0ddb0241fae9b40ecf3dd3bcba5618f8f6f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6755f171d1edb60f8dcf9b5a4dd0ddb0241fae9b40ecf3dd3bcba5618f8f6f7c", kill_on_drop: false }` [INFO] [stdout] 6755f171d1edb60f8dcf9b5a4dd0ddb0241fae9b40ecf3dd3bcba5618f8f6f7c