[INFO] cloning repository https://github.com/dannylucas123/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dannylucas123/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannylucas123%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannylucas123%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d36fc64fb8f80264ed6623f3f8ec74ba8d96f14 [INFO] building dannylucas123/rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannylucas123%2Frust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dannylucas123/rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dannylucas123/rust [INFO] finished tweaking git repo https://github.com/dannylucas123/rust [INFO] tweaked toml for git repo https://github.com/dannylucas123/rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dannylucas123/rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7bfd461f0d21ffa7b19f8b55a05c1e4a9c83e0cf8af8f37c4dcebafb9d5ab80 [INFO] running `Command { std: "docker" "start" "-a" "b7bfd461f0d21ffa7b19f8b55a05c1e4a9c83e0cf8af8f37c4dcebafb9d5ab80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7bfd461f0d21ffa7b19f8b55a05c1e4a9c83e0cf8af8f37c4dcebafb9d5ab80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bfd461f0d21ffa7b19f8b55a05c1e4a9c83e0cf8af8f37c4dcebafb9d5ab80", kill_on_drop: false }` [INFO] [stdout] b7bfd461f0d21ffa7b19f8b55a05c1e4a9c83e0cf8af8f37c4dcebafb9d5ab80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec85e3666df5f673ffe7fd7bab665d3835d7689b966ac21e3d6211cf50ee112 [INFO] running `Command { std: "docker" "start" "-a" "dec85e3666df5f673ffe7fd7bab665d3835d7689b966ac21e3d6211cf50ee112", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling items v0.1.0 (/opt/rustwide/workdir/items) [INFO] [stderr] Compiling inventory v0.1.0 (/opt/rustwide/workdir/inventory) [INFO] [stderr] Compiling player v0.1.0 (/opt/rustwide/workdir/player) [INFO] [stdout] warning: fields `defense` and `inventory` are never read [INFO] [stdout] --> player/src/player.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | defense: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | gear: Gear, [INFO] [stdout] 11 | inventory: Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling generation v0.1.0 (/opt/rustwide/workdir/generation) [INFO] [stdout] warning: unused variable: `current_wall_block` [INFO] [stdout] --> generation/src/layout.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_wall_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> generation/src/layout.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::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: unused variable: `first_block` [INFO] [stdout] --> generation/src/layout.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let first_block = cells[0]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_data` [INFO] [stdout] --> generation/src/layout.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MetaData` is more private than the item `map::Map::meta_data` [INFO] [stdout] --> generation/src/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub meta_data: MetaData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `map::Map::meta_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MetaData` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/metadata.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `layout::Layout` is more private than the item `map::Map::layout` [INFO] [stdout] --> generation/src/map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `map::Map::layout` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `layout::Layout` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/layout.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fill_liquid` is never used [INFO] [stdout] --> generation/src/layout.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wall_block_type`, `max_liquid_blocks`, `max_wall_blocks`, `current_wall_blocks`, `entrance_cell`, and `exit_cell` are never read [INFO] [stdout] --> generation/src/metadata.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub(super) liquid_block_type: Option, [INFO] [stdout] 6 | pub(super) wall_block_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub(super) max_liquid_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub(super) max_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub(super) current_liquid_blocks: u8, [INFO] [stdout] 10 | pub(super) current_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub(super) entrance_cell: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub(super) exit_cell: Cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_current_liquid_blocks` and `set_current_wall_blocks` are never used [INFO] [stdout] --> generation/src/metadata.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl MetaData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) fn set_current_liquid_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(super) fn set_current_wall_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binary v0.1.0 (/opt/rustwide/workdir/binary) [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> binary/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `stdout` that must be used [INFO] [stdout] --> binary/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | std::io::stdout(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = std::io::stdout(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "dec85e3666df5f673ffe7fd7bab665d3835d7689b966ac21e3d6211cf50ee112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec85e3666df5f673ffe7fd7bab665d3835d7689b966ac21e3d6211cf50ee112", kill_on_drop: false }` [INFO] [stdout] dec85e3666df5f673ffe7fd7bab665d3835d7689b966ac21e3d6211cf50ee112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 902eb56d7830c29c763e4d290606cbe390aa548e1cbd0e086ca9f77b2dfd9870 [INFO] running `Command { std: "docker" "start" "-a" "902eb56d7830c29c763e4d290606cbe390aa548e1cbd0e086ca9f77b2dfd9870", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling items v0.1.0 (/opt/rustwide/workdir/items) [INFO] [stderr] Compiling inventory v0.1.0 (/opt/rustwide/workdir/inventory) [INFO] [stderr] Compiling player v0.1.0 (/opt/rustwide/workdir/player) [INFO] [stdout] warning: fields `defense` and `inventory` are never read [INFO] [stdout] --> player/src/player.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | defense: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | gear: Gear, [INFO] [stdout] 11 | inventory: Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_wall_block` [INFO] [stdout] --> generation/src/layout.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_wall_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> generation/src/layout.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::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: unused variable: `first_block` [INFO] [stdout] --> generation/src/layout.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let first_block = cells[0]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_data` [INFO] [stdout] --> generation/src/layout.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MetaData` is more private than the item `map::Map::meta_data` [INFO] [stdout] --> generation/src/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub meta_data: MetaData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `map::Map::meta_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MetaData` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/metadata.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling generation v0.1.0 (/opt/rustwide/workdir/generation) [INFO] [stdout] warning: type `layout::Layout` is more private than the item `map::Map::layout` [INFO] [stdout] --> generation/src/map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `map::Map::layout` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `layout::Layout` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/layout.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binary v0.1.0 (/opt/rustwide/workdir/binary) [INFO] [stdout] warning: method `fill_liquid` is never used [INFO] [stdout] --> generation/src/layout.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wall_block_type`, `max_liquid_blocks`, `max_wall_blocks`, `current_wall_blocks`, `entrance_cell`, and `exit_cell` are never read [INFO] [stdout] --> generation/src/metadata.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub(super) liquid_block_type: Option, [INFO] [stdout] 6 | pub(super) wall_block_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub(super) max_liquid_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub(super) max_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub(super) current_liquid_blocks: u8, [INFO] [stdout] 10 | pub(super) current_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub(super) entrance_cell: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub(super) exit_cell: Cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_current_liquid_blocks` and `set_current_wall_blocks` are never used [INFO] [stdout] --> generation/src/metadata.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl MetaData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) fn set_current_liquid_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(super) fn set_current_wall_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> binary/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defense` and `inventory` are never read [INFO] [stdout] --> player/src/player.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | defense: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | gear: Gear, [INFO] [stdout] 11 | inventory: Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_wall_block` [INFO] [stdout] --> generation/src/layout.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_wall_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> generation/src/layout.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut current_wall_block: Vec = Vec::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: unused variable: `first_block` [INFO] [stdout] --> generation/src/layout.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let first_block = cells[0]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_data` [INFO] [stdout] --> generation/src/layout.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MetaData` is more private than the item `map::Map::meta_data` [INFO] [stdout] --> generation/src/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub meta_data: MetaData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `map::Map::meta_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MetaData` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/metadata.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `layout::Layout` is more private than the item `map::Map::layout` [INFO] [stdout] --> generation/src/map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `map::Map::layout` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `layout::Layout` is only usable at visibility `pub(crate)` [INFO] [stdout] --> generation/src/layout.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fill_liquid` is never used [INFO] [stdout] --> generation/src/layout.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn fill_liquid(&self, cells: &mut Vec, meta_data: &mut MetaData) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wall_block_type`, `max_liquid_blocks`, `max_wall_blocks`, `current_wall_blocks`, `entrance_cell`, and `exit_cell` are never read [INFO] [stdout] --> generation/src/metadata.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub(super) liquid_block_type: Option, [INFO] [stdout] 6 | pub(super) wall_block_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub(super) max_liquid_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub(super) max_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub(super) current_liquid_blocks: u8, [INFO] [stdout] 10 | pub(super) current_wall_blocks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub(super) entrance_cell: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub(super) exit_cell: Cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_current_liquid_blocks` and `set_current_wall_blocks` are never used [INFO] [stdout] --> generation/src/metadata.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl MetaData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) fn set_current_liquid_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(super) fn set_current_wall_blocks(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `stdout` that must be used [INFO] [stdout] --> binary/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | std::io::stdout(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = std::io::stdout(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "902eb56d7830c29c763e4d290606cbe390aa548e1cbd0e086ca9f77b2dfd9870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902eb56d7830c29c763e4d290606cbe390aa548e1cbd0e086ca9f77b2dfd9870", kill_on_drop: false }` [INFO] [stdout] 902eb56d7830c29c763e4d290606cbe390aa548e1cbd0e086ca9f77b2dfd9870