[INFO] cloning repository https://github.com/if-jie/ken [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/if-jie/ken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fif-jie%2Fken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fif-jie%2Fken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8a9e1d62b23fe0e7e8f1152103e6c971120b941 [INFO] building if-jie/ken against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fif-jie%2Fken" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/if-jie/ken [INFO] finished tweaking git repo https://github.com/if-jie/ken [INFO] tweaked toml for git repo https://github.com/if-jie/ken written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/if-jie/ken on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/if-jie/ken 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded fdeflate v0.3.6 [INFO] [stderr] Downloaded xml-rs v0.8.23 [INFO] [stderr] Downloaded cc v1.2.0 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] [stderr] Downloaded rltk v0.8.7 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd716f0826a065c2ad3eca332be0b0770e89d1c374606bea902dd8177a79d145 [INFO] running `Command { std: "docker" "start" "-a" "fd716f0826a065c2ad3eca332be0b0770e89d1c374606bea902dd8177a79d145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd716f0826a065c2ad3eca332be0b0770e89d1c374606bea902dd8177a79d145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd716f0826a065c2ad3eca332be0b0770e89d1c374606bea902dd8177a79d145", kill_on_drop: false }` [INFO] [stdout] fd716f0826a065c2ad3eca332be0b0770e89d1c374606bea902dd8177a79d145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304a3ff88d05005bb8149bd4a8d539280075198eb04b01f963600dcee33593ca [INFO] running `Command { std: "docker" "start" "-a" "304a3ff88d05005bb8149bd4a8d539280075198eb04b01f963600dcee33593ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling cc v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling rltk v0.8.7 [INFO] [stderr] Compiling ken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/components.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState` and `RGB` [INFO] [stdout] --> src/players.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rltk::{GameState, Rltk, RGB, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | for i in 0..MAX_ROOMS{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 81 | for _i in 0..MAX_ROOMS{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 81 - for i in 0..MAX_ROOMS{ [INFO] [stdout] 81 + for map::Map::new_map_rooms_and_corridors::MAX_SIZE in 0..MAX_ROOMS{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `y` is assigned to, but never used [INFO] [stdout] --> src/map.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_y` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 184 - let mut y = 0; [INFO] [stdout] 184 + let mut map::Map::new_map_rooms_and_corridors::MAX_SIZE = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glyph` is assigned to, but never used [INFO] [stdout] --> src/map.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let glyph; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_glyph` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fg` is assigned to, but never used [INFO] [stdout] --> src/map.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut fg; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glyph` is never read [INFO] [stdout] --> src/map.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | glyph = rltk::to_cp437('.'); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fg` is never read [INFO] [stdout] --> src/map.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | fg = RGB::from_f32(0.0, 0.5, 0.5); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glyph` is never read [INFO] [stdout] --> src/map.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | glyph = rltk::to_cp437('#'); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fg` is never read [INFO] [stdout] --> src/map.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | fg = RGB::from_f32(0.0, 1.0, 0.); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/map.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn draw_map(ecs: &World, ctx: &mut Rltk){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut fg; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_x` [INFO] [stdout] --> src/main.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 102 | let (_player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 102 - let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] 102 + let (map::Map::new_map_rooms_and_corridors::MAX_SIZE, player_y) = map.rooms[0].center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_y` [INFO] [stdout] --> src/main.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, _player_y) = map.rooms[0].center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 102 - let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] 102 + let (player_x, map::Map::new_map_rooms_and_corridors::MAX_SIZE) = map.rooms[0].center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "304a3ff88d05005bb8149bd4a8d539280075198eb04b01f963600dcee33593ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304a3ff88d05005bb8149bd4a8d539280075198eb04b01f963600dcee33593ca", kill_on_drop: false }` [INFO] [stdout] 304a3ff88d05005bb8149bd4a8d539280075198eb04b01f963600dcee33593ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fdf80718c07f1622660656dcdb7cc0473ac59bba56ba3c5057efbc3ca38b70f [INFO] running `Command { std: "docker" "start" "-a" "7fdf80718c07f1622660656dcdb7cc0473ac59bba56ba3c5057efbc3ca38b70f", kill_on_drop: false }` [INFO] [stderr] Compiling ken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/components.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState` and `RGB` [INFO] [stdout] --> src/players.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rltk::{GameState, Rltk, RGB, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | for i in 0..MAX_ROOMS{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 81 | for _i in 0..MAX_ROOMS{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 81 - for i in 0..MAX_ROOMS{ [INFO] [stdout] 81 + for map::Map::new_map_rooms_and_corridors::MAX_SIZE in 0..MAX_ROOMS{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `y` is assigned to, but never used [INFO] [stdout] --> src/map.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_y` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 184 - let mut y = 0; [INFO] [stdout] 184 + let mut map::Map::new_map_rooms_and_corridors::MAX_SIZE = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glyph` is assigned to, but never used [INFO] [stdout] --> src/map.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let glyph; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_glyph` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fg` is assigned to, but never used [INFO] [stdout] --> src/map.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut fg; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glyph` is never read [INFO] [stdout] --> src/map.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | glyph = rltk::to_cp437('.'); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fg` is never read [INFO] [stdout] --> src/map.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | fg = RGB::from_f32(0.0, 0.5, 0.5); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glyph` is never read [INFO] [stdout] --> src/map.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | glyph = rltk::to_cp437('#'); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fg` is never read [INFO] [stdout] --> src/map.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | fg = RGB::from_f32(0.0, 1.0, 0.); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/map.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn draw_map(ecs: &World, ctx: &mut Rltk){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut fg; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_x` [INFO] [stdout] --> src/main.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 102 | let (_player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 102 - let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] 102 + let (map::Map::new_map_rooms_and_corridors::MAX_SIZE, player_y) = map.rooms[0].center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_y` [INFO] [stdout] --> src/main.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 102 | let (player_x, _player_y) = map.rooms[0].center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_SIZE` [INFO] [stdout] | [INFO] [stdout] 102 - let (player_x, player_y) = map.rooms[0].center(); [INFO] [stdout] 102 + let (player_x, map::Map::new_map_rooms_and_corridors::MAX_SIZE) = map.rooms[0].center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "7fdf80718c07f1622660656dcdb7cc0473ac59bba56ba3c5057efbc3ca38b70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fdf80718c07f1622660656dcdb7cc0473ac59bba56ba3c5057efbc3ca38b70f", kill_on_drop: false }` [INFO] [stdout] 7fdf80718c07f1622660656dcdb7cc0473ac59bba56ba3c5057efbc3ca38b70f