[INFO] cloning repository https://github.com/davidtweaver/rust-rogue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidtweaver/rust-rogue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidtweaver%2Frust-rogue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidtweaver%2Frust-rogue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14ae310488a899e74588457158cb5a07163cd0d8 [INFO] building davidtweaver/rust-rogue against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidtweaver%2Frust-rogue" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidtweaver/rust-rogue [INFO] finished tweaking git repo https://github.com/davidtweaver/rust-rogue [INFO] tweaked toml for git repo https://github.com/davidtweaver/rust-rogue written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidtweaver/rust-rogue on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 250 packages to latest compatible versions [INFO] [stderr] Adding specs v0.16.1 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded libloading v0.8.9 [INFO] [stderr] Downloaded dwrote v0.11.4 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded rltk v0.8.7 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b05f540c61e79d46501f6120b2fcfc4d97a318c41c0e6a6316bb877166253f0f [INFO] running `Command { std: "docker" "start" "-a" "b05f540c61e79d46501f6120b2fcfc4d97a318c41c0e6a6316bb877166253f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b05f540c61e79d46501f6120b2fcfc4d97a318c41c0e6a6316bb877166253f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05f540c61e79d46501f6120b2fcfc4d97a318c41c0e6a6316bb877166253f0f", kill_on_drop: false }` [INFO] [stdout] b05f540c61e79d46501f6120b2fcfc4d97a318c41c0e6a6316bb877166253f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b995d0fc0542a1ec4e542a31575e1bb81fbc51a7ddf0158fa0dd9613984ed79 [INFO] running `Command { std: "docker" "start" "-a" "6b995d0fc0542a1ec4e542a31575e1bb81fbc51a7ddf0158fa0dd9613984ed79", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling bracket-rex v0.8.7 [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 rust-rogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RGB` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{GameState, Rltk, RGB, Point}; [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 import: `console` [INFO] [stdout] --> src/player.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SufferDamage` and `TileType` [INFO] [stdout] --> src/player.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Position, Player, Viewshed, TileType, State, RunState, Map, CombatStats, IntentToMelee, SufferDamage, Item, IntentToPickUpIte... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/hostile_ai_system.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{Viewshed, Position, Map, NPC, Name, IntentToMelee, RunState, Confusion}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console` and `field_of_view` [INFO] [stdout] --> src/hostile_ai_system.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{field_of_view, Point, console}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/map.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{ RGB, Rltk, Console, RandomNumberGenerator, BaseMap, Algorithm2D, Point }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/player.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let map = ecs.fetch::(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut players = ecs.write_storage::(); [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: variable does not need to be mutable [INFO] [stdout] --> src/hostile_ai_system.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hostile_ai_system.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/damage_system.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | for (mut stats, damage) in (&mut stats, &damage).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `used_item` is assigned to, but never used [INFO] [stdout] --> src/inventory_system.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let mut used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_used_item` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | used_item = false; [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 `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | ... used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | let (x,y) = room.center(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | let (_x,y) = room.center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ITEMS` [INFO] [stdout] | [INFO] [stdout] 250 - let (x,y) = room.center(); [INFO] [stdout] 250 + let (spawner::MAX_ITEMS,y) = room.center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | let (x,y) = room.center(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | let (x,_y) = room.center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ITEMS` [INFO] [stdout] | [INFO] [stdout] 250 - let (x,y) = room.center(); [INFO] [stdout] 250 + let (x,spawner::MAX_ITEMS) = room.center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "6b995d0fc0542a1ec4e542a31575e1bb81fbc51a7ddf0158fa0dd9613984ed79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b995d0fc0542a1ec4e542a31575e1bb81fbc51a7ddf0158fa0dd9613984ed79", kill_on_drop: false }` [INFO] [stdout] 6b995d0fc0542a1ec4e542a31575e1bb81fbc51a7ddf0158fa0dd9613984ed79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04e3a34f863fcd5954f5706059fa4e3e050413c5a1286d27ee74c84f89ace27e [INFO] running `Command { std: "docker" "start" "-a" "04e3a34f863fcd5954f5706059fa4e3e050413c5a1286d27ee74c84f89ace27e", kill_on_drop: false }` [INFO] [stderr] Compiling rust-rogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RGB` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{GameState, Rltk, RGB, Point}; [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 import: `console` [INFO] [stdout] --> src/player.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SufferDamage` and `TileType` [INFO] [stdout] --> src/player.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Position, Player, Viewshed, TileType, State, RunState, Map, CombatStats, IntentToMelee, SufferDamage, Item, IntentToPickUpIte... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/hostile_ai_system.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{Viewshed, Position, Map, NPC, Name, IntentToMelee, RunState, Confusion}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console` and `field_of_view` [INFO] [stdout] --> src/hostile_ai_system.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{field_of_view, Point, console}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/map.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{ RGB, Rltk, Console, RandomNumberGenerator, BaseMap, Algorithm2D, Point }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/player.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let map = ecs.fetch::(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut players = ecs.write_storage::(); [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: variable does not need to be mutable [INFO] [stdout] --> src/hostile_ai_system.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hostile_ai_system.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/damage_system.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | for (mut stats, damage) in (&mut stats, &damage).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `used_item` is assigned to, but never used [INFO] [stdout] --> src/inventory_system.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let mut used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_used_item` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | used_item = false; [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 `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | ... used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | let (x,y) = room.center(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | let (_x,y) = room.center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ITEMS` [INFO] [stdout] | [INFO] [stdout] 250 - let (x,y) = room.center(); [INFO] [stdout] 250 + let (spawner::MAX_ITEMS,y) = room.center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | let (x,y) = room.center(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | let (x,_y) = room.center(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ITEMS` [INFO] [stdout] | [INFO] [stdout] 250 - let (x,y) = room.center(); [INFO] [stdout] 250 + let (x,spawner::MAX_ITEMS) = room.center(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "04e3a34f863fcd5954f5706059fa4e3e050413c5a1286d27ee74c84f89ace27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e3a34f863fcd5954f5706059fa4e3e050413c5a1286d27ee74c84f89ace27e", kill_on_drop: false }` [INFO] [stdout] 04e3a34f863fcd5954f5706059fa4e3e050413c5a1286d27ee74c84f89ace27e