[INFO] cloning repository https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanjent/ruby-the-ms.-hackman-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c1c98050ede3daf2a850ab0b0ccc218ecd51210 [INFO] checking nathanjent/ruby-the-ms.-hackman-bot against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] finished tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] tweaked toml for git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-file-unix v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d37e57e5f02744851c3e843e9f9581495898f9f07fdc9dccabb305a58f8ba783 [INFO] running `Command { std: "docker" "start" "-a" "d37e57e5f02744851c3e843e9f9581495898f9f07fdc9dccabb305a58f8ba783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d37e57e5f02744851c3e843e9f9581495898f9f07fdc9dccabb305a58f8ba783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37e57e5f02744851c3e843e9f9581495898f9f07fdc9dccabb305a58f8ba783", kill_on_drop: false }` [INFO] [stdout] d37e57e5f02744851c3e843e9f9581495898f9f07fdc9dccabb305a58f8ba783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32c3cfc39b709b7e5419978aea62aa77aecba451da93ae896529510b37b43aed [INFO] running `Command { std: "docker" "start" "-a" "32c3cfc39b709b7e5419978aea62aa77aecba451da93ae896529510b37b43aed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking ruby_the_ms_hack_man_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(external)] extern crate futures; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(external)] extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(external)] extern crate tokio_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(external)] extern crate tokio_file_unix; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(external)] use futures::Stream; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(external)] use tokio_io::io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(external)] use tokio_file_unix::{File, StdFile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(external)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(external)] extern crate futures; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(external)] extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(external)] extern crate tokio_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(external)] extern crate tokio_file_unix; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(external)] use futures::Stream; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(external)] use tokio_io::io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(external)] use tokio_file_unix::{File, StdFile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(external)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write`, and `self as stdio` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self as stdio, BufRead, Write}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bot::BotState` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use bot::BotState; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use handler::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_cells` [INFO] [stdout] --> src/field.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let expected_cells = vec![CellItem::Empty, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_cells` [INFO] [stdout] --> src/field.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let actual_cells = parse_field(field_str); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_name` is never read [INFO] [stdout] --> src/bot.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub opponent_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(Option), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Gate(GateDirection), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Gate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/field.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 50 | pub x: usize, [INFO] [stdout] 51 | pub y: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `character` are never read [INFO] [stdout] --> src/player.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub character: CharacterType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `character_type` is never used [INFO] [stdout] --> src/player.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bixiette` is never constructed [INFO] [stdout] --> src/player.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 33 | Bixie, [INFO] [stdout] 34 | Bixiette, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to` is never used [INFO] [stdout] --> src/simple_matrix.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotState` is never constructed [INFO] [stdout] --> src/bot.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BotState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/bot.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bot.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BotState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnintentionalBreak` and `PlayerNotFound` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UnintentionalBreak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | PlayerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Player(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Player(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(Option), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Gate(GateDirection), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Gate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | Enemy(AiType), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | Enemy(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Bomb(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | Bomb(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/field.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_point`, `update_field`, `set_width`, and `set_height` are never used [INFO] [stdout] --> src/field.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_point(&self, index: usize) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn update_field(&mut self, field: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_message` is never used [INFO] [stdout] --> src/handler.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn handle_message(line: String, bot: &BotState) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/handler.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Settings(Setting), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Settings(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Update(Update), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Update(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Action(Action), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Action(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | TimeBank(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | TimeBank(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | TimePerMove(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | TimePerMove(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | PlayerNames(Vec), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | PlayerNames(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | YourBot(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | YourBot(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | YourBotId(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | YourBotId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | FieldWidth(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | FieldWidth(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | FieldHeight(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | FieldHeight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | MaxRounds(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | MaxRounds(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | GameRound(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | GameRound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | GameField(Vec), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | GameField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | PlayerSnippets(String, i32), [INFO] [stdout] | -------------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 | PlayerSnippets((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | PlayerBombs(String, i32), [INFO] [stdout] | ----------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PlayerBombs((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_respond` is never read [INFO] [stdout] --> src/message.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Character { time_to_respond: i32 }, [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_respond` is never read [INFO] [stdout] --> src/message.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Move { time_to_respond: i32 }, [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `character_type` are never used [INFO] [stdout] --> src/player.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharacterType` is never used [INFO] [stdout] --> src/player.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, `Right`, and `Pass` are never constructed [INFO] [stdout] --> src/player.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 47 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Pass, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reset_to` are never used [INFO] [stdout] --> src/simple_matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/field.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/simple_matrix.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "32c3cfc39b709b7e5419978aea62aa77aecba451da93ae896529510b37b43aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c3cfc39b709b7e5419978aea62aa77aecba451da93ae896529510b37b43aed", kill_on_drop: false }` [INFO] [stdout] 32c3cfc39b709b7e5419978aea62aa77aecba451da93ae896529510b37b43aed [INFO] checking nathanjent/ruby-the-ms.-hackman-bot against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] finished tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] tweaked toml for git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 525d86e1831bb19824e385e7ee26b5e399517c7265a29e1ce8bdf69607ea87c0 [INFO] running `Command { std: "docker" "start" "-a" "525d86e1831bb19824e385e7ee26b5e399517c7265a29e1ce8bdf69607ea87c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "525d86e1831bb19824e385e7ee26b5e399517c7265a29e1ce8bdf69607ea87c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525d86e1831bb19824e385e7ee26b5e399517c7265a29e1ce8bdf69607ea87c0", kill_on_drop: false }` [INFO] [stdout] 525d86e1831bb19824e385e7ee26b5e399517c7265a29e1ce8bdf69607ea87c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f9682fbc919600811afe5208ce73205b6f171fc8624dc4c012ca3c5ce98d184 [INFO] running `Command { std: "docker" "start" "-a" "9f9682fbc919600811afe5208ce73205b6f171fc8624dc4c012ca3c5ce98d184", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking ruby_the_ms_hack_man_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(external)] extern crate futures; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(external)] extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(external)] extern crate tokio_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(external)] extern crate tokio_file_unix; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(external)] use futures::Stream; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(external)] use tokio_io::io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(external)] use tokio_file_unix::{File, StdFile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(external)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(external)] extern crate futures; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(external)] extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(external)] extern crate tokio_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(external)] extern crate tokio_file_unix; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(external)] use futures::Stream; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(external)] use tokio_io::io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(external)] use tokio_file_unix::{File, StdFile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `external` [INFO] [stdout] --> src/main.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(external)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(external)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(external)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write`, and `self as stdio` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self as stdio, BufRead, Write}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bot::BotState` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use bot::BotState; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use handler::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_cells` [INFO] [stdout] --> src/field.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let expected_cells = vec![CellItem::Empty, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_cells` [INFO] [stdout] --> src/field.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let actual_cells = parse_field(field_str); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_name` is never read [INFO] [stdout] --> src/bot.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub opponent_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(Option), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Gate(GateDirection), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Gate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/field.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 50 | pub x: usize, [INFO] [stdout] 51 | pub y: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `character` are never read [INFO] [stdout] --> src/player.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub character: CharacterType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `character_type` is never used [INFO] [stdout] --> src/player.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bixiette` is never constructed [INFO] [stdout] --> src/player.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 33 | Bixie, [INFO] [stdout] 34 | Bixiette, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotState` is never constructed [INFO] [stdout] --> src/bot.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BotState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to` is never used [INFO] [stdout] --> src/simple_matrix.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/bot.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bot.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BotState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnintentionalBreak` and `PlayerNotFound` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UnintentionalBreak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | PlayerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut writer = stdout.lock(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut err = stderr.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Err(Error::UnintentionalBreak) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Player(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Player(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(Option), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Gate(GateDirection), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Gate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | Enemy(AiType), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | Enemy(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/field.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Bomb(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CellItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | Bomb(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/field.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_point`, `update_field`, `set_width`, and `set_height` are never used [INFO] [stdout] --> src/field.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_point(&self, index: usize) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn update_field(&mut self, field: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_message` is never used [INFO] [stdout] --> src/handler.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn handle_message(line: String, bot: &BotState) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/handler.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Settings(Setting), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Settings(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Update(Update), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Update(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Action(Action), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Action(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | TimeBank(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | TimeBank(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | TimePerMove(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | TimePerMove(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | PlayerNames(Vec), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | PlayerNames(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:99:52 [INFO] [stdout] | [INFO] [stdout] 99 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | YourBot(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | YourBot(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | YourBotId(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | YourBotId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | FieldWidth(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | FieldWidth(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | FieldHeight(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | FieldHeight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | MaxRounds(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Setting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | MaxRounds(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | GameRound(i32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | GameRound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | GameField(Vec), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | GameField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | PlayerSnippets(String, i32), [INFO] [stdout] | -------------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 | PlayerSnippets((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | PlayerBombs(String, i32), [INFO] [stdout] | ----------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PlayerBombs((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_respond` is never read [INFO] [stdout] --> src/message.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Character { time_to_respond: i32 }, [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_respond` is never read [INFO] [stdout] --> src/message.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Move { time_to_respond: i32 }, [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `character_type` are never used [INFO] [stdout] --> src/player.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharacterType` is never used [INFO] [stdout] --> src/player.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, `Right`, and `Pass` are never constructed [INFO] [stdout] --> src/player.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 47 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Pass, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reset_to` are never used [INFO] [stdout] --> src/simple_matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/field.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:99:52 [INFO] [stdout] | [INFO] [stdout] 99 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | .map_err(|e| Error::ParseError(NumberFormat(Box::new(e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/simple_matrix.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby_the_ms_hack_man_bot` (bin "ruby_the_ms_hack_man_bot") due to 13 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ruby_the_ms_hack_man_bot` (bin "ruby_the_ms_hack_man_bot" test) due to 12 previous errors; 66 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f9682fbc919600811afe5208ce73205b6f171fc8624dc4c012ca3c5ce98d184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9682fbc919600811afe5208ce73205b6f171fc8624dc4c012ca3c5ce98d184", kill_on_drop: false }` [INFO] [stdout] 9f9682fbc919600811afe5208ce73205b6f171fc8624dc4c012ca3c5ce98d184