[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] testing kngwyu/rogue-ai-2nd against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kngwyu/rogue-ai-2nd on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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-5/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a00dd10f9d5074e753f9bc55cc710af6579db06c1e5408fe5b548438e2cd222d
[INFO] running `Command { std: "docker" "start" "-a" "a00dd10f9d5074e753f9bc55cc710af6579db06c1e5408fe5b548438e2cd222d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a00dd10f9d5074e753f9bc55cc710af6579db06c1e5408fe5b548438e2cd222d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a00dd10f9d5074e753f9bc55cc710af6579db06c1e5408fe5b548438e2cd222d", kill_on_drop: false }`
[INFO] [stdout] a00dd10f9d5074e753f9bc55cc710af6579db06c1e5408fe5b548438e2cd222d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c66201d0f74839ef2f3b38d06642a6a6ba111de226026dd711cf57d1951477c
[INFO] running `Command { std: "docker" "start" "-a" "8c66201d0f74839ef2f3b38d06642a6a6ba111de226026dd711cf57d1951477c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.34
[INFO] [stderr]    Compiling num-traits v0.1.41
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling slog v2.1.1
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling crossbeam v0.2.10
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling take_mut v0.2.0
[INFO] [stderr]    Compiling log v0.3.8
[INFO] [stderr]    Compiling term v0.4.6
[INFO] [stderr]    Compiling utf8parse v0.1.0
[INFO] [stderr]    Compiling serde v1.0.24
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.4.1
[INFO] [stderr]    Compiling strsim v0.6.0
[INFO] [stderr]    Compiling ansi_term v0.10.2
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling ascii v0.8.6
[INFO] [stderr]    Compiling num_alias v0.1.7
[INFO] [stderr]    Compiling assert_approx_eq v1.0.0
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling vte v0.3.2
[INFO] [stderr]    Compiling textwrap v0.9.0
[INFO] [stderr]    Compiling slog-scope v4.0.1
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling rand v0.3.18
[INFO] [stderr]    Compiling isatty v0.1.6
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling termion v1.5.1
[INFO] [stderr]    Compiling atty v0.2.4
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling num-integer v0.1.35
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling slog-stdlog v3.0.2
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling clap v2.29.0
[INFO] [stderr]    Compiling slog-async v2.2.0
[INFO] [stderr]    Compiling trackable v0.2.8
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling regex v0.2.3
[INFO] [stderr]    Compiling num v0.1.41
[INFO] [stderr]    Compiling chrono v0.4.0
[INFO] [stderr]    Compiling serde_derive_internals v0.18.0
[INFO] [stderr]    Compiling slog-term v2.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.24
[INFO] [stderr]    Compiling sloggers v0.2.6
[INFO] [stderr]    Compiling curses-game-wrapper v0.0.4
[INFO] [stderr]    Compiling 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` (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` (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` (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` (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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `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 constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info)
[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: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `near_enemy` is never used
[INFO] [stdout]    --> src/data.rs:261:12
[INFO] [stdout]     |
[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] 418 |     pub fn from_type(typ: Enemy) -> EnemyHist {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/agent.rs:33:8
[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<u8>,
[INFO] [stdout] 457 |     armor_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 458 |     rring_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 459 |     lring_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `rect_iter` is never used
[INFO] [stdout]    --> src/dangeon.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn rect_iter(&self, rect: Rect) -> RectIter<Dangeon> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter` is never used
[INFO] [stdout]    --> src/dangeon.rs:652:12
[INFO] [stdout]     |
[INFO] [stdout] 652 |     pub fn iter(&self) -> CoordIter<SimpleMap<T>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter_mut` is never used
[INFO] [stdout]    --> src/dangeon.rs:658:12
[INFO] [stdout]     |
[INFO] [stdout] 658 |     pub fn iter_mut(&mut self) -> CoordIterMut<SimpleMap<T>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.94s
[INFO] running `Command { std: "docker" "inspect" "8c66201d0f74839ef2f3b38d06642a6a6ba111de226026dd711cf57d1951477c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c66201d0f74839ef2f3b38d06642a6a6ba111de226026dd711cf57d1951477c", kill_on_drop: false }`
[INFO] [stdout] 8c66201d0f74839ef2f3b38d06642a6a6ba111de226026dd711cf57d1951477c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2601884a33d40599f1f3037012641e63aea0dc98db7d87d759025e9089372a01
[INFO] running `Command { std: "docker" "start" "-a" "2601884a33d40599f1f3037012641e63aea0dc98db7d87d759025e9089372a01", kill_on_drop: false }`
[INFO] [stderr]    Compiling rogue-ai-2nd v0.0.1 (/opt/rustwide/workdir)
[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` (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` (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` (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` (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` (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` (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` (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` (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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `near_enemy` is never used
[INFO] [stdout]    --> src/data.rs:261:12
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn near_enemy(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/agent.rs:33:8
[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<u8>,
[INFO] [stdout] 457 |     armor_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 458 |     rring_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 459 |     lring_id: Option<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter` is never used
[INFO] [stdout]    --> src/dangeon.rs:652:12
[INFO] [stdout]     |
[INFO] [stdout] 652 |     pub fn iter(&self) -> CoordIter<SimpleMap<T>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter_mut` is never used
[INFO] [stdout]    --> src/dangeon.rs:658:12
[INFO] [stdout]     |
[INFO] [stdout] 658 |     pub fn iter_mut(&mut self) -> CoordIterMut<SimpleMap<T>> {
[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<Vec<u8>>) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.99s
[INFO] running `Command { std: "docker" "inspect" "2601884a33d40599f1f3037012641e63aea0dc98db7d87d759025e9089372a01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2601884a33d40599f1f3037012641e63aea0dc98db7d87d759025e9089372a01", kill_on_drop: false }`
[INFO] [stdout] 2601884a33d40599f1f3037012641e63aea0dc98db7d87d759025e9089372a01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 25df2cbf80bb8c0e4e0ee12a7d068f4c62adcefd5696b6d1169dbe3fdecfc725
[INFO] running `Command { std: "docker" "start" "-a" "25df2cbf80bb8c0e4e0ee12a7d068f4c62adcefd5696b6d1169dbe3fdecfc725", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/data.rs:433:1
[INFO] [stderr]     |
[INFO] [stderr] 433 | / bitflags! {
[INFO] [stderr] 434 | |     pub struct EnemyAttr: u16 {
[INFO] [stderr] 435 | |         const MEAN        = 0b0000000001;
[INFO] [stderr] 436 | |         const FLYING      = 0b0000000010;
[INFO] [stderr] ...   |
[INFO] [stderr] 446 | |     }
[INFO] [stderr] 447 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/data.rs:433:1
[INFO] [stderr]     |
[INFO] [stderr] 433 | / bitflags! {
[INFO] [stderr] 434 | |     pub struct EnemyAttr: u16 {
[INFO] [stderr] 435 | |         const MEAN        = 0b0000000001;
[INFO] [stderr] 436 | |         const FLYING      = 0b0000000010;
[INFO] [stderr] ...   |
[INFO] [stderr] 446 | |     }
[INFO] [stderr] 447 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/data.rs:762:1
[INFO] [stderr]     |
[INFO] [stderr] 762 | / bitflags! {
[INFO] [stderr] 763 | |     pub struct WeaponAttr: u8 {
[INFO] [stderr] 764 | |         const NONE = 0b000;
[INFO] [stderr] 765 | |         const MANY = 0b001;
[INFO] [stderr] 766 | |         const MISL = 0b010;
[INFO] [stderr] 767 | |     }
[INFO] [stderr] 768 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]   --> src/agent.rs:92:18
[INFO] [stderr]    |
[INFO] [stderr] 92 |                 };
[INFO] [stderr]    |                  ^ help: remove this semicolon
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/dangeon.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / bitflags! {
[INFO] [stderr] 11 | |     pub struct ExplAttr: u16 {
[INFO] [stderr] 12 | |         const NONE = 0;
[INFO] [stderr] 13 | |         const VISITED    = 0b000000001;
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |     }
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/data.rs:142:1
[INFO] [stderr]     |
[INFO] [stderr] 142 | / lazy_static! {
[INFO] [stderr] 143 | |     static ref ENTER: u8 = AsciiChar::CarriageReturn.as_byte();
[INFO] [stderr] 144 | |     static ref SPACE: u8 = AsciiChar::Space.as_byte();
[INFO] [stderr] 145 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/data.rs:479:1
[INFO] [stderr]     |
[INFO] [stderr] 479 | / lazy_static!{
[INFO] [stderr] 480 | |     static ref ENEMIES: [EnemyStatus; 26] =[
[INFO] [stderr] 481 | |         EnemyStatus { // Aquator
[INFO] [stderr] 482 | |             treasure: 0,
[INFO] [stderr] ...   |
[INFO] [stderr] 689 | |     ];
[INFO] [stderr] 690 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> src/consts.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr] 8  | / lazy_static!{
[INFO] [stderr] 9  | |     pub static ref MATCHES: ArgMatches<'static> =
[INFO] [stderr] 10 | |         clap_app!(rogue_ai_2nd =>
[INFO] [stderr] 11 | |                   (version: "0.0.1")
[INFO] [stderr] ...  |
[INFO] [stderr] 41 | |     }.ok().unwrap();
[INFO] [stderr] 42 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `drink_msgs`
[INFO] [stderr]    --> src/parse.rs:311:13
[INFO] [stderr]     |
[INFO] [stderr] 311 |         let drink_msgs = vec![
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drink_msgs`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `scroll_msgs`
[INFO] [stderr]    --> src/parse.rs:314:13
[INFO] [stderr]     |
[INFO] [stderr] 314 |         let scroll_msgs = vec!["Your armor is covered by a shimmering gold shield"];
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_msgs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `trap_msgs`
[INFO] [stderr]    --> src/parse.rs:315:13
[INFO] [stderr]     |
[INFO] [stderr] 315 |         let trap_msgs = vec!["A small dart whizzes by your ear and vanishes"];
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trap_msgs`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]    --> src/data.rs:117:5
[INFO] [stderr]     |
[INFO] [stderr] 115 | pub enum Action {
[INFO] [stderr]     |          ------ variants in this enum
[INFO] [stderr] 116 |     Move(Direc),
[INFO] [stderr] 117 |     Fight(Direc),
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr] 118 |     Throw((Direc, u8)),
[INFO] [stderr] 119 |     UpStair,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 120 |     DownStair,
[INFO] [stderr] 121 |     Rest,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 122 |     QuaffPotion(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 123 |     ReadScroll(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 124 |     EatFood(u8),
[INFO] [stderr] 125 |     WieldWeapon(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 126 |     WearArmor(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 127 |     TakeArmorOff,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr] 128 |     PutOnRing(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 129 |     RemoveRing,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 130 |     DropObject(u8),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 131 |     SaveGame,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 132 |     Search,
[INFO] [stderr] 133 |     Quit,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]     = note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `near_enemy` is never used
[INFO] [stderr]    --> src/data.rs:261:12
[INFO] [stderr]     |
[INFO] [stderr] 261 |     pub fn near_enemy(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get` is never used
[INFO] [stderr]   --> src/agent.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 |     fn get(&self, cd: Coord) -> Option<&EnemyHist> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `armor_id`, `rring_id` and `lring_id` are never read
[INFO] [stderr]    --> src/agent.rs:457:5
[INFO] [stderr]     |
[INFO] [stderr] 455 | struct Equipment {
[INFO] [stderr]     |        --------- fields in this struct
[INFO] [stderr] 456 |     weapon_id: Option<u8>,
[INFO] [stderr] 457 |     armor_id: Option<u8>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 458 |     rring_id: Option<u8>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 459 |     lring_id: Option<u8>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `iter` is never used
[INFO] [stderr]    --> src/dangeon.rs:652:12
[INFO] [stderr]     |
[INFO] [stderr] 652 |     pub fn iter(&self) -> CoordIter<SimpleMap<T>> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `iter_mut` is never used
[INFO] [stderr]    --> src/dangeon.rs:658:12
[INFO] [stderr]     |
[INFO] [stderr] 658 |     pub fn iter_mut(&mut self) -> CoordIterMut<SimpleMap<T>> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `buf_to_str` is never used
[INFO] [stderr]  --> src/testutils.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn buf_to_str(buf: &Vec<Vec<u8>>) -> String {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rogue-ai-2nd` (bin "rogue-ai-2nd" test) generated 26 warnings (8 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rogue_ai_2nd-1bd71ae73b601d4a)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test agent::test::test_comp_action ... ok
[INFO] [stdout] test damage::test::test_hit_rate ... ok
[INFO] [stdout] test dangeon::test::test_rect_iter ... ok
[INFO] [stdout] test damage::test::test_dice ... ok
[INFO] [stdout] test dangeon::test::test_distmap ... ok
[INFO] [stdout] test agent::test::test_enemy_list ... ok
[INFO] [stdout] test parse::test::test_msg ... ok
[INFO] [stdout] test parse::test::test_status ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "25df2cbf80bb8c0e4e0ee12a7d068f4c62adcefd5696b6d1169dbe3fdecfc725", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25df2cbf80bb8c0e4e0ee12a7d068f4c62adcefd5696b6d1169dbe3fdecfc725", kill_on_drop: false }`
[INFO] [stdout] 25df2cbf80bb8c0e4e0ee12a7d068f4c62adcefd5696b6d1169dbe3fdecfc725
