[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidtweaver%2Frust-rogue" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidtweaver/rust-rogue 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rltk v0.8.7 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] [stderr] Downloaded dwrote v0.11.4 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded libloading v0.8.9 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0380989bd8a599f70829070b97042b26069e4d9e399a5b54d66479928f76c4d8 [INFO] running `Command { std: "docker" "start" "-a" "0380989bd8a599f70829070b97042b26069e4d9e399a5b54d66479928f76c4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0380989bd8a599f70829070b97042b26069e4d9e399a5b54d66479928f76c4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0380989bd8a599f70829070b97042b26069e4d9e399a5b54d66479928f76c4d8", kill_on_drop: false }` [INFO] [stdout] 0380989bd8a599f70829070b97042b26069e4d9e399a5b54d66479928f76c4d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b1b76d2d41fbe8193b7e04e4456c6e7b346cea00325fdeb51e8065e6cd94f30f [INFO] running `Command { std: "docker" "start" "-a" "b1b76d2d41fbe8193b7e04e4456c6e7b346cea00325fdeb51e8065e6cd94f30f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling scoped-tls v1.0.1 [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 fdeflate v0.3.7 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [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-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.7 [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 specs-derive v0.4.1 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling bracket-noise 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 37s [INFO] running `Command { std: "docker" "inspect" "b1b76d2d41fbe8193b7e04e4456c6e7b346cea00325fdeb51e8065e6cd94f30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b76d2d41fbe8193b7e04e4456c6e7b346cea00325fdeb51e8065e6cd94f30f", kill_on_drop: false }` [INFO] [stdout] b1b76d2d41fbe8193b7e04e4456c6e7b346cea00325fdeb51e8065e6cd94f30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 56c670ff40a38308615c3296b9f60de574793a731b7f33c91c404e3ff0a64f37 [INFO] running `Command { std: "docker" "start" "-a" "56c670ff40a38308615c3296b9f60de574793a731b7f33c91c404e3ff0a64f37", 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.76s [INFO] running `Command { std: "docker" "inspect" "56c670ff40a38308615c3296b9f60de574793a731b7f33c91c404e3ff0a64f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c670ff40a38308615c3296b9f60de574793a731b7f33c91c404e3ff0a64f37", kill_on_drop: false }` [INFO] [stdout] 56c670ff40a38308615c3296b9f60de574793a731b7f33c91c404e3ff0a64f37