[INFO] cloning repository https://github.com/rabbitkiller-dev/ra_minesweeper_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rabbitkiller-dev/ra_minesweeper_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frabbitkiller-dev%2Fra_minesweeper_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frabbitkiller-dev%2Fra_minesweeper_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f51ca30bae3444089bd8774d50be0e28579f90ff [INFO] testing rabbitkiller-dev/ra_minesweeper_rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frabbitkiller-dev%2Fra_minesweeper_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rabbitkiller-dev/ra_minesweeper_rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rabbitkiller-dev/ra_minesweeper_rs [INFO] finished tweaking git repo https://github.com/rabbitkiller-dev/ra_minesweeper_rs [INFO] tweaked toml for git repo https://github.com/rabbitkiller-dev/ra_minesweeper_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rabbitkiller-dev/ra_minesweeper_rs 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-file v0.2.1 [INFO] [stderr] Downloaded gloo-timers v0.2.4 [INFO] [stderr] Downloaded gloo-utils v0.1.3 [INFO] [stderr] Downloaded gloo-storage v0.2.1 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e9f73174cd2f016f2875a5af04dfc6c4daef26d691ce3244f8b1012e6db070e [INFO] running `Command { std: "docker" "start" "-a" "6e9f73174cd2f016f2875a5af04dfc6c4daef26d691ce3244f8b1012e6db070e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e9f73174cd2f016f2875a5af04dfc6c4daef26d691ce3244f8b1012e6db070e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9f73174cd2f016f2875a5af04dfc6c4daef26d691ce3244f8b1012e6db070e", kill_on_drop: false }` [INFO] [stdout] 6e9f73174cd2f016f2875a5af04dfc6c4daef26d691ce3244f8b1012e6db070e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983b13300815803e6657eaf3fe358512494be3bc234cc54a9b8b5fbcfbe82992 [INFO] running `Command { std: "docker" "start" "-a" "983b13300815803e6657eaf3fe358512494be3bc234cc54a9b8b5fbcfbe82992", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling gloo-timers v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-utils v0.1.3 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.2.1 [INFO] [stderr] Compiling gloo-file v0.2.1 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling ra_minesweeper_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut vv = vec![0; 2]; [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: unused variable: `new` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let new = self.getVal(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main4` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn main4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main3` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn main3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main2` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn main2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AAA` is never constructed [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct AAA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `getVal` and `mutVal` are never used [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl AAA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 52 | fn getVal(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn mutVal(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn add(a: &mut i32, b: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn getVal(&self) -> i32 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutVal` should have a snake case name [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn mutVal(&mut self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mut_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::Classes` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::Classes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/game_box.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `html`, and `virtual_dom::VNode` [INFO] [stdout] --> src/game_box.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use yew::{html, virtual_dom::VNode, Html}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid::MineGrid` [INFO] [stdout] --> src/game_box.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::grid::MineGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::App` [INFO] [stdout] --> src/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStatus` [INFO] [stdout] --> src/grid.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_box::{GameBox, GameStatus, GridStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/grid.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game_box.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | for y in 0..self.height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game_box.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | for x in 0..self.width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/grid.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_box` [INFO] [stdout] --> src/grid.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_box = props.game_box.borrow(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/grid.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let key = format!("({},{})", props.x, props.y); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [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" "983b13300815803e6657eaf3fe358512494be3bc234cc54a9b8b5fbcfbe82992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983b13300815803e6657eaf3fe358512494be3bc234cc54a9b8b5fbcfbe82992", kill_on_drop: false }` [INFO] [stdout] 983b13300815803e6657eaf3fe358512494be3bc234cc54a9b8b5fbcfbe82992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b37a1e58ed3d77c088f26232dded75a73d42ab3d87dbe80c249d9be4293bb3da [INFO] running `Command { std: "docker" "start" "-a" "b37a1e58ed3d77c088f26232dded75a73d42ab3d87dbe80c249d9be4293bb3da", kill_on_drop: false }` [INFO] [stderr] Compiling ra_minesweeper_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut vv = vec![0; 2]; [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: unused variable: `new` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let new = self.getVal(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main4` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn main4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main3` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn main3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main2` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn main2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AAA` is never constructed [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct AAA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `getVal` and `mutVal` are never used [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl AAA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 52 | fn getVal(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn mutVal(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn add(a: &mut i32, b: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn getVal(&self) -> i32 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutVal` should have a snake case name [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn mutVal(&mut self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mut_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::Classes` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::Classes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/game_box.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `html`, and `virtual_dom::VNode` [INFO] [stdout] --> src/game_box.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use yew::{html, virtual_dom::VNode, Html}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid::MineGrid` [INFO] [stdout] --> src/game_box.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::grid::MineGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::App` [INFO] [stdout] --> src/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameStatus` [INFO] [stdout] --> src/grid.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_box::{GameBox, GameStatus, GridStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/grid.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game_box.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | for y in 0..self.height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game_box.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | for x in 0..self.width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/grid.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_box` [INFO] [stdout] --> src/grid.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_box = props.game_box.borrow(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/grid.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let key = format!("({},{})", props.x, props.y); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [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" "b37a1e58ed3d77c088f26232dded75a73d42ab3d87dbe80c249d9be4293bb3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37a1e58ed3d77c088f26232dded75a73d42ab3d87dbe80c249d9be4293bb3da", kill_on_drop: false }` [INFO] [stdout] b37a1e58ed3d77c088f26232dded75a73d42ab3d87dbe80c249d9be4293bb3da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef544b27d69ef2f506e052a39c7d0f2f99a4c9bbd031c39ba316b11af8d8259f [INFO] running `Command { std: "docker" "start" "-a" "ef544b27d69ef2f506e052a39c7d0f2f99a4c9bbd031c39ba316b11af8d8259f", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let mut vv = vec![0; 2]; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new` [INFO] [stderr] --> src/main.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let new = self.getVal(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `main4` is never used [INFO] [stderr] --> src/main.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn main4() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `main3` is never used [INFO] [stderr] --> src/main.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn main3() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main2` is never used [INFO] [stderr] --> src/main.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn main2() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AAA` is never constructed [INFO] [stderr] --> src/main.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | struct AAA { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `getVal` and `mutVal` are never used [INFO] [stderr] --> src/main.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 51 | impl AAA { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] 52 | fn getVal(&self) -> i32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | fn mutVal(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add` is never used [INFO] [stderr] --> src/main.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn add(a: &mut i32, b: i32) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `getVal` should have a snake case name [INFO] [stderr] --> src/main.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | fn getVal(&self) -> i32 { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `mutVal` should have a snake case name [INFO] [stderr] --> src/main.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn mutVal(&mut self) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `mut_val` [INFO] [stderr] [INFO] [stderr] warning: `ra_minesweeper_rs` (bin "ra_minesweeper_rs" test) generated 10 warnings (run `cargo fix --bin "ra_minesweeper_rs" --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `yew::Classes` [INFO] [stderr] --> src/app.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use yew::Classes; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `yew::prelude::*` [INFO] [stderr] --> src/game_box.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use yew::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html`, `html`, and `virtual_dom::VNode` [INFO] [stderr] --> src/game_box.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use yew::{html, virtual_dom::VNode, Html}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grid::MineGrid` [INFO] [stderr] --> src/game_box.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::grid::MineGrid; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::app::App` [INFO] [stderr] --> src/grid.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::app::App; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GameStatus` [INFO] [stderr] --> src/grid.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::game_box::{GameBox, GameStatus, GridStatus}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/grid.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game_box.rs:263:13 [INFO] [stderr] | [INFO] [stderr] 263 | for y in 0..self.height { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game_box.rs:265:17 [INFO] [stderr] | [INFO] [stderr] 265 | for x in 0..self.width { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/grid.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_box` [INFO] [stderr] --> src/grid.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | let game_box = props.game_box.borrow(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_box` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/grid.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let key = format!("({},{})", props.x, props.y); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: `ra_minesweeper_rs` (lib test) generated 12 warnings (run `cargo fix --lib -p ra_minesweeper_rs --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ra_minesweeper_rs-6e7b699e30d8a156) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ra_minesweeper_rs-256bb9840276ad61) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef544b27d69ef2f506e052a39c7d0f2f99a4c9bbd031c39ba316b11af8d8259f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef544b27d69ef2f506e052a39c7d0f2f99a4c9bbd031c39ba316b11af8d8259f", kill_on_drop: false }` [INFO] [stdout] ef544b27d69ef2f506e052a39c7d0f2f99a4c9bbd031c39ba316b11af8d8259f