[INFO] cloning repository https://github.com/sushruth31/rust-snake-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sushruth31/rust-snake-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushruth31%2Frust-snake-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushruth31%2Frust-snake-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94de8c12e6fd71fa42a0dec84ab5e9fedbcdc135 [INFO] checking sushruth31/rust-snake-game against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushruth31%2Frust-snake-game" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sushruth31/rust-snake-game on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sushruth31/rust-snake-game [INFO] finished tweaking git repo https://github.com/sushruth31/rust-snake-game [INFO] tweaked toml for git repo https://github.com/sushruth31/rust-snake-game written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sushruth31/rust-snake-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded implicit-clone v0.3.2 [INFO] [stderr] Downloaded gloo-worker v0.1.2 [INFO] [stderr] Downloaded yew-hooks v0.1.56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dac1b3b0c8a39fcd8afcddb37046370389213f2ba9e145cde634d66dfe64622e [INFO] running `Command { std: "docker" "start" "-a" "dac1b3b0c8a39fcd8afcddb37046370389213f2ba9e145cde634d66dfe64622e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dac1b3b0c8a39fcd8afcddb37046370389213f2ba9e145cde634d66dfe64622e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac1b3b0c8a39fcd8afcddb37046370389213f2ba9e145cde634d66dfe64622e", kill_on_drop: false }` [INFO] [stdout] dac1b3b0c8a39fcd8afcddb37046370389213f2ba9e145cde634d66dfe64622e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9da4d77286661c502845b9fd8dc6f13d25cae08aa7e2028efc94a2f84fb5ff2 [INFO] running `Command { std: "docker" "start" "-a" "e9da4d77286661c502845b9fd8dc6f13d25cae08aa7e2028efc94a2f84fb5ff2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling prettyplease v0.1.19 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking implicit-clone v0.3.2 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-macro v0.19.3 (https://github.com/yewstack/yew/#ce70e4c1) [INFO] [stderr] Compiling yew-router-macro v0.16.0 (https://github.com/yewstack/yew/#ce70e4c1) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.33 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking serde-wasm-bindgen v0.3.1 [INFO] [stderr] Checking gloo-utils v0.1.5 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-net v0.2.4 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.0 [INFO] [stderr] Checking gloo-worker v0.2.1 [INFO] [stderr] Checking gloo-worker v0.1.2 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking gloo v0.8.0 [INFO] [stderr] Checking yew v0.19.3 (https://github.com/yewstack/yew/#ce70e4c1) [INFO] [stderr] Checking gloo v0.7.0 [INFO] [stderr] Checking yew-hooks v0.1.56 [INFO] [stderr] Checking yew-router v0.16.0 (https://github.com/yewstack/yew/#ce70e4c1) [INFO] [stderr] Checking rust-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utils::window` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo::{events::EventListener, utils::window}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventTarget`, `HtmlElement`, `HtmlInputElement`, `UrlSearchParams`, `console` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::{console, EventTarget, HtmlElement, HtmlInputElement, UrlSearchParams}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_hooks::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use yew_hooks::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `navigator`, `prelude::*`, `switch::_SwitchProps::render` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use yew_router::{navigator, prelude::*, switch::_SwitchProps::render}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::window` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo::{events::EventListener, utils::window}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventTarget`, `HtmlElement`, `HtmlInputElement`, `UrlSearchParams`, `console` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::{console, EventTarget, HtmlElement, HtmlInputElement, UrlSearchParams}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_hooks::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use yew_hooks::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `navigator`, `prelude::*`, `switch::_SwitchProps::render` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use yew_router::{navigator, prelude::*, switch::_SwitchProps::render}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `movefn` is never read [INFO] [stdout] --> src/main.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let mut movefn: Box (i32, i32)> = Box::new(move_left); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `movefn` is never read [INFO] [stdout] --> src/main.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let mut movefn: Box (i32, i32)> = Box::new(move_left); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WIN` is never constructed [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | enum GameResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 121 | WIN, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WIN` is never constructed [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | enum GameResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 121 | WIN, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e9da4d77286661c502845b9fd8dc6f13d25cae08aa7e2028efc94a2f84fb5ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9da4d77286661c502845b9fd8dc6f13d25cae08aa7e2028efc94a2f84fb5ff2", kill_on_drop: false }` [INFO] [stdout] e9da4d77286661c502845b9fd8dc6f13d25cae08aa7e2028efc94a2f84fb5ff2