[INFO] cloning repository https://github.com/william-cohen/minesweeper-multiplayer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/william-cohen/minesweeper-multiplayer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliam-cohen%2Fminesweeper-multiplayer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliam-cohen%2Fminesweeper-multiplayer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cff7afd556565085c55595c89eda892eeac76f1 [INFO] checking william-cohen/minesweeper-multiplayer against master#8c6ce6b91b172f77c795a74bfeaf74b865146b3f for pr-101345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliam-cohen%2Fminesweeper-multiplayer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/william-cohen/minesweeper-multiplayer on toolchain 8c6ce6b91b172f77c795a74bfeaf74b865146b3f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/william-cohen/minesweeper-multiplayer [INFO] finished tweaking git repo https://github.com/william-cohen/minesweeper-multiplayer [INFO] tweaked toml for git repo https://github.com/william-cohen/minesweeper-multiplayer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/william-cohen/minesweeper-multiplayer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 864dcbcf598dfd3402d79ccce31f742134560ede79236e68719ab50cc9e93501 [INFO] running `Command { std: "docker" "start" "-a" "864dcbcf598dfd3402d79ccce31f742134560ede79236e68719ab50cc9e93501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864dcbcf598dfd3402d79ccce31f742134560ede79236e68719ab50cc9e93501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864dcbcf598dfd3402d79ccce31f742134560ede79236e68719ab50cc9e93501", kill_on_drop: false }` [INFO] [stdout] 864dcbcf598dfd3402d79ccce31f742134560ede79236e68719ab50cc9e93501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55dc2a35d197647c17e32ccb14f74f727451882559e18e69b7879eeec1927bac [INFO] running `Command { std: "docker" "start" "-a" "55dc2a35d197647c17e32ccb14f74f727451882559e18e69b7879eeec1927bac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking web-sys v0.3.51 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.24 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking minesweeper-multiplayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `yew::Properties` [INFO] [stdout] --> src/cell/icons/flag.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::Properties` [INFO] [stdout] --> src/cell/icons/bomb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::Properties` [INFO] [stdout] --> src/cell/icons/flag.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::Properties` [INFO] [stdout] --> src/cell/icons/bomb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/flag.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/cell/icons/flag.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cell/icons/flag.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/flag.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn change(&mut self, props: Self::Properties) -> ShouldRender { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/bomb.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/cell/icons/bomb.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cell/icons/bomb.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/bomb.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn change(&mut self, props: Self::Properties) -> ShouldRender { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/logic/logic_board.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | let cell = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/logic/logic_board.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cell = self.get_cell_mut(x, y).map(|cell| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/flag.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/cell/icons/flag.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cell/icons/flag.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/flag.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn change(&mut self, props: Self::Properties) -> ShouldRender { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/bomb.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/cell/icons/bomb.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cell/icons/bomb.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/cell/icons/bomb.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn change(&mut self, props: Self::Properties) -> ShouldRender { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/logic/logic_board.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | let cell = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/logic/logic_board.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cell = self.get_cell_mut(x, y).map(|cell| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/logic_board.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cell = self.get_cell_mut(x, y).map(|cell| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AddOne` is never constructed [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 11 | enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 12 | AddOne, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `props` and `timer` are never read [INFO] [stdout] --> src/board.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | link: ComponentLink, [INFO] [stdout] 34 | props: Props, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | timer: IntervalTask, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mines` is never read [INFO] [stdout] --> src/logic/logic_board.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LogicBoard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | mines: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/logic_board.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cell = self.get_cell_mut(x, y).map(|cell| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AddOne` is never constructed [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 11 | enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 12 | AddOne, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `props` and `timer` are never read [INFO] [stdout] --> src/board.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | link: ComponentLink, [INFO] [stdout] 34 | props: Props, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | timer: IntervalTask, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mines` is never read [INFO] [stdout] --> src/logic/logic_board.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LogicBoard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | mines: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.00s [INFO] running `Command { std: "docker" "inspect" "55dc2a35d197647c17e32ccb14f74f727451882559e18e69b7879eeec1927bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55dc2a35d197647c17e32ccb14f74f727451882559e18e69b7879eeec1927bac", kill_on_drop: false }` [INFO] [stdout] 55dc2a35d197647c17e32ccb14f74f727451882559e18e69b7879eeec1927bac