[INFO] cloning repository https://github.com/Logta/life_game_wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Logta/life_game_wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogta%2Flife_game_wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogta%2Flife_game_wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4eb2f580aecee9372973c8c1a6a6df7cb1cad064 [INFO] checking Logta/life_game_wasm/4eb2f580aecee9372973c8c1a6a6df7cb1cad064 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogta%2Flife_game_wasm" "/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/Logta/life_game_wasm on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Logta/life_game_wasm [INFO] finished tweaking git repo https://github.com/Logta/life_game_wasm [INFO] tweaked toml for git repo https://github.com/Logta/life_game_wasm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Logta/life_game_wasm 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.38 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.38 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3c5e69aacea30c3a7f7d8e6eedca9ca9218f7b7ad74ba4d5e10eefc166f39e [INFO] running `Command { std: "docker" "start" "-a" "dc3c5e69aacea30c3a7f7d8e6eedca9ca9218f7b7ad74ba4d5e10eefc166f39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3c5e69aacea30c3a7f7d8e6eedca9ca9218f7b7ad74ba4d5e10eefc166f39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3c5e69aacea30c3a7f7d8e6eedca9ca9218f7b7ad74ba4d5e10eefc166f39e", kill_on_drop: false }` [INFO] [stdout] dc3c5e69aacea30c3a7f7d8e6eedca9ca9218f7b7ad74ba4d5e10eefc166f39e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcf733c448922d5aaa729520041f79a71211b0a1a9c72efaa9c3dc02c5165352 [INFO] running `Command { std: "docker" "start" "-a" "bcf733c448922d5aaa729520041f79a71211b0a1a9c72efaa9c3dc02c5165352", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.38 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Checking js-sys v0.3.65 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.38 [INFO] [stderr] Checking web-sys v0.3.65 [INFO] [stderr] Checking wasm-bindgen-test v0.3.38 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::prelude::*` [INFO] [stdout] --> tests/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> tests/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> tests/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::load_yaml` [INFO] [stdout] --> src/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::load_yaml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CONFIG_PATH` [INFO] [stdout] --> src/field.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::config::CONFIG_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let p = Player::init(standard_rule::StandardRule {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let p = Player::init(standard_rule::StandardRule {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let table = document.create_element("life-game-table").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let table = document.create_element("life-game-table").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | Color::White => Color::Black, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 29 | Color::Black => Color::White, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | _ => Color::White, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/field.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | Color::White => Color::Black, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 39 | Color::Black => Color::White, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 40 | _ => Color::White, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | Color::White => Color::Black, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 29 | Color::Black => Color::White, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_yaml` is never used [INFO] [stdout] --> src/config.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn load_yaml(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/config.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CONFIG_PATH: &str = "./src/config/config.yaml"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `max_row`, and `max_column` are never read [INFO] [stdout] --> src/field.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | pub board: Vec>, // [y][x] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub max_row: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub max_column: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | _ => Color::White, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/field.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | Color::White => Color::Black, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 39 | Color::Black => Color::White, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 40 | _ => Color::White, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invert_cell_state` and `play_cell` are never used [INFO] [stdout] --> src/field.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn invert_cell_state(mut self, x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn play_cell(mut self, x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field` and `generation` are never read [INFO] [stdout] --> src/player.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub field: Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub generation: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invert`, `step`, and `play` are never used [INFO] [stdout] --> src/player.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn invert(mut self, x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn step(mut self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn play(mut self, generation: u64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `burth`, `stay`, and `target_cells` are never used [INFO] [stdout] --> src/rules/rule_trait.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Rule { [INFO] [stdout] | ---- associated functions in this trait [INFO] [stdout] 4 | fn burth(vec: Vec) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | fn stay(vec: Vec) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | fn target_cells(x: usize, y: usize, max_rows: usize, max_columns: usize) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `play_cell` is never used [INFO] [stdout] --> src/field.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn play_cell(mut self, x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.18s [INFO] running `Command { std: "docker" "inspect" "bcf733c448922d5aaa729520041f79a71211b0a1a9c72efaa9c3dc02c5165352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf733c448922d5aaa729520041f79a71211b0a1a9c72efaa9c3dc02c5165352", kill_on_drop: false }` [INFO] [stdout] bcf733c448922d5aaa729520041f79a71211b0a1a9c72efaa9c3dc02c5165352