[INFO] cloning repository https://github.com/curry-roux/walk-the-dog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/curry-roux/walk-the-dog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurry-roux%2Fwalk-the-dog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurry-roux%2Fwalk-the-dog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b32f450860394ef0fe739f195a9c704906f1f9e4 [INFO] checking curry-roux/walk-the-dog against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurry-roux%2Fwalk-the-dog" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/curry-roux/walk-the-dog [INFO] finished tweaking git repo https://github.com/curry-roux/walk-the-dog [INFO] tweaked toml for git repo https://github.com/curry-roux/walk-the-dog written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/curry-roux/walk-the-dog on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/curry-roux/walk-the-dog 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking curry-roux/walk-the-dog against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurry-roux%2Fwalk-the-dog" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/curry-roux/walk-the-dog [INFO] finished tweaking git repo https://github.com/curry-roux/walk-the-dog [INFO] tweaked toml for git repo https://github.com/curry-roux/walk-the-dog written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/curry-roux/walk-the-dog on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/curry-roux/walk-the-dog 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8c2087407a250423029251a2bdc67059658d8076f5b11398de2b8684257371 [INFO] running `Command { std: "docker" "start" "-a" "ee8c2087407a250423029251a2bdc67059658d8076f5b11398de2b8684257371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8c2087407a250423029251a2bdc67059658d8076f5b11398de2b8684257371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8c2087407a250423029251a2bdc67059658d8076f5b11398de2b8684257371", kill_on_drop: false }` [INFO] [stdout] ee8c2087407a250423029251a2bdc67059658d8076f5b11398de2b8684257371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66701bd98f7c9681eb5cd5779f23e3bfa12214972f8d66775fc98e63cf29289d [INFO] running `Command { std: "docker" "start" "-a" "66701bd98f7c9681eb5cd5779f23e3bfa12214972f8d66775fc98e63cf29289d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.49 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking js-sys v0.3.76 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking web-sys v0.3.76 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.49 [INFO] [stderr] Checking wasm-bindgen-test v0.3.49 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::prelude::*` [INFO] [stdout] --> tests/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> tests/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> tests/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web_test` is never used [INFO] [stdout] --> tests/app.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn web_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/engine.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | use web_sys::{CanvasRenderingContext2d, HtmlImageElement, Response, AudioContext, AudioBuffer, HtmlElement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/sound.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::{JsValue, JsCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/engine.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | use web_sys::{CanvasRenderingContext2d, HtmlImageElement, Response, AudioContext, AudioBuffer, HtmlElement}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/sound.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::{JsValue, JsCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::CanvasRenderingContext2d::set_stroke_style` [INFO] [stdout] --> src/engine.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | self.context.set_stroke_style(&JsValue::from_str("#FF0000")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::CanvasRenderingContext2d::set_stroke_style` [INFO] [stdout] --> src/engine.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | self.context.set_stroke_style(&JsValue::from_str("#FF0000")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/game.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let platform = Platform::new( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/game.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let platform = Platform::new( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `Obstacle::check_intersection` [INFO] [stdout] --> src/game.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | fn check_intersection(&self, boy: &mut RedHatBoy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Obstacle::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `::check_intersection` [INFO] [stdout] --> src/game.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | fn check_intersection(&self, boy: &mut RedHatBoy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `::check_intersection` [INFO] [stdout] --> src/game.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | fn check_intersection(&self, boy: &mut RedHatBoy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/engine.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Renderer{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn draw_rect(&self, rect: &Rect){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/engine.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn draw_rect(&self, renderer: &Renderer){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `image` is never used [INFO] [stdout] --> src/engine.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl SpriteSheet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn image(&self) -> &HtmlImageElement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/game.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub trait Obstacle { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 256 | fn draw_rect(&self, renderer: &Renderer); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destination_box` is never used [INFO] [stdout] --> src/game.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 527 | impl Platform { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 563 | fn destination_box(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/game.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 651 | impl RedHatBoy{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn draw_rect(&self, renderer: &Renderer){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/game.rs:1144:16 [INFO] [stdout] | [INFO] [stdout] 1130 | impl RedHatBoyState{ [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1144 | pub fn land(self) -> RedHatBoyState{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_with_audio_node` is never used [INFO] [stdout] --> src/sound.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn connect_with_audio_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | success_tx.send(Ok(())); [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] 29 | let _ = success_tx.send(Ok(())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | error_tx.send(Err(anyhow!("Error Loading Image: {:#?}", err))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = error_tx.send(Err(anyhow!("Error Loading Image: {:#?}", err))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | browser::request_animation_frame(f.borrow().as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = browser::request_animation_frame(f.borrow().as_ref().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/engine.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | &format!("Frame Rate: {}", FRAME_RATE), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | / keydown_sender [INFO] [stdout] 381 | | .borrow_mut() [INFO] [stdout] 382 | | .start_send(KeyPress::KeyDown(keycode)); [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 380 | let _ = keydown_sender [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | / keyup_sender [INFO] [stdout] 390 | | .borrow_mut() [INFO] [stdout] 391 | | .start_send(KeyPress::KeyUp(keycode)); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 389 | let _ = keyup_sender [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | click_sender.start_send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 443 | let _ = click_sender.start_send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | browser::hide_ui(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = browser::hide_ui(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `Obstacle::check_intersection` [INFO] [stdout] --> src/game.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | fn check_intersection(&self, boy: &mut RedHatBoy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Obstacle::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `::check_intersection` [INFO] [stdout] --> src/game.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | fn check_intersection(&self, boy: &mut RedHatBoy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RedHatBoy` is more private than the item `::check_intersection` [INFO] [stdout] --> src/game.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | fn check_intersection(&self, boy: &mut RedHatBoy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::check_intersection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RedHatBoy` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 645 | struct RedHatBoy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/engine.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Renderer{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn draw_rect(&self, rect: &Rect){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/engine.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn draw_rect(&self, renderer: &Renderer){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `image` is never used [INFO] [stdout] --> src/engine.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl SpriteSheet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn image(&self) -> &HtmlImageElement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/game.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub trait Obstacle { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 256 | fn draw_rect(&self, renderer: &Renderer); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destination_box` is never used [INFO] [stdout] --> src/game.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 527 | impl Platform { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 563 | fn destination_box(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rect` is never used [INFO] [stdout] --> src/game.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 651 | impl RedHatBoy{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn draw_rect(&self, renderer: &Renderer){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/game.rs:1144:16 [INFO] [stdout] | [INFO] [stdout] 1130 | impl RedHatBoyState{ [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1144 | pub fn land(self) -> RedHatBoyState{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_with_audio_node` is never used [INFO] [stdout] --> src/sound.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn connect_with_audio_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | success_tx.send(Ok(())); [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] 29 | let _ = success_tx.send(Ok(())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | error_tx.send(Err(anyhow!("Error Loading Image: {:#?}", err))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = error_tx.send(Err(anyhow!("Error Loading Image: {:#?}", err))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | browser::request_animation_frame(f.borrow().as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = browser::request_animation_frame(f.borrow().as_ref().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/engine.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | &format!("Frame Rate: {}", FRAME_RATE), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | / keydown_sender [INFO] [stdout] 381 | | .borrow_mut() [INFO] [stdout] 382 | | .start_send(KeyPress::KeyDown(keycode)); [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 380 | let _ = keydown_sender [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | / keyup_sender [INFO] [stdout] 390 | | .borrow_mut() [INFO] [stdout] 391 | | .start_send(KeyPress::KeyUp(keycode)); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 389 | let _ = keyup_sender [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | click_sender.start_send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 443 | let _ = click_sender.start_send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | browser::hide_ui(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = browser::hide_ui(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.51s [INFO] running `Command { std: "docker" "inspect" "66701bd98f7c9681eb5cd5779f23e3bfa12214972f8d66775fc98e63cf29289d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66701bd98f7c9681eb5cd5779f23e3bfa12214972f8d66775fc98e63cf29289d", kill_on_drop: false }` [INFO] [stdout] 66701bd98f7c9681eb5cd5779f23e3bfa12214972f8d66775fc98e63cf29289d