[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogta%2Flife_game_wasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logta/life_game_wasm 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/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-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 96535b89cf1d1bd5e2131683d98d1dabaf0a73ead280900ee4f174a9f3ecaf72 [INFO] running `Command { std: "docker" "start" "-a" "96535b89cf1d1bd5e2131683d98d1dabaf0a73ead280900ee4f174a9f3ecaf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96535b89cf1d1bd5e2131683d98d1dabaf0a73ead280900ee4f174a9f3ecaf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96535b89cf1d1bd5e2131683d98d1dabaf0a73ead280900ee4f174a9f3ecaf72", kill_on_drop: false }` [INFO] [stdout] 96535b89cf1d1bd5e2131683d98d1dabaf0a73ead280900ee4f174a9f3ecaf72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 222e9c168bbf5e1ded2b4ef0d7099e30b36a3b7aeb05072273d59f8a3ad1518a [INFO] running `Command { std: "docker" "start" "-a" "222e9c168bbf5e1ded2b4ef0d7099e30b36a3b7aeb05072273d59f8a3ad1518a", 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 log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking pin-utils v0.1.0 [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: 3 warnings emitted [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 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 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: `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: unreachable pattern [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [INFO] [stdout] | [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] | ^ [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: 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.78s [INFO] running `Command { std: "docker" "inspect" "222e9c168bbf5e1ded2b4ef0d7099e30b36a3b7aeb05072273d59f8a3ad1518a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222e9c168bbf5e1ded2b4ef0d7099e30b36a3b7aeb05072273d59f8a3ad1518a", kill_on_drop: false }` [INFO] [stdout] 222e9c168bbf5e1ded2b4ef0d7099e30b36a3b7aeb05072273d59f8a3ad1518a [INFO] checking Logta/life_game_wasm against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogta%2Flife_game_wasm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logta/life_game_wasm 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/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-2-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ba956862da18b648c672e1b90da2dd280106af857fe67d74c2f0994ecb3a88c9 [INFO] running `Command { std: "docker" "start" "-a" "ba956862da18b648c672e1b90da2dd280106af857fe67d74c2f0994ecb3a88c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba956862da18b648c672e1b90da2dd280106af857fe67d74c2f0994ecb3a88c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba956862da18b648c672e1b90da2dd280106af857fe67d74c2f0994ecb3a88c9", kill_on_drop: false }` [INFO] [stdout] ba956862da18b648c672e1b90da2dd280106af857fe67d74c2f0994ecb3a88c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d24de9e96c0140a7a9f75808e7bb4221b0e84cdd752b3f3a1ab4a1277f377153 [INFO] running `Command { std: "docker" "start" "-a" "d24de9e96c0140a7a9f75808e7bb4221b0e84cdd752b3f3a1ab4a1277f377153", 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 bumpalo v3.14.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task 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] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [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: 3 warnings emitted [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: `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: unreachable pattern [INFO] [stdout] --> src/field.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Color::White, [INFO] [stdout] | ^ [INFO] [stdout] | [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] | ^ [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: 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: 14 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] | ^ [INFO] [stdout] | [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] | ^ [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.65s [INFO] running `Command { std: "docker" "inspect" "d24de9e96c0140a7a9f75808e7bb4221b0e84cdd752b3f3a1ab4a1277f377153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24de9e96c0140a7a9f75808e7bb4221b0e84cdd752b3f3a1ab4a1277f377153", kill_on_drop: false }` [INFO] [stdout] d24de9e96c0140a7a9f75808e7bb4221b0e84cdd752b3f3a1ab4a1277f377153