[INFO] cloning repository https://github.com/gegs921/hypoterra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gegs921/hypoterra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgegs921%2Fhypoterra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgegs921%2Fhypoterra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bdfaaf70297e8ec7ddb7ed7165e77941b450f85 [INFO] testing gegs921/hypoterra against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgegs921%2Fhypoterra" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gegs921/hypoterra on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gegs921/hypoterra [INFO] finished tweaking git repo https://github.com/gegs921/hypoterra [INFO] tweaked toml for git repo https://github.com/gegs921/hypoterra written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/gegs921/hypoterra already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7094e8a60b48597bc18b21709f9a36cadbcb3a0a46f1042e09add7bece6571a5 [INFO] running `Command { std: "docker" "start" "-a" "7094e8a60b48597bc18b21709f9a36cadbcb3a0a46f1042e09add7bece6571a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7094e8a60b48597bc18b21709f9a36cadbcb3a0a46f1042e09add7bece6571a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7094e8a60b48597bc18b21709f9a36cadbcb3a0a46f1042e09add7bece6571a5", kill_on_drop: false }` [INFO] [stdout] 7094e8a60b48597bc18b21709f9a36cadbcb3a0a46f1042e09add7bece6571a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13112c7f2082ae25b36f5053fdfbbf35168129919316bd680f95041b05a87cdd [INFO] running `Command { std: "docker" "start" "-a" "13112c7f2082ae25b36f5053fdfbbf35168129919316bd680f95041b05a87cdd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling png v0.16.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.3 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling tetra v0.3.3 [INFO] [stderr] Compiling hypoterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] 2 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stdout] 3 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stdout] 4 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stdout] ... | [INFO] [stdout] 81 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stdout] 82 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.50s [INFO] running `Command { std: "docker" "inspect" "13112c7f2082ae25b36f5053fdfbbf35168129919316bd680f95041b05a87cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13112c7f2082ae25b36f5053fdfbbf35168129919316bd680f95041b05a87cdd", kill_on_drop: false }` [INFO] [stdout] 13112c7f2082ae25b36f5053fdfbbf35168129919316bd680f95041b05a87cdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9cdb4126f8bd2bcb3c838150472062c4eccd329ca3eebb13ad743a81c02efaa [INFO] running `Command { std: "docker" "start" "-a" "b9cdb4126f8bd2bcb3c838150472062c4eccd329ca3eebb13ad743a81c02efaa", kill_on_drop: false }` [INFO] [stderr] Compiling hypoterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] 2 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stdout] 3 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stdout] 4 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stdout] ... | [INFO] [stdout] 81 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stdout] 82 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "b9cdb4126f8bd2bcb3c838150472062c4eccd329ca3eebb13ad743a81c02efaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9cdb4126f8bd2bcb3c838150472062c4eccd329ca3eebb13ad743a81c02efaa", kill_on_drop: false }` [INFO] [stdout] b9cdb4126f8bd2bcb3c838150472062c4eccd329ca3eebb13ad743a81c02efaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04e7c7330612215444d5bc15a7a3e45716bd763340e79f30977eec2110ba1f09 [INFO] running `Command { std: "docker" "start" "-a" "04e7c7330612215444d5bc15a7a3e45716bd763340e79f30977eec2110ba1f09", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: type `Help_Menu` should have an upper camel case name [INFO] [stderr] --> src/game_structs.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct Help_Menu { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/main.rs:231:25 [INFO] [stderr] | [INFO] [stderr] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/level1.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stderr] 2 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stderr] 3 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stderr] 4 | | [1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, ... [INFO] [stderr] ... | [INFO] [stderr] 81 | | [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [INFO] [stderr] 82 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/main.rs:388:17 [INFO] [stderr] | [INFO] [stderr] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/main.rs:408:21 [INFO] [stderr] | [INFO] [stderr] 408 | &self.enemy_instances.remove(index_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `hypoterra` (bin "hypoterra" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.92s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hypoterra-19b2d97c2d903b45) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04e7c7330612215444d5bc15a7a3e45716bd763340e79f30977eec2110ba1f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e7c7330612215444d5bc15a7a3e45716bd763340e79f30977eec2110ba1f09", kill_on_drop: false }` [INFO] [stdout] 04e7c7330612215444d5bc15a7a3e45716bd763340e79f30977eec2110ba1f09