[INFO] cloning repository https://github.com/chunlinwang/rust-1024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chunlinwang/rust-1024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchunlinwang%2Frust-1024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchunlinwang%2Frust-1024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d0a692676fde022b78b3f17a91820a563c3b123 [INFO] checking chunlinwang/rust-1024 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchunlinwang%2Frust-1024" "/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/chunlinwang/rust-1024 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chunlinwang/rust-1024 [INFO] finished tweaking git repo https://github.com/chunlinwang/rust-1024 [INFO] tweaked toml for git repo https://github.com/chunlinwang/rust-1024 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chunlinwang/rust-1024 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-console v0.1.0 [INFO] [stderr] Downloaded gloo-storage v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.21 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded serde_json v1.0.63 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] [stderr] Downloaded gloo v0.3.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46625bc1127068212ed7ef9832be0312de89764d866351a70d218e1e453f4dea [INFO] running `Command { std: "docker" "start" "-a" "46625bc1127068212ed7ef9832be0312de89764d866351a70d218e1e453f4dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46625bc1127068212ed7ef9832be0312de89764d866351a70d218e1e453f4dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46625bc1127068212ed7ef9832be0312de89764d866351a70d218e1e453f4dea", kill_on_drop: false }` [INFO] [stdout] 46625bc1127068212ed7ef9832be0312de89764d866351a70d218e1e453f4dea [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc389bb5b1eeda119eaa9a55075c11ea90a986587a62d88cde5720d39dd990cd [INFO] running `Command { std: "docker" "start" "-a" "dc389bb5b1eeda119eaa9a55075c11ea90a986587a62d88cde5720d39dd990cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.48 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.48 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.21 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-console v0.1.0 [INFO] [stderr] Checking gloo-storage v0.1.0 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking gloo v0.3.0 [INFO] [stderr] Checking rust-1024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_panel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [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/component/game_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::events::EventListener` [INFO] [stdout] --> src/component/game_panel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo::events::EventListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/component/game_panel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::web_sys::HtmlInputElement as InputElement` [INFO] [stdout] --> src/component/game_panel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::web_sys::HtmlInputElement as InputElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `Event`, `HtmlElement`, `InputData`, `Window`, and `classes` [INFO] [stdout] --> src/component/game_panel.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use yew::{web_sys::{Event, HtmlElement, Window}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | classes, html, Component, ComponentLink, Html, InputData, NodeRef, ShouldRender, Callback}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/component/game_panel.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::state::{Entry, Filter, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildrenWithProps` [INFO] [stdout] --> src/component/game_container.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html, ChildrenWithProps, Component, Html, Properties}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_line.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Matrix` [INFO] [stdout] --> src/component/game_line.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classes` [INFO] [stdout] --> src/component/game_case.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{classes, html}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/score_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/component/score_panel.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_panel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [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/component/game_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::events::EventListener` [INFO] [stdout] --> src/component/game_panel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo::events::EventListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/component/game_panel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::web_sys::HtmlInputElement as InputElement` [INFO] [stdout] --> src/component/game_panel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::web_sys::HtmlInputElement as InputElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `Event`, `HtmlElement`, `InputData`, `Window`, and `classes` [INFO] [stdout] --> src/component/game_panel.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use yew::{web_sys::{Event, HtmlElement, Window}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | classes, html, Component, ComponentLink, Html, InputData, NodeRef, ShouldRender, Callback}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/component/game_panel.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::state::{Entry, Filter, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildrenWithProps` [INFO] [stdout] --> src/component/game_container.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html, ChildrenWithProps, Component, Html, Properties}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_line.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Matrix` [INFO] [stdout] --> src/component/game_line.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classes` [INFO] [stdout] --> src/component/game_case.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{classes, html}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/score_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/component/score_panel.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/component/game_line.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/component/game_line.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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: unreachable pattern [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => panic!("error"), [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/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 76 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/component/game_line.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/component/game_line.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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: field `direction` is never read [INFO] [stdout] --> src/game.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub direction: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn total_completed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_all_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn clear_completed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn toggle(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn toggle_all(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn toggle_edit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clear_all_edit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn complete_edit(&mut self, idx: usize, val: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fits` and `as_href` are never used [INFO] [stdout] --> src/state.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Filter { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 128 | pub fn fits(&self, entry: &Entry) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn as_href(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/component/game_container.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | window.location().reload(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = window.location().reload(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => panic!("error"), [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/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 76 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `direction` is never read [INFO] [stdout] --> src/game.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub direction: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn total_completed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_all_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn clear_completed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn toggle(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn toggle_all(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn toggle_edit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clear_all_edit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn complete_edit(&mut self, idx: usize, val: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fits` and `as_href` are never used [INFO] [stdout] --> src/state.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Filter { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 128 | pub fn fits(&self, entry: &Entry) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn as_href(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/component/game_container.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | window.location().reload(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = window.location().reload(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [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" "dc389bb5b1eeda119eaa9a55075c11ea90a986587a62d88cde5720d39dd990cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc389bb5b1eeda119eaa9a55075c11ea90a986587a62d88cde5720d39dd990cd", kill_on_drop: false }` [INFO] [stdout] dc389bb5b1eeda119eaa9a55075c11ea90a986587a62d88cde5720d39dd990cd [INFO] checking chunlinwang/rust-1024 against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchunlinwang%2Frust-1024" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chunlinwang/rust-1024 on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chunlinwang/rust-1024 [INFO] finished tweaking git repo https://github.com/chunlinwang/rust-1024 [INFO] tweaked toml for git repo https://github.com/chunlinwang/rust-1024 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chunlinwang/rust-1024 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e4ac32f23ae41ec9bbbcb26eb51f319ffd404b4b5650feb120be24e36e4079d [INFO] running `Command { std: "docker" "start" "-a" "1e4ac32f23ae41ec9bbbcb26eb51f319ffd404b4b5650feb120be24e36e4079d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e4ac32f23ae41ec9bbbcb26eb51f319ffd404b4b5650feb120be24e36e4079d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e4ac32f23ae41ec9bbbcb26eb51f319ffd404b4b5650feb120be24e36e4079d", kill_on_drop: false }` [INFO] [stdout] 1e4ac32f23ae41ec9bbbcb26eb51f319ffd404b4b5650feb120be24e36e4079d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd2ebd78a2dce163e8e9ab84306f5dbd4629c642f643f47d4340dca5139c407 [INFO] running `Command { std: "docker" "start" "-a" "edd2ebd78a2dce163e8e9ab84306f5dbd4629c642f643f47d4340dca5139c407", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.48 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.48 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.21 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-storage v0.1.0 [INFO] [stderr] Checking gloo-console v0.1.0 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking gloo v0.3.0 [INFO] [stderr] Checking rust-1024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_panel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_panel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [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/component/game_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/component/game_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::events::EventListener` [INFO] [stdout] --> src/component/game_panel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo::events::EventListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/component/game_panel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::events::EventListener` [INFO] [stdout] --> src/component/game_panel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo::events::EventListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::web_sys::HtmlInputElement as InputElement` [INFO] [stdout] --> src/component/game_panel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::web_sys::HtmlInputElement as InputElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/component/game_panel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::web_sys::HtmlInputElement as InputElement` [INFO] [stdout] --> src/component/game_panel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::web_sys::HtmlInputElement as InputElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `Event`, `HtmlElement`, `InputData`, `Window`, and `classes` [INFO] [stdout] --> src/component/game_panel.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use yew::{web_sys::{Event, HtmlElement, Window}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | classes, html, Component, ComponentLink, Html, InputData, NodeRef, ShouldRender, Callback}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/component/game_panel.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::state::{Entry, Filter, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildrenWithProps` [INFO] [stdout] --> src/component/game_container.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html, ChildrenWithProps, Component, Html, Properties}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `Event`, `HtmlElement`, `InputData`, `Window`, and `classes` [INFO] [stdout] --> src/component/game_panel.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use yew::{web_sys::{Event, HtmlElement, Window}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | classes, html, Component, ComponentLink, Html, InputData, NodeRef, ShouldRender, Callback}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/component/game_panel.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::state::{Entry, Filter, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_line.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildrenWithProps` [INFO] [stdout] --> src/component/game_container.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html, ChildrenWithProps, Component, Html, Properties}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Matrix` [INFO] [stdout] --> src/component/game_line.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/component/game_line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classes` [INFO] [stdout] --> src/component/game_case.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{classes, html}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_line.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/score_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Matrix` [INFO] [stdout] --> src/component/game_line.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/component/score_panel.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/game_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classes` [INFO] [stdout] --> src/component/game_case.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{classes, html}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::services::ConsoleService` [INFO] [stdout] --> src/component/score_panel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::services::ConsoleService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/component/score_panel.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/component/game_line.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/component/game_line.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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: `link` [INFO] [stdout] --> src/component/game_line.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/component/game_line.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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: unreachable pattern [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => panic!("error"), [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/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 76 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => panic!("error"), [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/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 76 | Direction::UP => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Direction::DOWN => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | Direction::LEFT => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | Direction::RIGHT => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | _ => panic!("error"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `direction` is never read [INFO] [stdout] --> src/game.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub direction: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn total_completed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_all_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn clear_completed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn toggle(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn toggle_all(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn toggle_edit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clear_all_edit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn complete_edit(&mut self, idx: usize, val: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fits` and `as_href` are never used [INFO] [stdout] --> src/state.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Filter { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 128 | pub fn fits(&self, entry: &Entry) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn as_href(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/component/game_container.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | window.location().reload(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = window.location().reload(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `direction` is never read [INFO] [stdout] --> src/game.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub direction: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn total_completed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_all_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn clear_completed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn toggle(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn toggle_all(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn toggle_edit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn clear_all_edit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn complete_edit(&mut self, idx: usize, val: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fits` and `as_href` are never used [INFO] [stdout] --> src/state.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Filter { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 128 | pub fn fits(&self, entry: &Entry) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn as_href(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/component/game_container.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | window.location().reload(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = window.location().reload(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [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" "edd2ebd78a2dce163e8e9ab84306f5dbd4629c642f643f47d4340dca5139c407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd2ebd78a2dce163e8e9ab84306f5dbd4629c642f643f47d4340dca5139c407", kill_on_drop: false }` [INFO] [stdout] edd2ebd78a2dce163e8e9ab84306f5dbd4629c642f643f47d4340dca5139c407