[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Frogue-ai-2nd" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kngwyu/rogue-ai-2nd on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sloggers v0.2.6 [INFO] [stderr] Downloaded slog-scope v4.0.1 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded slog v2.1.1 [INFO] [stderr] Downloaded atty v0.2.4 [INFO] [stderr] Downloaded serde_derive v1.0.24 [INFO] [stderr] Downloaded serde_derive_internals v0.18.0 [INFO] [stderr] Downloaded trackable v0.2.8 [INFO] [stderr] Downloaded slog-term v2.3.0 [INFO] [stderr] Downloaded slog-async v2.2.0 [INFO] [stderr] Downloaded ascii v0.8.6 [INFO] [stderr] Downloaded num_alias v0.1.7 [INFO] [stderr] Downloaded take_mut v0.2.0 [INFO] [stderr] Downloaded slog-stdlog v3.0.2 [INFO] [stderr] Downloaded utf8parse v0.1.0 [INFO] [stderr] Downloaded if_chain v0.1.2 [INFO] [stderr] Downloaded vte v0.3.2 [INFO] [stderr] Downloaded assert_approx_eq v1.0.0 [INFO] [stderr] Downloaded clippy_lints v0.0.176 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded clippy v0.0.176 [INFO] [stderr] Downloaded curses-game-wrapper v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 745cf36c720157a4f06e47dca4e703088af1229a87f7cf641f64d3a11d9882e1 [INFO] running `Command { std: "docker" "start" "-a" "745cf36c720157a4f06e47dca4e703088af1229a87f7cf641f64d3a11d9882e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "745cf36c720157a4f06e47dca4e703088af1229a87f7cf641f64d3a11d9882e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745cf36c720157a4f06e47dca4e703088af1229a87f7cf641f64d3a11d9882e1", kill_on_drop: false }` [INFO] [stdout] 745cf36c720157a4f06e47dca4e703088af1229a87f7cf641f64d3a11d9882e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07160a1f0f486b855ce339cdf3a170895e6b7a7300e1ea80c3654ea428c1ac37 [INFO] running `Command { std: "docker" "start" "-a" "07160a1f0f486b855ce339cdf3a170895e6b7a7300e1ea80c3654ea428c1ac37", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling slog v2.1.1 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling take_mut v0.2.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8parse v0.1.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling serde v1.0.24 [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 ascii v0.8.6 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling num_alias v0.1.7 [INFO] [stderr] Compiling assert_approx_eq v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling vte v0.3.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling isatty v0.1.6 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.4 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling slog-scope v4.0.1 [INFO] [stderr] Compiling slog-async v2.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling slog-stdlog v3.0.2 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling trackable v0.2.8 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Compiling slog-term v2.3.0 [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: variant is never constructed: `Fight` [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | Fight(Direc), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UpStair` [INFO] [stdout] --> src/data.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | UpStair, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rest` [INFO] [stdout] --> src/data.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Rest, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuaffPotion` [INFO] [stdout] --> src/data.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | QuaffPotion(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReadScroll` [INFO] [stdout] --> src/data.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | ReadScroll(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WieldWeapon` [INFO] [stdout] --> src/data.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | WieldWeapon(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WearArmor` [INFO] [stdout] --> src/data.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | WearArmor(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TakeArmorOff` [INFO] [stdout] --> src/data.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | TakeArmorOff, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PutOnRing` [INFO] [stdout] --> src/data.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | PutOnRing(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RemoveRing` [INFO] [stdout] --> src/data.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | RemoveRing, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropObject` [INFO] [stdout] --> src/data.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | DropObject(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SaveGame` [INFO] [stdout] --> src/data.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | SaveGame, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/data.rs:133:5 [INFO] [stdout] | [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `near_enemy` [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 is never used: `from_type` [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 is never used: `get` [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: field is never read: `armor_id` [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rring_id` [INFO] [stdout] --> src/agent.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lring_id` [INFO] [stdout] --> src/agent.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rect_iter` [INFO] [stdout] --> src/dangeon.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn rect_iter(&self, rect: Rect) -> RectIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/dangeon.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.21s [INFO] running `Command { std: "docker" "inspect" "07160a1f0f486b855ce339cdf3a170895e6b7a7300e1ea80c3654ea428c1ac37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07160a1f0f486b855ce339cdf3a170895e6b7a7300e1ea80c3654ea428c1ac37", kill_on_drop: false }` [INFO] [stdout] 07160a1f0f486b855ce339cdf3a170895e6b7a7300e1ea80c3654ea428c1ac37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b5310bb1c66139f2b784a997d79458c95a9f52f74cbb69d659841cfd8e21cb9 [INFO] running `Command { std: "docker" "start" "-a" "6b5310bb1c66139f2b784a997d79458c95a9f52f74cbb69d659841cfd8e21cb9", 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: variant is never constructed: `Fight` [INFO] [stdout] --> src/data.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | Fight(Direc), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UpStair` [INFO] [stdout] --> src/data.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | UpStair, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rest` [INFO] [stdout] --> src/data.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Rest, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QuaffPotion` [INFO] [stdout] --> src/data.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | QuaffPotion(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReadScroll` [INFO] [stdout] --> src/data.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | ReadScroll(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WieldWeapon` [INFO] [stdout] --> src/data.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | WieldWeapon(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WearArmor` [INFO] [stdout] --> src/data.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | WearArmor(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TakeArmorOff` [INFO] [stdout] --> src/data.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | TakeArmorOff, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PutOnRing` [INFO] [stdout] --> src/data.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | PutOnRing(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RemoveRing` [INFO] [stdout] --> src/data.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | RemoveRing, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DropObject` [INFO] [stdout] --> src/data.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | DropObject(u8), [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SaveGame` [INFO] [stdout] --> src/data.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | SaveGame, [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/data.rs:133:5 [INFO] [stdout] | [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] --> src/data.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `near_enemy` [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 is never used: `get` [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: field is never read: `armor_id` [INFO] [stdout] --> src/agent.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | armor_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rring_id` [INFO] [stdout] --> src/agent.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | rring_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lring_id` [INFO] [stdout] --> src/agent.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | lring_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/dangeon.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/dangeon.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `buf_to_str` [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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "6b5310bb1c66139f2b784a997d79458c95a9f52f74cbb69d659841cfd8e21cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5310bb1c66139f2b784a997d79458c95a9f52f74cbb69d659841cfd8e21cb9", kill_on_drop: false }` [INFO] [stdout] 6b5310bb1c66139f2b784a997d79458c95a9f52f74cbb69d659841cfd8e21cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31affababd52fa58c1ebbc71ddaf8411e3d7a92d247a114efbcd7ab9fded7d52 [INFO] running `Command { std: "docker" "start" "-a" "31affababd52fa58c1ebbc71ddaf8411e3d7a92d247a114efbcd7ab9fded7d52", 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: variant is never constructed: `Fight` [INFO] [stderr] --> src/data.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | Fight(Direc), [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] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UpStair` [INFO] [stderr] --> src/data.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | UpStair, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Rest` [INFO] [stderr] --> src/data.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | Rest, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `QuaffPotion` [INFO] [stderr] --> src/data.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | QuaffPotion(u8), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReadScroll` [INFO] [stderr] --> src/data.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | ReadScroll(u8), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WieldWeapon` [INFO] [stderr] --> src/data.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | WieldWeapon(u8), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WearArmor` [INFO] [stderr] --> src/data.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | WearArmor(u8), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TakeArmorOff` [INFO] [stderr] --> src/data.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | TakeArmorOff, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PutOnRing` [INFO] [stderr] --> src/data.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | PutOnRing(u8), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RemoveRing` [INFO] [stderr] --> src/data.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | RemoveRing, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DropObject` [INFO] [stderr] --> src/data.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | DropObject(u8), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SaveGame` [INFO] [stderr] --> src/data.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | SaveGame, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Quit` [INFO] [stderr] --> src/data.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | Quit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/data.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `near_enemy` [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 is never used: `get` [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: field is never read: `armor_id` [INFO] [stderr] --> src/agent.rs:457:5 [INFO] [stderr] | [INFO] [stderr] 457 | armor_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rring_id` [INFO] [stderr] --> src/agent.rs:458:5 [INFO] [stderr] | [INFO] [stderr] 458 | rring_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lring_id` [INFO] [stderr] --> src/agent.rs:459:5 [INFO] [stderr] | [INFO] [stderr] 459 | lring_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iter` [INFO] [stderr] --> src/dangeon.rs:652:12 [INFO] [stderr] | [INFO] [stderr] 652 | pub fn iter(&self) -> CoordIter> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iter_mut` [INFO] [stderr] --> src/dangeon.rs:658:12 [INFO] [stderr] | [INFO] [stderr] 658 | pub fn iter_mut(&mut self) -> CoordIterMut> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `buf_to_str` [INFO] [stderr] --> src/testutils.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn buf_to_str(buf: &Vec>) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rogue-ai-2nd` (bin "rogue-ai-2nd" test) generated 40 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rogue_ai_2nd-c087b55911878e12) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test agent::test::test_comp_action ... ok [INFO] [stdout] test damage::test::test_dice ... ok [INFO] [stdout] test damage::test::test_hit_rate ... ok [INFO] [stdout] test dangeon::test::test_rect_iter ... ok [INFO] [stdout] test agent::test::test_enemy_list ... ok [INFO] [stdout] test dangeon::test::test_distmap ... ok [INFO] [stdout] test parse::test::test_status ... ok [INFO] [stdout] test parse::test::test_msg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31affababd52fa58c1ebbc71ddaf8411e3d7a92d247a114efbcd7ab9fded7d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31affababd52fa58c1ebbc71ddaf8411e3d7a92d247a114efbcd7ab9fded7d52", kill_on_drop: false }` [INFO] [stdout] 31affababd52fa58c1ebbc71ddaf8411e3d7a92d247a114efbcd7ab9fded7d52