[INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/description' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor/description': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/voelklmichael/varidor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/varidor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba8691397116cc03e96eb6721db8449ff1bfca68 [INFO] checking voelklmichael/varidor against try#f3dc08d20a1589b87bde75bb82ee6423307f9bde for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Fvaridor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/voelklmichael/varidor on toolchain f3dc08d20a1589b87bde75bb82ee6423307f9bde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/voelklmichael/varidor [INFO] finished tweaking git repo https://github.com/voelklmichael/varidor [INFO] tweaked toml for git repo https://github.com/voelklmichael/varidor written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/voelklmichael/varidor 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" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dda6a67c2b948287014c4ed8427f997cc244d1a556aeec7d1b229c2a34ae8e56 [INFO] running `Command { std: "docker" "start" "-a" "dda6a67c2b948287014c4ed8427f997cc244d1a556aeec7d1b229c2a34ae8e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda6a67c2b948287014c4ed8427f997cc244d1a556aeec7d1b229c2a34ae8e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda6a67c2b948287014c4ed8427f997cc244d1a556aeec7d1b229c2a34ae8e56", kill_on_drop: false }` [INFO] [stdout] dda6a67c2b948287014c4ed8427f997cc244d1a556aeec7d1b229c2a34ae8e56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a579e7c36dcc7f93ce3ec31627a4c3eccc537d276a3985940fccf76edd2aa880 [INFO] running `Command { std: "docker" "start" "-a" "a579e7c36dcc7f93ce3ec31627a4c3eccc537d276a3985940fccf76edd2aa880", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Checking varidor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::square_board3::*` [INFO] [stdout] --> src/board_square/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::square_board3::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board4::*` [INFO] [stdout] --> src/board_square/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::square_board4::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board4::*` [INFO] [stdout] --> src/board_square/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::square_board4::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board5::*` [INFO] [stdout] --> src/board_square/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::square_board5::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board3::*` [INFO] [stdout] --> src/board_square/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::square_board3::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board4::*` [INFO] [stdout] --> src/board_square/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::square_board4::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref DATA: Mutex = Mutex::new(GameData::new()); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board4::*` [INFO] [stdout] --> src/board_square/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::square_board4::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::square_board5::*` [INFO] [stdout] --> src/board_square/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::square_board5::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref DATA: Mutex = Mutex::new(GameData::new()); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board_square/square_board.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut data = board.get_player_data_mut(player); [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: trait `FieldIndexTrait` is never used [INFO] [stdout] --> src/board_square/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait FieldIndexTrait: Clone + Copy + PartialEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_wall_count` is never used [INFO] [stdout] --> src/board_square/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait PlayerDataTrait { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn get_wall_count(&self) -> Self::WallCountType; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotConnected` is never constructed [INFO] [stdout] --> src/board_square/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum WallPlacmentError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | NotConnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FieldsNotAdjacent` is never constructed [INFO] [stdout] --> src/board_square/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum MoveError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | FieldsNotAdjacent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_wall` is never used [INFO] [stdout] --> src/board_square/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait BoardTrait { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn check_for_wall( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_player`, `to_string`, and `get_color_as_string` are never used [INFO] [stdout] --> src/board_square/player.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait PlayerIndexTrait: Clone + Copy + 'static { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn next_player(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn to_string(self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | fn get_color_as_string(self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntegerTrait: Sized { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Usize4` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type Usize4 = UsizeNext; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Usize5` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Usize5 = UsizeNext; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wall_lookup_unsafe` and `croosing_lookup_unsafe` are never used [INFO] [stdout] --> src/board_square/square_board.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 101 | / impl< [INFO] [stdout] 102 | | T: Clone + Copy + PartialEq + Add + One, [INFO] [stdout] 103 | | SizeType, [INFO] [stdout] 104 | | WallDataType: WallPositionTrait, [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | WallCrosingType: WallCrosingTrait, [INFO] [stdout] 107 | | > SquareBoard [INFO] [stdout] | |_________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn wall_lookup_unsafe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn croosing_lookup_unsafe(&self, lower_left_field: FieldIndexSquare) -> WallCrossing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard5` is never used [INFO] [stdout] --> src/board_square/square_board5.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard5 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard4` is never used [INFO] [stdout] --> src/board_square/square_board4.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard4 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board_square/square_board.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut data = board.get_player_data_mut(player); [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: unused return value of `collect` that must be used [INFO] [stdout] --> src/board_square/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / new_visited_fields [INFO] [stdout] 176 | | .iter() [INFO] [stdout] 177 | | .map(|&x| visited_fields.push(x)) [INFO] [stdout] 178 | | .collect::>(); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = new_visited_fields [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/player.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [White, Black].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + [White, Black].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + IntoIterator::into_iter([White, Black]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/square_board.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | [Up, Down, Left, Right].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + [Up, Down, Left, Right].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + IntoIterator::into_iter([Up, Down, Left, Right]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board_square/square_board.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut data = board.get_player_data_mut(player); [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: trait `FieldIndexTrait` is never used [INFO] [stdout] --> src/board_square/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait FieldIndexTrait: Clone + Copy + PartialEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_wall` is never used [INFO] [stdout] --> src/board_square/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait BoardTrait { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn check_for_wall( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntegerTrait: Sized { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard3` is never used [INFO] [stdout] --> src/board_square/square_board3.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard3 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard4` is never used [INFO] [stdout] --> src/board_square/square_board4.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard4 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/board_square/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / new_visited_fields [INFO] [stdout] 176 | | .iter() [INFO] [stdout] 177 | | .map(|&x| visited_fields.push(x)) [INFO] [stdout] 178 | | .collect::>(); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = new_visited_fields [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/player.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [White, Black].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + [White, Black].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + IntoIterator::into_iter([White, Black]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/square_board.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | [Up, Down, Left, Right].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + [Up, Down, Left, Right].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + IntoIterator::into_iter([Up, Down, Left, Right]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FieldIndexTrait` is never used [INFO] [stdout] --> src/board_square/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait FieldIndexTrait: Clone + Copy + PartialEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_wall_count` is never used [INFO] [stdout] --> src/board_square/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait PlayerDataTrait { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn get_wall_count(&self) -> Self::WallCountType; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotConnected` is never constructed [INFO] [stdout] --> src/board_square/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum WallPlacmentError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | NotConnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FieldsNotAdjacent` is never constructed [INFO] [stdout] --> src/board_square/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum MoveError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | FieldsNotAdjacent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_wall` is never used [INFO] [stdout] --> src/board_square/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait BoardTrait { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn check_for_wall( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_player`, `to_string`, and `get_color_as_string` are never used [INFO] [stdout] --> src/board_square/player.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait PlayerIndexTrait: Clone + Copy + 'static { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn next_player(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn to_string(self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | fn get_color_as_string(self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntegerTrait: Sized { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Usize4` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type Usize4 = UsizeNext; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Usize5` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Usize5 = UsizeNext; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wall_lookup_unsafe` and `croosing_lookup_unsafe` are never used [INFO] [stdout] --> src/board_square/square_board.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 101 | / impl< [INFO] [stdout] 102 | | T: Clone + Copy + PartialEq + Add + One, [INFO] [stdout] 103 | | SizeType, [INFO] [stdout] 104 | | WallDataType: WallPositionTrait, [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | WallCrosingType: WallCrosingTrait, [INFO] [stdout] 107 | | > SquareBoard [INFO] [stdout] | |_________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn wall_lookup_unsafe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn croosing_lookup_unsafe(&self, lower_left_field: FieldIndexSquare) -> WallCrossing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard5` is never used [INFO] [stdout] --> src/board_square/square_board5.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard5 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard4` is never used [INFO] [stdout] --> src/board_square/square_board4.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard4 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board_square/square_board.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut data = board.get_player_data_mut(player); [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: unused return value of `collect` that must be used [INFO] [stdout] --> src/board_square/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / new_visited_fields [INFO] [stdout] 176 | | .iter() [INFO] [stdout] 177 | | .map(|&x| visited_fields.push(x)) [INFO] [stdout] 178 | | .collect::>(); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = new_visited_fields [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/player.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [White, Black].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + [White, Black].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + IntoIterator::into_iter([White, Black]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/square_board.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | [Up, Down, Left, Right].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + [Up, Down, Left, Right].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + IntoIterator::into_iter([Up, Down, Left, Right]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FieldIndexTrait` is never used [INFO] [stdout] --> src/board_square/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait FieldIndexTrait: Clone + Copy + PartialEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_wall` is never used [INFO] [stdout] --> src/board_square/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait BoardTrait { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn check_for_wall( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board_square/type_level_integers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntegerTrait: Sized { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard3` is never used [INFO] [stdout] --> src/board_square/square_board3.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard3 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SquareBoard4` is never used [INFO] [stdout] --> src/board_square/square_board4.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type SquareBoard4 = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/board_square/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / new_visited_fields [INFO] [stdout] 176 | | .iter() [INFO] [stdout] 177 | | .map(|&x| visited_fields.push(x)) [INFO] [stdout] 178 | | .collect::>(); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = new_visited_fields [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/player.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [White, Black].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + [White, Black].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 21 - [White, Black].into_iter() [INFO] [stdout] 21 + IntoIterator::into_iter([White, Black]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board_square/square_board.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | [Up, Down, Left, Right].into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + [Up, Down, Left, Right].iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 27 - [Up, Down, Left, Right].into_iter() [INFO] [stdout] 27 + IntoIterator::into_iter([Up, Down, Left, Right]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "a579e7c36dcc7f93ce3ec31627a4c3eccc537d276a3985940fccf76edd2aa880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a579e7c36dcc7f93ce3ec31627a4c3eccc537d276a3985940fccf76edd2aa880", kill_on_drop: false }` [INFO] [stdout] a579e7c36dcc7f93ce3ec31627a4c3eccc537d276a3985940fccf76edd2aa880