[INFO] cloning repository https://github.com/kngwyu/rogue-ai-2nd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kngwyu/rogue-ai-2nd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a9d6897b14489f68f7c6b35798ce5c1b04c1f0a [INFO] checking kngwyu/rogue-ai-2nd against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kngwyu/rogue-ai-2nd on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kngwyu/rogue-ai-2nd [INFO] finished tweaking git repo https://github.com/kngwyu/rogue-ai-2nd [INFO] tweaked toml for git repo https://github.com/kngwyu/rogue-ai-2nd written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kngwyu/rogue-ai-2nd 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sloggers v0.2.6 [INFO] [stderr] Downloaded slog-term v2.3.0 [INFO] [stderr] Downloaded take_mut v0.2.0 [INFO] [stderr] Downloaded slog v2.1.1 [INFO] [stderr] Downloaded slog-async v2.2.0 [INFO] [stderr] Downloaded slog-scope v4.0.1 [INFO] [stderr] Downloaded atty v0.2.4 [INFO] [stderr] Downloaded trackable v0.2.8 [INFO] [stderr] Downloaded if_chain v0.1.2 [INFO] [stderr] Downloaded assert_approx_eq v1.0.0 [INFO] [stderr] Downloaded utf8parse v0.1.0 [INFO] [stderr] Downloaded vte v0.3.2 [INFO] [stderr] Downloaded ascii v0.8.6 [INFO] [stderr] Downloaded serde_derive_internals v0.18.0 [INFO] [stderr] Downloaded serde_json v1.0.8 [INFO] [stderr] Downloaded serde_derive v1.0.24 [INFO] [stderr] Downloaded serde v1.0.24 [INFO] [stderr] Downloaded clap v2.29.0 [INFO] [stderr] Downloaded regex v0.2.3 [INFO] [stderr] Downloaded clippy_lints v0.0.176 [INFO] [stderr] Downloaded clippy v0.0.176 [INFO] [stderr] Downloaded num_alias v0.1.7 [INFO] [stderr] Downloaded slog-stdlog v3.0.2 [INFO] [stderr] Downloaded curses-game-wrapper v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29149a217422529636c5df301ed05b1f31f42472878a61db85328de92d630496 [INFO] running `Command { std: "docker" "start" "-a" "29149a217422529636c5df301ed05b1f31f42472878a61db85328de92d630496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29149a217422529636c5df301ed05b1f31f42472878a61db85328de92d630496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29149a217422529636c5df301ed05b1f31f42472878a61db85328de92d630496", kill_on_drop: false }` [INFO] [stdout] 29149a217422529636c5df301ed05b1f31f42472878a61db85328de92d630496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 822ad1a8eff15324a8c5371d59c46b2882bf9a037c625cc8bd72b26d93e5582c [INFO] running `Command { std: "docker" "start" "-a" "822ad1a8eff15324a8c5371d59c46b2882bf9a037c625cc8bd72b26d93e5582c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking slog v2.1.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking take_mut v0.2.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking slog-async v2.2.0 [INFO] [stderr] Checking slog-scope v4.0.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking utf8parse v0.1.0 [INFO] [stderr] Checking slog-stdlog v3.0.2 [INFO] [stderr] Checking serde v1.0.24 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking isatty v0.1.6 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking vte v0.3.2 [INFO] [stderr] Checking atty v0.2.4 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ascii v0.8.6 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking trackable v0.2.8 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking assert_approx_eq v1.0.0 [INFO] [stderr] Checking num_alias v0.1.7 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Checking slog-term v2.3.0 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Checking sloggers v0.2.6 [INFO] [stderr] Checking curses-game-wrapper v0.0.4 [INFO] [stderr] Checking rogue-ai-2nd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/agent.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/testutils.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/testutils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dangeon::Dangeon` [INFO] [stdout] --> src/testutils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dangeon::Dangeon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::*` [INFO] [stdout] --> src/testutils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/agent.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | / lazy_static!{ [INFO] [stdout] 480 | | static ref ENEMIES: [EnemyStatus; 26] =[ [INFO] [stdout] 481 | | EnemyStatus { // Aquator [INFO] [stdout] 482 | | treasure: 0, [INFO] [stdout] ... | [INFO] [stdout] 689 | | ]; [INFO] [stdout] 690 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | / lazy_static!{ [INFO] [stdout] 480 | | static ref ENEMIES: [EnemyStatus; 26] =[ [INFO] [stdout] 481 | | EnemyStatus { // Aquator [INFO] [stdout] 482 | | treasure: 0, [INFO] [stdout] ... | [INFO] [stdout] 689 | | ]; [INFO] [stdout] 690 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drink_msgs` [INFO] [stdout] --> src/parse.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let drink_msgs = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drink_msgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_msgs` [INFO] [stdout] --> src/parse.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let scroll_msgs = vec!["Your armor is covered by a shimmering gold shield"]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trap_msgs` [INFO] [stdout] --> src/parse.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let trap_msgs = vec!["A small dart whizzes by your ear and vanishes"]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trap_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 116 | Move(Direc), [INFO] [stdout] 117 | Fight(Direc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Throw((Direc, u8)), [INFO] [stdout] 119 | UpStair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | DownStair, [INFO] [stdout] 121 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | QuaffPotion(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | ReadScroll(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | EatFood(u8), [INFO] [stdout] 125 | WieldWeapon(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | WearArmor(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | TakeArmorOff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | PutOnRing(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | RemoveRing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | DropObject(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | SaveGame, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | Search, [INFO] [stdout] 133 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `near_enemy` is never used [INFO] [stdout] --> src/data.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl GameMsg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 261 | pub fn near_enemy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_type` is never used [INFO] [stdout] --> src/data.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl EnemyHist { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn from_type(typ: Enemy) -> EnemyHist { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/agent.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl EnemyList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn get(&self, cd: Coord) -> Option<&EnemyHist> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `armor_id`, `rring_id`, and `lring_id` are never read [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Equipment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | weapon_id: Option, [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rect_iter` is never used [INFO] [stdout] --> src/dangeon.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Dangeon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn rect_iter(&self, rect: Rect) -> RectIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 646 | impl SimpleMap { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_val` is never used [INFO] [stdout] --> src/damage.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait DiceDamage { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn max_val(self) -> DamageVal; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 116 | Move(Direc), [INFO] [stdout] 117 | Fight(Direc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Throw((Direc, u8)), [INFO] [stdout] 119 | UpStair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | DownStair, [INFO] [stdout] 121 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | QuaffPotion(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | ReadScroll(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | EatFood(u8), [INFO] [stdout] 125 | WieldWeapon(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | WearArmor(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | TakeArmorOff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | PutOnRing(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | RemoveRing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | DropObject(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | SaveGame, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | Search, [INFO] [stdout] 133 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `near_enemy` is never used [INFO] [stdout] --> src/data.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl GameMsg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 261 | pub fn near_enemy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/agent.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl EnemyList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn get(&self, cd: Coord) -> Option<&EnemyHist> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `armor_id`, `rring_id`, and `lring_id` are never read [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Equipment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | weapon_id: Option, [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 646 | impl SimpleMap { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_val` is never used [INFO] [stdout] --> src/damage.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait DiceDamage { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn max_val(self) -> DamageVal; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buf_to_str` is never used [INFO] [stdout] --> src/testutils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn buf_to_str(buf: &Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "822ad1a8eff15324a8c5371d59c46b2882bf9a037c625cc8bd72b26d93e5582c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822ad1a8eff15324a8c5371d59c46b2882bf9a037c625cc8bd72b26d93e5582c", kill_on_drop: false }` [INFO] [stdout] 822ad1a8eff15324a8c5371d59c46b2882bf9a037c625cc8bd72b26d93e5582c [INFO] checking kngwyu/rogue-ai-2nd against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kngwyu/rogue-ai-2nd on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kngwyu/rogue-ai-2nd [INFO] finished tweaking git repo https://github.com/kngwyu/rogue-ai-2nd [INFO] tweaked toml for git repo https://github.com/kngwyu/rogue-ai-2nd written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kngwyu/rogue-ai-2nd 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a1993cf6507d6c8388f0dc7d8a0a6f0956ea9193bb230e3c050eb671fc03b2 [INFO] running `Command { std: "docker" "start" "-a" "72a1993cf6507d6c8388f0dc7d8a0a6f0956ea9193bb230e3c050eb671fc03b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a1993cf6507d6c8388f0dc7d8a0a6f0956ea9193bb230e3c050eb671fc03b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a1993cf6507d6c8388f0dc7d8a0a6f0956ea9193bb230e3c050eb671fc03b2", kill_on_drop: false }` [INFO] [stdout] 72a1993cf6507d6c8388f0dc7d8a0a6f0956ea9193bb230e3c050eb671fc03b2 [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 -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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bcdf43d52d6f44b392b20844c28c959947ff30cb8b89ff76ae6a12eb2b6dca4 [INFO] running `Command { std: "docker" "start" "-a" "1bcdf43d52d6f44b392b20844c28c959947ff30cb8b89ff76ae6a12eb2b6dca4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking slog v2.1.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking take_mut v0.2.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking slog-async v2.2.0 [INFO] [stderr] Checking slog-scope v4.0.1 [INFO] [stderr] Checking utf8parse v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking serde v1.0.24 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking isatty v0.1.6 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking slog-stdlog v3.0.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking vte v0.3.2 [INFO] [stderr] Checking atty v0.2.4 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking ascii v0.8.6 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking trackable v0.2.8 [INFO] [stderr] Checking num_alias v0.1.7 [INFO] [stderr] Checking assert_approx_eq v1.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Checking slog-term v2.3.0 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Checking sloggers v0.2.6 [INFO] [stderr] Checking curses-game-wrapper v0.0.4 [INFO] [stderr] Checking rogue-ai-2nd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/agent.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/testutils.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/testutils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dangeon::Dangeon` [INFO] [stdout] --> src/testutils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dangeon::Dangeon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::*` [INFO] [stdout] --> src/testutils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / bitflags! { [INFO] [stdout] 434 | | pub struct EnemyAttr: u16 { [INFO] [stdout] 435 | | const MEAN = 0b0000000001; [INFO] [stdout] 436 | | const FLYING = 0b0000000010; [INFO] [stdout] ... | [INFO] [stdout] 446 | | } [INFO] [stdout] 447 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / bitflags! { [INFO] [stdout] 763 | | pub struct WeaponAttr: u8 { [INFO] [stdout] 764 | | const NONE = 0b000; [INFO] [stdout] 765 | | const MANY = 0b001; [INFO] [stdout] 766 | | const MISL = 0b010; [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/agent.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dangeon.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / bitflags! { [INFO] [stdout] 11 | | pub struct ExplAttr: u16 { [INFO] [stdout] 12 | | const NONE = 0; [INFO] [stdout] 13 | | const VISITED = 0b000000001; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | / lazy_static!{ [INFO] [stdout] 480 | | static ref ENEMIES: [EnemyStatus; 26] =[ [INFO] [stdout] 481 | | EnemyStatus { // Aquator [INFO] [stdout] 482 | | treasure: 0, [INFO] [stdout] ... | [INFO] [stdout] 689 | | ]; [INFO] [stdout] 690 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / lazy_static! { [INFO] [stdout] 143 | | static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte(); [INFO] [stdout] 144 | | static ref SPACE: u8 = AsciiChar::Space.as_byte(); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | / lazy_static!{ [INFO] [stdout] 480 | | static ref ENEMIES: [EnemyStatus; 26] =[ [INFO] [stdout] 481 | | EnemyStatus { // Aquator [INFO] [stdout] 482 | | treasure: 0, [INFO] [stdout] ... | [INFO] [stdout] 689 | | ]; [INFO] [stdout] 690 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/consts.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static!{ [INFO] [stdout] 9 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 10 | | clap_app!(rogue_ai_2nd => [INFO] [stdout] 11 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 41 | | }.ok().unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drink_msgs` [INFO] [stdout] --> src/parse.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let drink_msgs = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drink_msgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_msgs` [INFO] [stdout] --> src/parse.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let scroll_msgs = vec!["Your armor is covered by a shimmering gold shield"]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trap_msgs` [INFO] [stdout] --> src/parse.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let trap_msgs = vec!["A small dart whizzes by your ear and vanishes"]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trap_msgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 116 | Move(Direc), [INFO] [stdout] 117 | Fight(Direc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Throw((Direc, u8)), [INFO] [stdout] 119 | UpStair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | DownStair, [INFO] [stdout] 121 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | QuaffPotion(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | ReadScroll(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | EatFood(u8), [INFO] [stdout] 125 | WieldWeapon(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | WearArmor(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | TakeArmorOff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | PutOnRing(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | RemoveRing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | DropObject(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | SaveGame, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | Search, [INFO] [stdout] 133 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `near_enemy` is never used [INFO] [stdout] --> src/data.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl GameMsg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 261 | pub fn near_enemy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_type` is never used [INFO] [stdout] --> src/data.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl EnemyHist { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn from_type(typ: Enemy) -> EnemyHist { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/agent.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl EnemyList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn get(&self, cd: Coord) -> Option<&EnemyHist> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `armor_id`, `rring_id`, and `lring_id` are never read [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Equipment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | weapon_id: Option, [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rect_iter` is never used [INFO] [stdout] --> src/dangeon.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Dangeon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn rect_iter(&self, rect: Rect) -> RectIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 646 | impl SimpleMap { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_val` is never used [INFO] [stdout] --> src/damage.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait DiceDamage { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn max_val(self) -> DamageVal; [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/damage.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | fn expect_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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/damage.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/damage.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | fn min_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/damage.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | fn max_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue-ai-2nd` (bin "rogue-ai-2nd") due to 5 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 116 | Move(Direc), [INFO] [stdout] 117 | Fight(Direc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Throw((Direc, u8)), [INFO] [stdout] 119 | UpStair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | DownStair, [INFO] [stdout] 121 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | QuaffPotion(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | ReadScroll(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | EatFood(u8), [INFO] [stdout] 125 | WieldWeapon(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | WearArmor(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | TakeArmorOff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | PutOnRing(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | RemoveRing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | DropObject(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | SaveGame, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | Search, [INFO] [stdout] 133 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `near_enemy` is never used [INFO] [stdout] --> src/data.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl GameMsg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 261 | pub fn near_enemy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/agent.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl EnemyList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn get(&self, cd: Coord) -> Option<&EnemyHist> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `armor_id`, `rring_id`, and `lring_id` are never read [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Equipment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | weapon_id: Option, [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 646 | impl SimpleMap { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_val` is never used [INFO] [stdout] --> src/damage.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait DiceDamage { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn max_val(self) -> DamageVal; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buf_to_str` is never used [INFO] [stdout] --> src/testutils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn buf_to_str(buf: &Vec>) -> String { [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/damage.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | fn expect_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [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/damage.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/damage.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | fn min_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/damage.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | fn max_val(self) -> DamageVal { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | self.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue-ai-2nd` (bin "rogue-ai-2nd" test) due to 5 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1bcdf43d52d6f44b392b20844c28c959947ff30cb8b89ff76ae6a12eb2b6dca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bcdf43d52d6f44b392b20844c28c959947ff30cb8b89ff76ae6a12eb2b6dca4", kill_on_drop: false }` [INFO] [stdout] 1bcdf43d52d6f44b392b20844c28c959947ff30cb8b89ff76ae6a12eb2b6dca4