[INFO] cloning repository https://github.com/lamenore/mamamia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lamenore/mamamia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamenore%2Fmamamia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamenore%2Fmamamia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79f5aad4be80367f1132bb80e9d42ab8bdc08eab [INFO] building lamenore/mamamia against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamenore%2Fmamamia" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lamenore/mamamia [INFO] finished tweaking git repo https://github.com/lamenore/mamamia [INFO] tweaked toml for git repo https://github.com/lamenore/mamamia written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lamenore/mamamia on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 149 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded imageproc v0.25.0 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75621183f0e69dba3f9203c62d08dd6b50a2da5845434623996ace34c5810fbc [INFO] running `Command { std: "docker" "start" "-a" "75621183f0e69dba3f9203c62d08dd6b50a2da5845434623996ace34c5810fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75621183f0e69dba3f9203c62d08dd6b50a2da5845434623996ace34c5810fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75621183f0e69dba3f9203c62d08dd6b50a2da5845434623996ace34c5810fbc", kill_on_drop: false }` [INFO] [stdout] 75621183f0e69dba3f9203c62d08dd6b50a2da5845434623996ace34c5810fbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0752259e61a42fdbe7befed3da2a690b3826e2a31d265a0da4a14fffbc8ce6a2 [INFO] running `Command { std: "docker" "start" "-a" "0752259e61a42fdbe7befed3da2a690b3826e2a31d265a0da4a14fffbc8ce6a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling mamamia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::error` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::room` [INFO] [stdout] --> src/types/rom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::room; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disjointed_set::DisjointedSet` [INFO] [stdout] --> src/types/room.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | disjointed_set::DisjointedSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use types::room::{self, Room}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_height` [INFO] [stdout] --> src/types/room.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let room_height = room.get_room_height_tiles(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 132 | let _room_height = room.get_room_height_tiles(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TILE_SIZE` [INFO] [stdout] | [INFO] [stdout] 132 - let room_height = room.get_room_height_tiles(); [INFO] [stdout] 132 + let constants::TILE_SIZE = room.get_room_height_tiles(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/types/room.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/room.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_width` [INFO] [stdout] --> src/types/room.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | let room_width = self.get_room_width_tiles() as usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_height` [INFO] [stdout] --> src/types/room.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | let room_height = self.get_room_height_tiles() as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doors_indexes` [INFO] [stdout] --> src/types/room.rs:840:13 [INFO] [stdout] | [INFO] [stdout] 840 | let doors_indexes = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doors_indexes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_hex` is never used [INFO] [stdout] --> src/types/address.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl LoRom { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn to_hex(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PC` is never constructed [INFO] [stdout] --> src/types/address.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PC(pub u32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_lorom` is never used [INFO] [stdout] --> src/types/address.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl PC { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_lorom(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjointedSet` is never constructed [INFO] [stdout] --> src/types/disjointed_set.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DisjointedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find`, and `union` are never used [INFO] [stdout] --> src/types/disjointed_set.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DisjointedSet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn find(&mut self, cell: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn union(&mut self, cell1: usize, cell2: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrowingRect` is never constructed [INFO] [stdout] --> src/types/room.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct GrowingRect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_cell`, `update`, `merge`, and `is_empty` are never used [INFO] [stdout] --> src/types/room.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl GrowingRect { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 67 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn with_cell(cell: &Cell) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn update(&mut self, x: u16, y: u16, width: u16, height: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn merge(&self, nb_index: &GrowingRect) -> GrowingRect { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_doors` is never used [INFO] [stdout] --> src/types/room.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Room { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 835 | pub fn save_doors(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors_of_type` is never used [INFO] [stdout] --> src/types/room.rs:920:8 [INFO] [stdout] | [INFO] [stdout] 897 | impl CellNeighbors { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 920 | fn get_neighbors_of_type(&self, cells: &[Cell], block_type: BlockType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "0752259e61a42fdbe7befed3da2a690b3826e2a31d265a0da4a14fffbc8ce6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0752259e61a42fdbe7befed3da2a690b3826e2a31d265a0da4a14fffbc8ce6a2", kill_on_drop: false }` [INFO] [stdout] 0752259e61a42fdbe7befed3da2a690b3826e2a31d265a0da4a14fffbc8ce6a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56dc92e48c16c2ed4f35aca3bf86600a2a2402585e813e5aa51da9533174db76 [INFO] running `Command { std: "docker" "start" "-a" "56dc92e48c16c2ed4f35aca3bf86600a2a2402585e813e5aa51da9533174db76", kill_on_drop: false }` [INFO] [stderr] Compiling mamamia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::error` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::room` [INFO] [stdout] --> src/types/rom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::room; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disjointed_set::DisjointedSet` [INFO] [stdout] --> src/types/room.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | disjointed_set::DisjointedSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use types::room::{self, Room}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_height` [INFO] [stdout] --> src/types/room.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let room_height = room.get_room_height_tiles(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 132 | let _room_height = room.get_room_height_tiles(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TILE_SIZE` [INFO] [stdout] | [INFO] [stdout] 132 - let room_height = room.get_room_height_tiles(); [INFO] [stdout] 132 + let constants::TILE_SIZE = room.get_room_height_tiles(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/types/room.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/room.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_width` [INFO] [stdout] --> src/types/room.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | let room_width = self.get_room_width_tiles() as usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_height` [INFO] [stdout] --> src/types/room.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | let room_height = self.get_room_height_tiles() as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doors_indexes` [INFO] [stdout] --> src/types/room.rs:840:13 [INFO] [stdout] | [INFO] [stdout] 840 | let doors_indexes = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doors_indexes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_hex` is never used [INFO] [stdout] --> src/types/address.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl LoRom { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn to_hex(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PC` is never constructed [INFO] [stdout] --> src/types/address.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PC(pub u32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_lorom` is never used [INFO] [stdout] --> src/types/address.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl PC { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_lorom(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjointedSet` is never constructed [INFO] [stdout] --> src/types/disjointed_set.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DisjointedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find`, and `union` are never used [INFO] [stdout] --> src/types/disjointed_set.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DisjointedSet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn find(&mut self, cell: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn union(&mut self, cell1: usize, cell2: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrowingRect` is never constructed [INFO] [stdout] --> src/types/room.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct GrowingRect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_cell`, `update`, `merge`, and `is_empty` are never used [INFO] [stdout] --> src/types/room.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl GrowingRect { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 67 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn with_cell(cell: &Cell) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn update(&mut self, x: u16, y: u16, width: u16, height: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn merge(&self, nb_index: &GrowingRect) -> GrowingRect { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_doors` is never used [INFO] [stdout] --> src/types/room.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Room { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 835 | pub fn save_doors(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors_of_type` is never used [INFO] [stdout] --> src/types/room.rs:920:8 [INFO] [stdout] | [INFO] [stdout] 897 | impl CellNeighbors { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 920 | fn get_neighbors_of_type(&self, cells: &[Cell], block_type: BlockType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "56dc92e48c16c2ed4f35aca3bf86600a2a2402585e813e5aa51da9533174db76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56dc92e48c16c2ed4f35aca3bf86600a2a2402585e813e5aa51da9533174db76", kill_on_drop: false }` [INFO] [stdout] 56dc92e48c16c2ed4f35aca3bf86600a2a2402585e813e5aa51da9533174db76