[INFO] cloning repository https://github.com/pholtz/spear [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pholtz/spear" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpholtz%2Fspear", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpholtz%2Fspear'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f2e69a2a3de89120241ab729b89672e0638bf32 [INFO] building pholtz/spear against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpholtz%2Fspear" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pholtz/spear [INFO] finished tweaking git repo https://github.com/pholtz/spear [INFO] tweaked toml for git repo https://github.com/pholtz/spear written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pholtz/spear on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pholtz/spear 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded indenter v0.3.4 [INFO] [stderr] Downloaded bracket-noise v0.8.7 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.7 [INFO] [stderr] Downloaded bracket-rex v0.8.7 [INFO] [stderr] Downloaded bracket-random v0.8.7 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.7 [INFO] [stderr] Downloaded bracket-geometry v0.8.7 [INFO] [stderr] Downloaded glutin v0.29.1 [INFO] [stderr] Downloaded bracket-embedding v0.8.7 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] [stderr] Downloaded bracket-color v0.8.7 [INFO] [stderr] Downloaded dwrote v0.11.4 [INFO] [stderr] Downloaded rltk v0.8.7 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded send_wrapper v0.2.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded bracket-terminal v0.8.7 [INFO] [stderr] Downloaded object-pool v0.5.4 [INFO] [stderr] Downloaded bracket-lib v0.8.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6837c4bf0c9ae741d57e8b68140be92e3ba0edaf5a47b673fa967d0e0b9fd41a [INFO] running `Command { std: "docker" "start" "-a" "6837c4bf0c9ae741d57e8b68140be92e3ba0edaf5a47b673fa967d0e0b9fd41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6837c4bf0c9ae741d57e8b68140be92e3ba0edaf5a47b673fa967d0e0b9fd41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6837c4bf0c9ae741d57e8b68140be92e3ba0edaf5a47b673fa967d0e0b9fd41a", kill_on_drop: false }` [INFO] [stdout] 6837c4bf0c9ae741d57e8b68140be92e3ba0edaf5a47b673fa967d0e0b9fd41a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f85edce690b3c1781b950e1d8e5baec7851dc552c6fb374d76e21768cd47b4c8 [INFO] running `Command { std: "docker" "start" "-a" "f85edce690b3c1781b950e1d8e5baec7851dc552c6fb374d76e21768cd47b4c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling color-eyre v0.6.5 [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 terminalia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/system/ranged_combat_system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_index` [INFO] [stdout] --> src/generate/spawn.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn spawn_weighted_item(ecs: &mut World, floor_index: u32, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_index` [INFO] [stdout] --> src/generate/spawn.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn spawn_weighted_monster(ecs: &mut World, floor_index: u32, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/system/ranged_combat_system.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | names, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equipment` [INFO] [stdout] --> src/system/ranged_combat_system.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | equipment, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monsters` [INFO] [stdout] --> src/system/ranged_combat_system.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | monsters, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monsters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_position` [INFO] [stdout] --> src/system/ranged_combat_system.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let player_position = positions.get(*player_entity).expect("Unable to access player position"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gold` is never read [INFO] [stdout] --> src/component.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 85 | pub gold: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/effect/effect.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | LevelUp { level: i32 }, [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `creator` is never read [INFO] [stdout] --> src/effect/effect.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Effect { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | pub effect_type: EffectType, [INFO] [stdout] 18 | pub creator: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/generate/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MonsterConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] 26 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_floor` is never read [INFO] [stdout] --> src/generate/config.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SpawnConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 43 | pub min_floor: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage_type` is never read [INFO] [stdout] --> src/generate/config.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MeleeWeaponConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 69 | pub damage: String, [INFO] [stdout] 70 | pub damage_type: DamageType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/generate/random_table.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RandomTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add(mut self, name : S, weight: i32) -> RandomTable { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append` is never used [INFO] [stdout] --> src/logbook/logbook.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn append(fragment: LogFragment) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_world` is never used [INFO] [stdout] --> src/system/ranged_combat_system.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn with_world(world: &mut World, f: impl FnOnce(&mut World) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_player_ranged_weapon_entity` is never used [INFO] [stdout] --> src/system/ranged_combat_system.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_player_ranged_weapon_entity(ecs: &mut World) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "f85edce690b3c1781b950e1d8e5baec7851dc552c6fb374d76e21768cd47b4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85edce690b3c1781b950e1d8e5baec7851dc552c6fb374d76e21768cd47b4c8", kill_on_drop: false }` [INFO] [stdout] f85edce690b3c1781b950e1d8e5baec7851dc552c6fb374d76e21768cd47b4c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdd454117836e9e781b71621d12f8b64de7373a3b602a0f07be30b4d2d095453 [INFO] running `Command { std: "docker" "start" "-a" "cdd454117836e9e781b71621d12f8b64de7373a3b602a0f07be30b4d2d095453", kill_on_drop: false }` [INFO] [stderr] Compiling terminalia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/system/ranged_combat_system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_index` [INFO] [stdout] --> src/generate/spawn.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn spawn_weighted_item(ecs: &mut World, floor_index: u32, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_index` [INFO] [stdout] --> src/generate/spawn.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn spawn_weighted_monster(ecs: &mut World, floor_index: u32, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/system/ranged_combat_system.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | names, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equipment` [INFO] [stdout] --> src/system/ranged_combat_system.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | equipment, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monsters` [INFO] [stdout] --> src/system/ranged_combat_system.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | monsters, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monsters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_position` [INFO] [stdout] --> src/system/ranged_combat_system.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let player_position = positions.get(*player_entity).expect("Unable to access player position"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gold` is never read [INFO] [stdout] --> src/component.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 85 | pub gold: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/effect/effect.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | LevelUp { level: i32 }, [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `creator` is never read [INFO] [stdout] --> src/effect/effect.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Effect { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | pub effect_type: EffectType, [INFO] [stdout] 18 | pub creator: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/generate/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MonsterConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] 26 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_floor` is never read [INFO] [stdout] --> src/generate/config.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SpawnConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 43 | pub min_floor: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage_type` is never read [INFO] [stdout] --> src/generate/config.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MeleeWeaponConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 69 | pub damage: String, [INFO] [stdout] 70 | pub damage_type: DamageType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/generate/random_table.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RandomTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add(mut self, name : S, weight: i32) -> RandomTable { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append` is never used [INFO] [stdout] --> src/logbook/logbook.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn append(fragment: LogFragment) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_world` is never used [INFO] [stdout] --> src/system/ranged_combat_system.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn with_world(world: &mut World, f: impl FnOnce(&mut World) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_player_ranged_weapon_entity` is never used [INFO] [stdout] --> src/system/ranged_combat_system.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_player_ranged_weapon_entity(ecs: &mut World) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "cdd454117836e9e781b71621d12f8b64de7373a3b602a0f07be30b4d2d095453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd454117836e9e781b71621d12f8b64de7373a3b602a0f07be30b4d2d095453", kill_on_drop: false }` [INFO] [stdout] cdd454117836e9e781b71621d12f8b64de7373a3b602a0f07be30b4d2d095453