[INFO] cloning repository https://github.com/Frans-Lukas/spellThief [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Frans-Lukas/spellThief" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2FspellThief", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2FspellThief'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f31953bee150d1b1b225cc861766abe5631cdb02 [INFO] checking Frans-Lukas/spellThief/f31953bee150d1b1b225cc861766abe5631cdb02 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2FspellThief" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Frans-Lukas/spellThief on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Frans-Lukas/spellThief [INFO] finished tweaking git repo https://github.com/Frans-Lukas/spellThief [INFO] tweaked toml for git repo https://github.com/Frans-Lukas/spellThief written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Frans-Lukas/spellThief 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a2b0367cf759c208353ca18549fb4cbdf262f230c95eded65f3cb39330dde19 [INFO] running `Command { std: "docker" "start" "-a" "8a2b0367cf759c208353ca18549fb4cbdf262f230c95eded65f3cb39330dde19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2b0367cf759c208353ca18549fb4cbdf262f230c95eded65f3cb39330dde19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2b0367cf759c208353ca18549fb4cbdf262f230c95eded65f3cb39330dde19", kill_on_drop: false }` [INFO] [stdout] 8a2b0367cf759c208353ca18549fb4cbdf262f230c95eded65f3cb39330dde19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4de4b6d44c63e331dd931f8fe73ed03f46a23a76b8c06b534928de49c773855 [INFO] running `Command { std: "docker" "start" "-a" "b4de4b6d44c63e331dd931f8fe73ed03f46a23a76b8c06b534928de49c773855", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking libloading v0.7.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking object-pool v0.5.4 [INFO] [stderr] Checking glow v0.10.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking tynm v0.1.6 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking bracket-geometry v0.8.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bracket-color v0.8.2 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking bracket-noise v0.8.2 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking bracket-terminal v0.8.5 [INFO] [stderr] Checking bracket-lib v0.8.1 [INFO] [stderr] Checking rltk v0.8.1 [INFO] [stderr] Checking hellorust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/map.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomNumberGenerator` [INFO] [stdout] --> src/map.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{Algorithm2D, BaseMap, Point, RandomNumberGenerator, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/spawner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bounces`, `Pierces`, `Ranged`, and `RecastOnKill` [INFO] [stdout] --> src/spells.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | AreaOfEffect, Bounces, DestroysWalls, InflictsDamage, Name, Pierces, Ranged, RecastOnKill, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/spells.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/map.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomNumberGenerator` [INFO] [stdout] --> src/map.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rltk::{Algorithm2D, BaseMap, Point, RandomNumberGenerator, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/spawner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bounces`, `Pierces`, `Ranged`, and `RecastOnKill` [INFO] [stdout] --> src/spells.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | AreaOfEffect, Bounces, DestroysWalls, InflictsDamage, Name, Pierces, Ranged, RecastOnKill, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/spells.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/damage_system.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for (entity, mut stats, damage) in (&entities, &mut stats, &damage).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: unused variable: `player` [INFO] [stdout] --> src/gui.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | for (player, stats, mstats, name) in (&players, &combat_stats, &magic_stats, &names).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/inventory_system.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | for (player, mut magic_stats) in (&entities, &mut magic_stats).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | for (player, mut magic_stats) in (&entities, &mut magic_stats).join() { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/map_builders/simple_map.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn spawn(map: &Map, ecs: &mut World, depth: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_systems.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | 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/monster_ai_systems.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | 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/particle_system.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | for (entity, mut particle) in (&entities, &mut particles).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/spells.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell_entity` [INFO] [stdout] --> src/spells.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spell_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell_component` [INFO] [stdout] --> src/spells.rs:19:72 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spell_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for room in map.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | for room in worldmap.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | for room in worldmap.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/damage_system.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for (entity, mut stats, damage) in (&entities, &mut stats, &damage).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: enum `SpellComponent` is never used [INFO] [stdout] --> src/spells.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SpellComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_spell_component` is never used [INFO] [stdout] --> src/spells.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/gui.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | for (player, stats, mstats, name) in (&players, &combat_stats, &magic_stats, &names).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hellorust` (bin "hellorust") due to 3 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/inventory_system.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | for (player, mut magic_stats) in (&entities, &mut magic_stats).join() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | for (player, mut magic_stats) in (&entities, &mut magic_stats).join() { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/map_builders/simple_map.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn spawn(map: &Map, ecs: &mut World, depth: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_systems.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | 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/monster_ai_systems.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | 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/particle_system.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | for (entity, mut particle) in (&entities, &mut particles).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/spells.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell_entity` [INFO] [stdout] --> src/spells.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spell_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell_component` [INFO] [stdout] --> src/spells.rs:19:72 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spell_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for room in map.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | for room in worldmap.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/main.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | for room in worldmap.rooms.iter().skip(1) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpellComponent` is never used [INFO] [stdout] --> src/spells.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SpellComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_spell_component` is never used [INFO] [stdout] --> src/spells.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_spell_component(ecs: &mut World, spell_entity: &mut Entity, spell_component: SpellComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hellorust` (bin "hellorust" test) due to 3 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4de4b6d44c63e331dd931f8fe73ed03f46a23a76b8c06b534928de49c773855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4de4b6d44c63e331dd931f8fe73ed03f46a23a76b8c06b534928de49c773855", kill_on_drop: false }` [INFO] [stdout] b4de4b6d44c63e331dd931f8fe73ed03f46a23a76b8c06b534928de49c773855