[INFO] cloning repository https://github.com/ShaneM123/rogueliketutorial2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShaneM123/rogueliketutorial2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneM123%2Frogueliketutorial2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneM123%2Frogueliketutorial2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e0c06de5d99e4a0a3e11dffc81eee900f6641b5 [INFO] testing ShaneM123/rogueliketutorial2021 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneM123%2Frogueliketutorial2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ShaneM123/rogueliketutorial2021 [INFO] finished tweaking git repo https://github.com/ShaneM123/rogueliketutorial2021 [INFO] tweaked toml for git repo https://github.com/ShaneM123/rogueliketutorial2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShaneM123/rogueliketutorial2021 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ShaneM123/rogueliketutorial2021 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ddbf24e686175e14f441b7bb7e29f3256668b51091dca455250639305c3f00a [INFO] running `Command { std: "docker" "start" "-a" "4ddbf24e686175e14f441b7bb7e29f3256668b51091dca455250639305c3f00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ddbf24e686175e14f441b7bb7e29f3256668b51091dca455250639305c3f00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddbf24e686175e14f441b7bb7e29f3256668b51091dca455250639305c3f00a", kill_on_drop: false }` [INFO] [stdout] 4ddbf24e686175e14f441b7bb7e29f3256668b51091dca455250639305c3f00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 04bf6d9eae390aade224bb6295849cd534c3e813cc042d35b1f2e328d0f14705 [INFO] running `Command { std: "docker" "start" "-a" "04bf6d9eae390aade224bb6295849cd534c3e813cc042d35b1f2e328d0f14705", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bracket-embedding v0.8.0 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.76 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling bracket-geometry v0.8.3 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.2 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling bracket-random v0.8.3 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling bracket-noise v0.8.2 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling bracket-rex v0.8.0 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling bracket-terminal v0.8.5 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling bracket-lib v0.8.2 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling rltk v0.8.1 (https://github.com/amethyst/bracket-lib#5e35a050) [INFO] [stderr] Compiling roguelike2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RGB` and `VirtualKeyCode` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{RltkBuilder, GameState, Rltk, RGB, VirtualKeyCode, Point}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::Component` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use specs_derive::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileType` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | map::{Map,TileType, draw_map}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Player` and `Viewshed` [INFO] [stdout] --> src/map.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Viewshed,Player}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConvertSaveload`, `Join`, `Marker`, and `error::NoError` [INFO] [stdout] --> src/map.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, Join, WorldExt, Entity, saveload::{Marker, ConvertSaveload}, error::NoError}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/player.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::Component` [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use specs_derive::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console` and `field_of_view` [INFO] [stdout] --> src/Monster_ai_system.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{field_of_view, Point, console}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/Monster_ai_system.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Name, Position, WantsToMelee}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/melee_combat_system.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InBackpack` and `WantsToPickupItem` [INFO] [stdout] --> src/set_explosives.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{WantsToPickupItem, Name, InBackpack, gamelog::GameLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WantsToDropItem` and `WantsToUseItem` [INFO] [stdout] --> src/set_explosives.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{ProvidesHealing, CombatStats, Position, WantsToUseItem, WantsToDropItem, Consumable, SufferDamage, InflictsDamage... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/saveload_system.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorldExt` [INFO] [stdout] --> src/map.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{World, Join, WorldExt, Entity, saveload::{Marker, ConvertSaveload}, error::NoError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/gui.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{RGB, Rltk, Console, Point, GREY, VirtualKeyCode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `idx` is never read [INFO] [stdout] --> src/map.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut idx: usize = 0; [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: unused variable: `p` [INFO] [stdout] --> src/visibility_system.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(p) = p { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [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/Monster_ai_system.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &mut position).join() { [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/Monster_ai_system.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &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:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | 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: unused variable: `idx` [INFO] [stdout] --> src/inventory_system.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let idx = map.xy_idx(target_point.x, target_point.y); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_entity` [INFO] [stdout] --> src/set_explosives.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (player_entity, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamelog` [INFO] [stdout] --> src/set_explosives.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | mut gamelog, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamelog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> src/set_explosives.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | entities, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `consumables` [INFO] [stdout] --> src/set_explosives.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | consumables, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consumables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/set_explosives.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | names, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `healing` [INFO] [stdout] --> src/set_explosives.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | healing, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combat_stats` [INFO] [stdout] --> src/set_explosives.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | mut combat_stats, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combat_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inflict_damage` [INFO] [stdout] --> src/set_explosives.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | inflict_damage, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inflict_damage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/set_explosives.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `suffer_damage` [INFO] [stdout] --> src/set_explosives.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | mut suffer_damage, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_suffer_damage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aoe` [INFO] [stdout] --> src/set_explosives.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | aoe, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aoe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wants_explode` [INFO] [stdout] --> src/set_explosives.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | mut wants_explode, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wants_explode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/set_explosives.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pos) = data; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/set_explosives.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | mut gamelog, [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/set_explosives.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mut combat_stats, [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/set_explosives.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | mut suffer_damage, [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/set_explosives.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | mut wants_explode, [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/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn tick(&mut self, mut ctx : &mut Rltk) { [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/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut newrunstate; [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/main.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | let mut gs = setup_game_state("Welcome to Shanes Time Tunnel, inspired by rltk rust guide"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fireball_scroll` is never used [INFO] [stdout] --> src/spawner.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn fireball_scroll(ecs: &mut World, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_save` is never used [INFO] [stdout] --> src/saveload_system.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn delete_save() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Monster_ai_system` should have a snake case name [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | mod Monster_ai_system; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `monster_ai_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcKrln9O/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde_json-fec86a861d4a9bed.rlib,libryu-653032556b772f2f.rlib,libitoa-158d7e21e599682f.rlib,libspecs-3adcf815a18e3b2e.rlib,libcrossbeam_queue-c8b90f95d355dfab.rlib,libcrossbeam_utils-946317e8b534a400.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libtuple_utils-7cc8520065de2727.rlib,libshrev-a55594a06e7113ff.rlib,libshred-2078de365568aab0.rlib,libtynm-280c4defc7e8d9ad.rlib,libnom-b3f1460f6ba04b33.rlib,libmopa-197ba19539bd9705.rlib,libarrayvec-535b07a27f919199.rlib,libhashbrown-fa407d5882901d50.rlib,libahash-f6ae872fb175a688.rlib,libhibitset-e2f983fafbebd261.rlib,librayon-c914164e59008b8a.rlib,librayon_core-81555efaa00c5082.rlib,libnum_cpus-42a04eac3209bcea.rlib,libeither-e8a0ef7222037a64.rlib,libatom-ce1a10b8b3e18c30.rlib,librltk-c27dbb4f49acad36.rlib,libbracket_lib-1d9f1f513072ecf3.rlib,libbracket_terminal-39dc6d8043aa21cb.rlib,libanyhow-c3ec7216259bc6ae.rlib,libspin_sleep-68516b00ca367b89.rlib,libglutin-7d7bd9dc243641c5.rlib,libwayland_egl-1c990a1a1bdf52bc.rlib,libosmesa_sys-91060c39b68ad33d.rlib,libshared_library-4112d069ca7df548.rlib,libwinit-85745d2cf6d3ef11.rlib,libmio_misc-29887ccf171d5e81.rlib,libmio-f2958a829f8c69d4.rlib,libcrossbeam-181857aed5861acb.rlib,libcrossbeam_channel-3b4f3d8690016af0.rlib,libcrossbeam_deque-e3dd2d27538f40b1.rlib,libcrossbeam_queue-1e2b45b139dfdcd2.rlib,libcrossbeam_epoch-d9a1c7a5b49dcefe.rlib,libmemoffset-59f11e032c31b987.rlib,libcrossbeam_utils-a05553247ed3459c.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsmithay_client_toolkit-6c8b794fdd06b84f.rlib,libandrew-a36a8ae201620cc1.rlib,libxml-2dc9518b220164ad.rlib,libxdg-a82262cedcb3543a.rlib,libdirs-4f27d58a1ca5b120.rlib,libdirs_sys-7fb4efa2beff9c30.rlib,libwalkdir-6da7a998d20d0502.rlib,libsame_file-ebfa63be59ead6ba.rlib,librusttype-990d7681c81c5a10.rlib,libab_glyph_rasterizer-7c792a6342ebc267.rlib,libowned_ttf_parser-5733f77f04a884f8.rlib,libttf_parser-6494604512d55a58.rlib,libwayland_cursor-c236c23dfaf079bd.rlib,libxcursor-b43179ce08999d14.rlib,libnom-e0dff13df3ea765f.rlib,libmemmap2-6fd1a39e121c9d71.rlib,libwayland_protocols-408319076c80ca0b.rlib,libwayland_client-ee7c9e8f85ba3c18.rlib,libscoped_tls-c773acb8a8b535a4.rlib,libwayland_commons-103368811ea1da8c.rlib,libonce_cell-aa4d53ed7caf4352.rlib,libnix-38016d69b8e2142d.rlib,libwayland_sys-0d5128a02a0afe3a.rlib,libdlib-46aadee49dd46aae.rlib,liblibloading-9bcc23d3cb2d4dff.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcalloop-ee2afa3181e25911.rlib,libnix-21b64e19bd6a4060.rlib,libcfg_if-2d17986ae484e939.rlib,libdlib-13ac18e771e0262c.rlib,liblibloading-308597874b178daa.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libraw_window_handle-2d69a5503e4906dc.rlib,libraw_window_handle-f36a1c0901349696.rlib,libcty-5091860036d7fdf6.rlib,liblog-2fa663e3959e676f.rlib,libglutin_glx_sys-c3a3e06fd9d63f23.rlib,libx11_dl-593a07ed7bc413e7.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglutin_egl_sys-bff848c010cc466c.rlib,libimage-e26aaf3ca6f8eaf9.rlib,libcolor_quant-fd36927056f4d79f.rlib,libpng-75c4b33d2cbea450.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libdeflate-c52f7037696141fd.rlib,libadler32-5cb8e62306edda0a.rlib,libbitflags-e274cd04b58a060d.rlib,libnum_rational-43c7df2f92a6a607.rlib,libnum_iter-ad9f422d2c1470d1.rlib,libjpeg_decoder-62d7b2e4007957d2.rlib,libglow-5e4b7ca15dbe2fb0.rlib,libbracket_rex-bee572fc79684c60.rlib,libbracket_embedding-89b146d5c506fcdc.rlib,libflate2-f69c40d2fee02278.rlib,libminiz_oxide-16b4b8547a6b52b2.rlib,libadler-b32dea79b2f05ffd.rlib,libcrc32fast-8d8034fb5a51fcd6.rlib,libbyteorder-c7092f68299ac016.rlib,libobject_pool-ac8e70d971421335.rlib,libbracket_pathfinding-5a9dd35b3d56959e.rlib,libnum_rational-c7fa5c4178c20452.rlib,libnum_integer-5ddb400e2d865490.rlib,libnum_traits-e04a0b1505efd012.rlib,libbracket_noise-b168500a05732999.rlib,libbracket_random-02ec68712c9e12ed.rlib,libgetrandom-a51d8b58475ea6bd.rlib,libregex-61abb5ead9fe6390.rlib,libaho_corasick-c2a7e5a13a42a59f.rlib,libmemchr-81b381f232779c95.rlib,libregex_syntax-ae12054508fb30be.rlib,librand_xorshift-dca97d2470330e2f.rlib,librand-2ed857e6b91768f4.rlib,librand_core-59a631eb07dd7072.rlib,libbracket_color-ad0013bda00c4982.rlib,libparking_lot-b244a9f93ced7eca.rlib,libparking_lot_core-531991ea89441bf9.rlib,liblibc-1c53fe052b3f5fd0.rlib,liblock_api-07939699e2f482df.rlib,libscopeguard-d1da4a3a6459e1f1.rlib,libinstant-394145d5f4bcc870.rlib,libcfg_if-66d55f6b302e88c8.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbracket_algorithm_traits-d31a3e6f8e57ea64.rlib,libsmallvec-39c23b8b078c47c3.rlib,libbracket_geometry-0da357a9d001b282.rlib,libserde-1320f2504beb3489.rlib,libultraviolet-4be8b742f87b8712.rlib,libwide-22537a11a58e965e.rlib,libsafe_arch-32162fa1a9a268e9.rlib,libbytemuck-38ccc67caa8b7167.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcKrln9O/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/roguelike2021-ba072c75e5548451" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-a51d8b58475ea6bd.rlib(getrandom-a51d8b58475ea6bd.getrandom.87122c208a763552-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.4/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h8cb81d75879b99c5E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roguelike2021` (bin "roguelike2021") due to 1 previous error; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04bf6d9eae390aade224bb6295849cd534c3e813cc042d35b1f2e328d0f14705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04bf6d9eae390aade224bb6295849cd534c3e813cc042d35b1f2e328d0f14705", kill_on_drop: false }` [INFO] [stdout] 04bf6d9eae390aade224bb6295849cd534c3e813cc042d35b1f2e328d0f14705