[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] testing davidtweaver/rust-rogue/14ae310488a899e74588457158cb5a07163cd0d8 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidtweaver%2Frust-rogue" "/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/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidtweaver/rust-rogue on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 256 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rltk v0.8.7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49322cd23fc47bf287cf9c7a874292590a2e6cd2fb72d00621f2b50bf83e9cfe [INFO] running `Command { std: "docker" "start" "-a" "49322cd23fc47bf287cf9c7a874292590a2e6cd2fb72d00621f2b50bf83e9cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49322cd23fc47bf287cf9c7a874292590a2e6cd2fb72d00621f2b50bf83e9cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49322cd23fc47bf287cf9c7a874292590a2e6cd2fb72d00621f2b50bf83e9cfe", kill_on_drop: false }` [INFO] [stdout] 49322cd23fc47bf287cf9c7a874292590a2e6cd2fb72d00621f2b50bf83e9cfe [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1987c1fcf8bcc93b2e1a87502d8f7598893017a2a717d21233c7c519f4eface [INFO] running `Command { std: "docker" "start" "-a" "e1987c1fcf8bcc93b2e1a87502d8f7598893017a2a717d21233c7c519f4eface", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nix v0.25.1 [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 instant v0.1.13 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tynm v0.1.10 [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 bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [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)]` 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)]` 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)]` 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)]` 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] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "e1987c1fcf8bcc93b2e1a87502d8f7598893017a2a717d21233c7c519f4eface", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1987c1fcf8bcc93b2e1a87502d8f7598893017a2a717d21233c7c519f4eface", kill_on_drop: false }` [INFO] [stdout] e1987c1fcf8bcc93b2e1a87502d8f7598893017a2a717d21233c7c519f4eface [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c91ad456c46f6b832ea9757998662c20057e4e4b940d63a4cae7a8b80c59ebc [INFO] running `Command { std: "docker" "start" "-a" "7c91ad456c46f6b832ea9757998662c20057e4e4b940d63a4cae7a8b80c59ebc", 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)]` 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)]` 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)]` 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)]` 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] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "7c91ad456c46f6b832ea9757998662c20057e4e4b940d63a4cae7a8b80c59ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c91ad456c46f6b832ea9757998662c20057e4e4b940d63a4cae7a8b80c59ebc", kill_on_drop: false }` [INFO] [stdout] 7c91ad456c46f6b832ea9757998662c20057e4e4b940d63a4cae7a8b80c59ebc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e0cd24e46dfae8d812b649367c5c6e78d776f89b897e6d207a707bed05ef30f [INFO] running `Command { std: "docker" "start" "-a" "8e0cd24e46dfae8d812b649367c5c6e78d776f89b897e6d207a707bed05ef30f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RGB` [INFO] [stderr] --> src/main.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use rltk::{GameState, Rltk, RGB, Point}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `console` [INFO] [stderr] --> src/player.rs:2:41 [INFO] [stderr] | [INFO] [stderr] 2 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SufferDamage` and `TileType` [INFO] [stderr] --> src/player.rs:6:41 [INFO] [stderr] | [INFO] [stderr] 6 | use super::{Position, Player, Viewshed, TileType, State, RunState, Map, CombatStats, IntentToMelee, SufferDamage, Item, IntentToPickUpIte... [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Name` [INFO] [stderr] --> src/hostile_ai_system.rs:2:43 [INFO] [stderr] | [INFO] [stderr] 2 | use super::{Viewshed, Position, Map, NPC, Name, IntentToMelee, RunState, Confusion}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `console` and `field_of_view` [INFO] [stderr] --> src/hostile_ai_system.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rltk::{field_of_view, Point, console}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Console` [INFO] [stderr] --> src/map.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use rltk::{ RGB, Rltk, Console, RandomNumberGenerator, BaseMap, Algorithm2D, Point }; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `map` [INFO] [stderr] --> src/player.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let map = ecs.fetch::(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/player.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let mut players = ecs.write_storage::(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hostile_ai_system.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hostile_ai_system.rs:28:40 [INFO] [stderr] | [INFO] [stderr] 28 | for (entity, mut viewshed,_npc,mut pos) in (&entities, &mut viewshed, &npc, &mut position).join() { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/damage_system.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | for (mut stats, damage) in (&mut stats, &damage).join() { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable `used_item` is assigned to, but never used [INFO] [stderr] --> src/inventory_system.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | let mut used_item = true; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_used_item` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `used_item` is never read [INFO] [stderr] --> src/inventory_system.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 95 | used_item = false; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `used_item` is never read [INFO] [stderr] --> src/inventory_system.rs:104:33 [INFO] [stderr] | [INFO] [stderr] 104 | ... used_item = true; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `used_item` is never read [INFO] [stderr] --> src/inventory_system.rs:115:25 [INFO] [stderr] | [INFO] [stderr] 115 | used_item = false; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `used_item` is never read [INFO] [stderr] --> src/inventory_system.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | used_item = true; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `used_item` is never read [INFO] [stderr] --> src/inventory_system.rs:137:29 [INFO] [stderr] | [INFO] [stderr] 137 | ... used_item = false; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:250:14 [INFO] [stderr] | [INFO] [stderr] 250 | let (x,y) = room.center(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:250:16 [INFO] [stderr] | [INFO] [stderr] 250 | let (x,y) = room.center(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: `rust-rogue` (bin "rust-rogue" test) generated 19 warnings (run `cargo fix --bin "rust-rogue" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_rogue-52ed771a967ef1ff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e0cd24e46dfae8d812b649367c5c6e78d776f89b897e6d207a707bed05ef30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0cd24e46dfae8d812b649367c5c6e78d776f89b897e6d207a707bed05ef30f", kill_on_drop: false }` [INFO] [stdout] 8e0cd24e46dfae8d812b649367c5c6e78d776f89b897e6d207a707bed05ef30f