[INFO] cloning repository https://github.com/robertoloss/rust-canvas-game-01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertoloss/rust-canvas-game-01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertoloss%2Frust-canvas-game-01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertoloss%2Frust-canvas-game-01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b3217b4a243c9200e0e63164c544d243f562e3e [INFO] checking robertoloss/rust-canvas-game-01 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertoloss%2Frust-canvas-game-01" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robertoloss/rust-canvas-game-01 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robertoloss/rust-canvas-game-01 [INFO] finished tweaking git repo https://github.com/robertoloss/rust-canvas-game-01 [INFO] tweaked toml for git repo https://github.com/robertoloss/rust-canvas-game-01 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robertoloss/rust-canvas-game-01 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9561a191e248205078df06bac0b6f5a1b274150a3c87f692af3105e435d84730 [INFO] running `Command { std: "docker" "start" "-a" "9561a191e248205078df06bac0b6f5a1b274150a3c87f692af3105e435d84730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9561a191e248205078df06bac0b6f5a1b274150a3c87f692af3105e435d84730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9561a191e248205078df06bac0b6f5a1b274150a3c87f692af3105e435d84730", kill_on_drop: false }` [INFO] [stdout] 9561a191e248205078df06bac0b6f5a1b274150a3c87f692af3105e435d84730 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76ce7efc6123311a2783bdabb2698af2a5f1edceeab288186d8c8c5d206e2017 [INFO] running `Command { std: "docker" "start" "-a" "76ce7efc6123311a2783bdabb2698af2a5f1edceeab288186d8c8c5d206e2017", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking web-sys v0.3.72 [INFO] [stderr] Checking game_canvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/map_move.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::UnwrapThrowExt` [INFO] [stdout] --> src/map/generate_map_collisions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::UnwrapThrowExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/generate_map_collisions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteSheet` [INFO] [stdout] --> src/map/generate_map_collisions.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ get_map, HashMap, Player, SpriteSheet, Tile, Vec2, Vec2usize }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/restore_sand_tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/utils/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/utils/utils.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/utils/utils.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/collisions/manage_collision.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/collisions/manage_player_collision_with_tile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/player/movement.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/player/stop_movement.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/draw/main_draw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generate_map_collisions` [INFO] [stdout] --> src/draw/main_draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::generate_map_collisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::HtmlImageElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/draw/main_draw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::manage_sprite_sheet` [INFO] [stdout] --> src/draw/main_draw.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::manage_sprite_sheet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/map_move.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::UnwrapThrowExt` [INFO] [stdout] --> src/map/generate_map_collisions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::UnwrapThrowExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/generate_map_collisions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteSheet` [INFO] [stdout] --> src/map/generate_map_collisions.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ get_map, HashMap, Player, SpriteSheet, Tile, Vec2, Vec2usize }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/map/restore_sand_tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/utils/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/utils/utils.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/utils/utils.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/collisions/manage_collision.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/collisions/manage_player_collision_with_tile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/player/movement.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/player/stop_movement.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/draw/main_draw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generate_map_collisions` [INFO] [stdout] --> src/draw/main_draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::generate_map_collisions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::HtmlImageElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/draw/main_draw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::manage_sprite_sheet` [INFO] [stdout] --> src/draw/main_draw.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::manage_sprite_sheet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::CanvasRenderingContext2d::set_fill_style` [INFO] [stdout] --> src/draw/main_draw.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | ctx.set_fill_style(&JsValue::from_str("black")); [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_fill_style` [INFO] [stdout] --> src/draw/main_draw.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | ctx.set_fill_style(&JsValue::from_str("black")); [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_fill_style` [INFO] [stdout] --> src/draw/debug.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | ctx.set_fill_style(&JsValue::from_str("yellow")); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::CanvasRenderingContext2d::set_fill_style` [INFO] [stdout] --> src/draw/debug.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | ctx.set_fill_style(&JsValue::from_str("yellow")); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_left_behind` [INFO] [stdout] --> src/collisions/manage_player_collision_with_tile.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let bottom_left_behind = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_left_behind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_left_behind` [INFO] [stdout] --> src/collisions/manage_player_collision_with_tile.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let bottom_left_behind = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_left_behind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/utils/utils.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | let image = ThreadSafeImage(img.map(|i| i.into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | let player_sprite = _image.0.clone().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let player_sprite = _image.0.clone().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map/draw_sand.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let sand_sheet: HtmlImageElement = player.sprite_sheets.get("sand") [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 24 | | .unwrap().sheet.0.clone().unwrap().into(); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let tile: HtmlImageElement = player.images.get("tile") [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | .unwrap().0.clone().unwrap().into(); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let hang: HtmlImageElement = player.images.get("hang") [INFO] [stdout] | __________________________________^ [INFO] [stdout] 22 | | .unwrap().0.clone().unwrap().into(); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let lava_sheet: HtmlImageElement = player.sprite_sheets.get("lava") [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 24 | | .unwrap().sheet.0.clone().unwrap().into(); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/manage_death.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | let death_sheet: HtmlImageElement = player.sprite_sheets [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | .get("death") [INFO] [stdout] 19 | | .unwrap() [INFO] [stdout] 20 | | .sheet [INFO] [stdout] ... | [INFO] [stdout] 23 | | .unwrap() [INFO] [stdout] 24 | | .into(); [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/utils/utils.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | let image = ThreadSafeImage(img.map(|i| i.into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | let player_sprite = _image.0.clone().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/main_draw.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let player_sprite = _image.0.clone().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map/draw_sand.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let sand_sheet: HtmlImageElement = player.sprite_sheets.get("sand") [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 24 | | .unwrap().sheet.0.clone().unwrap().into(); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let tile: HtmlImageElement = player.images.get("tile") [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | .unwrap().0.clone().unwrap().into(); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let hang: HtmlImageElement = player.images.get("hang") [INFO] [stdout] | __________________________________^ [INFO] [stdout] 22 | | .unwrap().0.clone().unwrap().into(); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/draw_map.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let lava_sheet: HtmlImageElement = player.sprite_sheets.get("lava") [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 24 | | .unwrap().sheet.0.clone().unwrap().into(); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `HtmlImageElement` to `HtmlImageElement` [INFO] [stdout] --> src/draw/manage_death.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | let death_sheet: HtmlImageElement = player.sprite_sheets [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | .get("death") [INFO] [stdout] 19 | | .unwrap() [INFO] [stdout] 20 | | .sheet [INFO] [stdout] ... | [INFO] [stdout] 23 | | .unwrap() [INFO] [stdout] 24 | | .into(); [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game_canvas` (lib test) due to 8 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `game_canvas` (lib) due to 8 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76ce7efc6123311a2783bdabb2698af2a5f1edceeab288186d8c8c5d206e2017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ce7efc6123311a2783bdabb2698af2a5f1edceeab288186d8c8c5d206e2017", kill_on_drop: false }` [INFO] [stdout] 76ce7efc6123311a2783bdabb2698af2a5f1edceeab288186d8c8c5d206e2017