[INFO] cloning repository https://github.com/Lineoo/ln_drawer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lineoo/ln_drawer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLineoo%2Fln_drawer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLineoo%2Fln_drawer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30c5017cc34d01e63cd3a74c116784d268c1dc92 [INFO] checking Lineoo/ln_drawer against master#9050733395f7c10560d49f549e022f411fa28cea for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLineoo%2Fln_drawer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lineoo/ln_drawer [INFO] finished tweaking git repo https://github.com/Lineoo/ln_drawer [INFO] tweaked toml for git repo https://github.com/Lineoo/ln_drawer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lineoo/ln_drawer on toolchain 9050733395f7c10560d49f549e022f411fa28cea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lineoo/ln_drawer 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" "+9050733395f7c10560d49f549e022f411fa28cea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v26.0.0 [INFO] [stderr] Downloaded glam v0.30.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea0ce3ead6a2c2ed55c1c45d88c6571a15c03a62d5d4b546413c865f27280bb1 [INFO] running `Command { std: "docker" "start" "-a" "ea0ce3ead6a2c2ed55c1c45d88c6571a15c03a62d5d4b546413c865f27280bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea0ce3ead6a2c2ed55c1c45d88c6571a15c03a62d5d4b546413c865f27280bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0ce3ead6a2c2ed55c1c45d88c6571a15c03a62d5d4b546413c865f27280bb1", kill_on_drop: false }` [INFO] [stdout] ea0ce3ead6a2c2ed55c1c45d88c6571a15c03a62d5d4b546413c865f27280bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fba05bb047831f1d300567a9a5fa38f7284aee1ba2e49ae7e9893fc58c641f32 [INFO] running `Command { std: "docker" "start" "-a" "fba05bb047831f1d300567a9a5fa38f7284aee1ba2e49ae7e9893fc58c641f32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rangemap v1.6.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking glam v0.30.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking font-types v0.9.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking read-fonts v0.29.3 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking skrifa v0.31.3 [INFO] [stderr] Checking swash v0.2.5 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking cosmic-text v0.14.2 [INFO] [stderr] Checking ln_drawer v0.1.1-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/elements/menu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct MenuEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | frame: StandardSquare, [INFO] [stdout] 21 | text: Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_square` is never used [INFO] [stdout] --> src/interface.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn create_square(&mut self, rect: Rectangle, color: [f32; 4]) -> Square { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Square` is never constructed [INFO] [stdout] --> src/interface.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 287 | enum ComponentInner { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 290 | Square(SquareBuffer), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_rect` is never used [INFO] [stdout] --> src/interface/painter.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl Painter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/interface/painter.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 443 | impl PainterWriter<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 444 | pub fn read(&self, x: i32, y: i32) -> [u8; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/interface/square.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SquarePipeline { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Square` is never constructed [INFO] [stdout] --> src/interface/square.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Square { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interface/square.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl Square { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 214 | #[must_use = "The square will be destroyed when being drop."] [INFO] [stdout] 215 | pub fn new(rect: Rectangle, color: [f32; 4], interface: &mut Interface) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_rect(&self) -> Rectangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn get_position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_position(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn set_color(&mut self, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn set_z_order(&self, ord: ZOrder) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub(super) fn clone_buffer(&self) -> SquareBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/interface/square.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct SquareBuffer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | color: Buffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareBuffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `z_order`, `queue`, and `rectangle_buffer` are never read [INFO] [stdout] --> src/interface/standard_square.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct StandardSquare { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 142 | rect: Rectangle, [INFO] [stdout] 143 | z_order: ZOrder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | queue: Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 150 | rectangle_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_rect`, `get_z_order`, `set_z_order`, and `get_visible` are never used [INFO] [stdout] --> src/interface/standard_square.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl StandardSquare { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_z_order(&self) -> ZOrder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn set_z_order(&mut self, ord: ZOrder) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_color` and `set_visible` are never used [INFO] [stdout] --> src/interface/wireframe.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl Wireframe { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn set_color(&mut self, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn set_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/interface/wireframe.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct WireframeBuffer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 267 | color: Buffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireframeBuffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world_to_screen` is never used [INFO] [stdout] --> src/lnwin.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Viewport { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn world_to_screen(&self, point: Position) -> [f64; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_array` and `wrap` are never used [INFO] [stdout] --> src/measures/position.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Position { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_array(array: [i32; 2]) -> Position { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn wrap(self, rect: Rectangle) -> Position { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tweak`, `with_origin`, `with_extend`, `into_array`, and `from_array` are never used [INFO] [stdout] --> src/measures/rectangle.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new(left: i32, down: i32, right: i32, up: i32) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn tweak(self, left: i32, down: i32, right: i32, up: i32) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn with_origin(self, origin: Position) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn with_extend(self, extend: Delta) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn into_array(self) -> [i32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn from_array(array: [i32; 4]) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_dyn` and `fetch_mut_dyn` are never used [INFO] [stdout] --> src/world.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn fetch_dyn(&self, handle: Handle) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn fetch_mut_dyn(&self, handle: Handle) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attaches` is never constructed [INFO] [stdout] --> src/world.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | struct Attaches(HashMap>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_order` is never used [INFO] [stdout] --> src/text.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Text { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_order(&self) -> ZOrder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_text` is never used [INFO] [stdout] --> src/text.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl TextEdit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn clone_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/elements/menu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct MenuEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | frame: StandardSquare, [INFO] [stdout] 21 | text: Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_square` is never used [INFO] [stdout] --> src/interface.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn create_square(&mut self, rect: Rectangle, color: [f32; 4]) -> Square { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Square` is never constructed [INFO] [stdout] --> src/interface.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 287 | enum ComponentInner { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 290 | Square(SquareBuffer), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_rect` is never used [INFO] [stdout] --> src/interface/painter.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl Painter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/interface/painter.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 443 | impl PainterWriter<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 444 | pub fn read(&self, x: i32, y: i32) -> [u8; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/interface/square.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SquarePipeline { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Square` is never constructed [INFO] [stdout] --> src/interface/square.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Square { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interface/square.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl Square { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 214 | #[must_use = "The square will be destroyed when being drop."] [INFO] [stdout] 215 | pub fn new(rect: Rectangle, color: [f32; 4], interface: &mut Interface) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_rect(&self) -> Rectangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn get_position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_position(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn set_color(&mut self, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn set_z_order(&self, ord: ZOrder) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub(super) fn clone_buffer(&self) -> SquareBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/interface/square.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct SquareBuffer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | color: Buffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareBuffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `z_order`, `queue`, and `rectangle_buffer` are never read [INFO] [stdout] --> src/interface/standard_square.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct StandardSquare { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 142 | rect: Rectangle, [INFO] [stdout] 143 | z_order: ZOrder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | queue: Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 150 | rectangle_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_rect`, `get_z_order`, `set_z_order`, and `get_visible` are never used [INFO] [stdout] --> src/interface/standard_square.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl StandardSquare { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_rect(&mut self, rect: Rectangle) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_z_order(&self) -> ZOrder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn set_z_order(&mut self, ord: ZOrder) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_color` and `set_visible` are never used [INFO] [stdout] --> src/interface/wireframe.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl Wireframe { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn set_color(&mut self, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn set_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/interface/wireframe.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct WireframeBuffer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 267 | color: Buffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireframeBuffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world_to_screen` is never used [INFO] [stdout] --> src/lnwin.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Viewport { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn world_to_screen(&self, point: Position) -> [f64; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_array` and `wrap` are never used [INFO] [stdout] --> src/measures/position.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Position { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_array(array: [i32; 2]) -> Position { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn wrap(self, rect: Rectangle) -> Position { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tweak`, `with_origin`, `with_extend`, `into_array`, and `from_array` are never used [INFO] [stdout] --> src/measures/rectangle.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new(left: i32, down: i32, right: i32, up: i32) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn tweak(self, left: i32, down: i32, right: i32, up: i32) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn with_origin(self, origin: Position) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn with_extend(self, extend: Delta) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn into_array(self) -> [i32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn from_array(array: [i32; 4]) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `occupied`, `occupied_mut`, `fetch_dyn`, and `fetch_mut_dyn` are never used [INFO] [stdout] --> src/world.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn occupied(&self, handle: Handle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn occupied_mut(&self, handle: Handle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn fetch_dyn(&self, handle: Handle) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn fetch_mut_dyn(&self, handle: Handle) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attaches` is never constructed [INFO] [stdout] --> src/world.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | struct Attaches(HashMap>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_order` is never used [INFO] [stdout] --> src/text.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Text { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_order(&self) -> ZOrder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_text` is never used [INFO] [stdout] --> src/text.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl TextEdit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn clone_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.64s [INFO] running `Command { std: "docker" "inspect" "fba05bb047831f1d300567a9a5fa38f7284aee1ba2e49ae7e9893fc58c641f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba05bb047831f1d300567a9a5fa38f7284aee1ba2e49ae7e9893fc58c641f32", kill_on_drop: false }` [INFO] [stdout] fba05bb047831f1d300567a9a5fa38f7284aee1ba2e49ae7e9893fc58c641f32