[INFO] cloning repository https://github.com/Grissess/dragonfight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grissess/dragonfight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrissess%2Fdragonfight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrissess%2Fdragonfight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ebae6557894a4b58a82668cb09c7c6a2b3f81a4 [INFO] building Grissess/dragonfight against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrissess%2Fdragonfight" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grissess/dragonfight on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grissess/dragonfight [INFO] finished tweaking git repo https://github.com/Grissess/dragonfight [INFO] tweaked toml for git repo https://github.com/Grissess/dragonfight written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/Grissess/dragonfight already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b61a6fc2e96a43bf38f980e63d2ded9bb5304d0746b09504951a41980340091 [INFO] running `Command { std: "docker" "start" "-a" "3b61a6fc2e96a43bf38f980e63d2ded9bb5304d0746b09504951a41980340091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b61a6fc2e96a43bf38f980e63d2ded9bb5304d0746b09504951a41980340091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b61a6fc2e96a43bf38f980e63d2ded9bb5304d0746b09504951a41980340091", kill_on_drop: false }` [INFO] [stdout] 3b61a6fc2e96a43bf38f980e63d2ded9bb5304d0746b09504951a41980340091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c0774b0b71b01d2ee7df503cba97cc0fcab5217c05463e20d59883dd6460e2 [INFO] running `Command { std: "docker" "start" "-a" "a2c0774b0b71b01d2ee7df503cba97cc0fcab5217c05463e20d59883dd6460e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rogue_util v0.1.0 (https://github.com/Grissess/rogue_utils#f0e28409) [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling dragonfight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `flags` [INFO] [stdout] --> src/flags.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandState` [INFO] [stdout] --> src/creature/status.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::rng::{RandValue, RandState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/creature/damage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/world.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use util::grid::{self, region}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/world.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::creature::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/rng.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/creature/status.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn current(&self, world: &mut World) -> Current { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scores` [INFO] [stdout] --> src/creature.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | scores: AbilityScores, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `align` [INFO] [stdout] --> src/creature.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | align: Alignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dmgmods` [INFO] [stdout] --> src/creature.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | dmgmods: damage::Modifiers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/creature.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | id: CID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creature` [INFO] [stdout] --> src/creature.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | creature: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `loc` [INFO] [stdout] --> src/creature.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | loc: world::space::Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `health` [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | health: Health, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resistance` [INFO] [stdout] --> src/creature/damage.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | resistance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weakness` [INFO] [stdout] --> src/creature/damage.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | weakness: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `immunity` [INFO] [stdout] --> src/creature/damage.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | immunity: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/creature/damage.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn test(&self, spec: Spec) -> ModTest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/creature/damage.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn apply(&self, dmg: DamageResult) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bestiary` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bestiary: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creatures` [INFO] [stdout] --> src/world.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | creatures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `initiative` [INFO] [stdout] --> src/world.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | initiative: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | map: region::Region, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "a2c0774b0b71b01d2ee7df503cba97cc0fcab5217c05463e20d59883dd6460e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c0774b0b71b01d2ee7df503cba97cc0fcab5217c05463e20d59883dd6460e2", kill_on_drop: false }` [INFO] [stdout] a2c0774b0b71b01d2ee7df503cba97cc0fcab5217c05463e20d59883dd6460e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ab9a37ad1e868204de8979645073441d22e418f79cc3b2fcb349a32ab458e07 [INFO] running `Command { std: "docker" "start" "-a" "7ab9a37ad1e868204de8979645073441d22e418f79cc3b2fcb349a32ab458e07", kill_on_drop: false }` [INFO] [stdout] warning: unused macro definition: `flags` [INFO] [stdout] --> src/flags.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandState` [INFO] [stdout] --> src/creature/status.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::rng::{RandValue, RandState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/creature/damage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/world.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use util::grid::{self, region}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dragonfight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/world.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::creature::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/rng.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/creature/status.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn current(&self, world: &mut World) -> Current { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scores` [INFO] [stdout] --> src/creature.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | scores: AbilityScores, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `align` [INFO] [stdout] --> src/creature.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | align: Alignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dmgmods` [INFO] [stdout] --> src/creature.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | dmgmods: damage::Modifiers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/creature.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | id: CID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creature` [INFO] [stdout] --> src/creature.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | creature: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `loc` [INFO] [stdout] --> src/creature.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | loc: world::space::Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `health` [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | health: Health, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resistance` [INFO] [stdout] --> src/creature/damage.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | resistance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weakness` [INFO] [stdout] --> src/creature/damage.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | weakness: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `immunity` [INFO] [stdout] --> src/creature/damage.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | immunity: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/creature/damage.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn test(&self, spec: Spec) -> ModTest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/creature/damage.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn apply(&self, dmg: DamageResult) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bestiary` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bestiary: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creatures` [INFO] [stdout] --> src/world.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | creatures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `initiative` [INFO] [stdout] --> src/world.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | initiative: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | map: region::Region, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `flags` [INFO] [stdout] --> src/flags.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandState` [INFO] [stdout] --> src/creature/status.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::rng::{RandValue, RandState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/creature/damage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/world.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use util::grid::{self, region}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/world.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::creature::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/rng.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/creature/status.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn current(&self, world: &mut World) -> Current { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scores` [INFO] [stdout] --> src/creature.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | scores: AbilityScores, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `align` [INFO] [stdout] --> src/creature.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | align: Alignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dmgmods` [INFO] [stdout] --> src/creature.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | dmgmods: damage::Modifiers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/creature.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | id: CID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creature` [INFO] [stdout] --> src/creature.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | creature: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `loc` [INFO] [stdout] --> src/creature.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | loc: world::space::Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `health` [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | health: Health, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resistance` [INFO] [stdout] --> src/creature/damage.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | resistance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weakness` [INFO] [stdout] --> src/creature/damage.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | weakness: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `immunity` [INFO] [stdout] --> src/creature/damage.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | immunity: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModTest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/creature/damage.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug,Clone,Copy,Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/creature/damage.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn test(&self, spec: Spec) -> ModTest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/creature/damage.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn apply(&self, dmg: DamageResult) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bestiary` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bestiary: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creatures` [INFO] [stdout] --> src/world.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | creatures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `initiative` [INFO] [stdout] --> src/world.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | initiative: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | map: region::Region, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dragonfight-da643e103aaea265) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dragonfight-65a51bd534d70818) [INFO] running `Command { std: "docker" "inspect" "7ab9a37ad1e868204de8979645073441d22e418f79cc3b2fcb349a32ab458e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab9a37ad1e868204de8979645073441d22e418f79cc3b2fcb349a32ab458e07", kill_on_drop: false }` [INFO] [stdout] 7ab9a37ad1e868204de8979645073441d22e418f79cc3b2fcb349a32ab458e07