[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgegs921%2Fhypoterra" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gegs921/hypoterra on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-82/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19d7278fef05b1de48978e20428d1314ee4f5b465856e5a6ec0bdd49dafa2d66 [INFO] running `Command { std: "docker" "start" "-a" "19d7278fef05b1de48978e20428d1314ee4f5b465856e5a6ec0bdd49dafa2d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19d7278fef05b1de48978e20428d1314ee4f5b465856e5a6ec0bdd49dafa2d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d7278fef05b1de48978e20428d1314ee4f5b465856e5a6ec0bdd49dafa2d66", kill_on_drop: false }` [INFO] [stdout] 19d7278fef05b1de48978e20428d1314ee4f5b465856e5a6ec0bdd49dafa2d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90a9e0f5d67ffc7b3ba9790313435a5261e9252cd3f53ba298048466001411d [INFO] running `Command { std: "docker" "start" "-a" "e90a9e0f5d67ffc7b3ba9790313435a5261e9252cd3f53ba298048466001411d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [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 syn v1.0.17 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling bytemuck v1.2.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 hashbrown v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling png v0.16.2 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [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 rand_core v0.5.1 [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 glow v0.4.0 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [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 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 57.44s [INFO] running `Command { std: "docker" "inspect" "e90a9e0f5d67ffc7b3ba9790313435a5261e9252cd3f53ba298048466001411d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90a9e0f5d67ffc7b3ba9790313435a5261e9252cd3f53ba298048466001411d", kill_on_drop: false }` [INFO] [stdout] e90a9e0f5d67ffc7b3ba9790313435a5261e9252cd3f53ba298048466001411d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9015bfd121e3f2e7a473c1740fecb5252c2d5b11ddf23c08bd39d1b565c18d07 [INFO] running `Command { std: "docker" "start" "-a" "9015bfd121e3f2e7a473c1740fecb5252c2d5b11ddf23c08bd39d1b565c18d07", 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.81s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hypoterra-2c2b0f2941545e1e) [INFO] running `Command { std: "docker" "inspect" "9015bfd121e3f2e7a473c1740fecb5252c2d5b11ddf23c08bd39d1b565c18d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9015bfd121e3f2e7a473c1740fecb5252c2d5b11ddf23c08bd39d1b565c18d07", kill_on_drop: false }` [INFO] [stdout] 9015bfd121e3f2e7a473c1740fecb5252c2d5b11ddf23c08bd39d1b565c18d07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd5bef54d14cd45d996c460af9f9e1be52b20e76d3b4839a024d0219f57b44f1 [INFO] running `Command { std: "docker" "start" "-a" "cd5bef54d14cd45d996c460af9f9e1be52b20e76d3b4839a024d0219f57b44f1", 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 3.91s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hypoterra-2c2b0f2941545e1e) [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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cd5bef54d14cd45d996c460af9f9e1be52b20e76d3b4839a024d0219f57b44f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5bef54d14cd45d996c460af9f9e1be52b20e76d3b4839a024d0219f57b44f1", kill_on_drop: false }` [INFO] [stdout] cd5bef54d14cd45d996c460af9f9e1be52b20e76d3b4839a024d0219f57b44f1