[INFO] cloning repository https://github.com/d1ndonlymdhe/rust-ui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d1ndonlymdhe/rust-ui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ndonlymdhe%2Frust-ui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ndonlymdhe%2Frust-ui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 539ab754a8f1f4e9bd0d91ee01beacab583bca5d [INFO] checking d1ndonlymdhe/rust-ui against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ndonlymdhe%2Frust-ui" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d1ndonlymdhe/rust-ui [INFO] finished tweaking git repo https://github.com/d1ndonlymdhe/rust-ui [INFO] tweaked toml for git repo https://github.com/d1ndonlymdhe/rust-ui written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d1ndonlymdhe/rust-ui on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d1ndonlymdhe/rust-ui 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8b7e5554ff41a55d5112523ca29cdd47380946498afd7e8154f6cc711a0657 [INFO] running `Command { std: "docker" "start" "-a" "9a8b7e5554ff41a55d5112523ca29cdd47380946498afd7e8154f6cc711a0657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8b7e5554ff41a55d5112523ca29cdd47380946498afd7e8154f6cc711a0657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8b7e5554ff41a55d5112523ca29cdd47380946498afd7e8154f6cc711a0657", kill_on_drop: false }` [INFO] [stdout] 9a8b7e5554ff41a55d5112523ca29cdd47380946498afd7e8154f6cc711a0657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef0ad672c0719fc0056b7761adf411df4b0cc0d3c33cc610590d68b3383bb716 [INFO] running `Command { std: "docker" "start" "-a" "ef0ad672c0719fc0056b7761adf411df4b0cc0d3c33cc610590d68b3383bb716", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking rust-ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/ui/root.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{cell::RefCell, collections::HashMap, rc::Rc, vec}; [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: `generate_id` [INFO] [stdout] --> src/ui/text_input.rs:11:71 [INFO] [stdout] | [INFO] [stdout] 11 | Alignment, Base, Direction, ID, KeyEvent, Length, MouseEvent, generate_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/ui/root.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{cell::RefCell, collections::HashMap, rc::Rc, vec}; [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: `generate_id` [INFO] [stdout] --> src/ui/text_input.rs:11:71 [INFO] [stdout] | [INFO] [stdout] 11 | Alignment, Base, Direction, ID, KeyEvent, Length, MouseEvent, generate_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/ui/raw_text.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn add_child(&mut self, child: Rc>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_event` [INFO] [stdout] --> src/ui/raw_text.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_key_event_handlers(&self, key_event: KeyEvent) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/ui/raw_text.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn add_child(&mut self, child: Rc>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_event` [INFO] [stdout] --> src/ui/raw_text.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_key_event_handlers(&self, key_event: KeyEvent) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scroll_top = 0.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: `scroll_top` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scroll_top = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_height` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let scroll_height = 10.0 + 99.0 * 50.0 + 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_height` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let container_height = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let container_width = 400.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_y` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let container_y = 40.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_x` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let container_x = 40.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scroll_top = 0.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: `scroll_top` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scroll_top = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_height` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let scroll_height = 10.0 + 99.0 * 50.0 + 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_height` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let container_height = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let container_width = 400.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_y` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let container_y = 40.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_x` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let container_x = 40.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_rectangle` is never used [INFO] [stdout] --> src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn draw_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn draw_text( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PERCENT` is never constructed [INFO] [stdout] --> src/ui/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Length { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | PERCENT(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Length` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_event_handlers`, `set_children`, `add_child`, and `on_click` are never used [INFO] [stdout] --> src/ui/common.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait Base { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_key_event_handlers(&self, key_event: KeyEvent) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn set_children(&mut self, children: Vec>>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn add_child(&mut self, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn on_click(&mut self, f: Box bool>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/ui/layout.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LayoutProps { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_click`, `children_func`, and `overflow_x` are never used [INFO] [stdout] --> src/ui/layout.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl LayoutProps { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_click(mut self, f: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn children_func(mut self, f: Rc Vec>>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/text_input.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TextInputProps { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn wrap(mut self, wrap: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn main_align(mut self, align: Alignment) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn cross_align(mut self, align: Alignment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn padding(mut self, padding: (i32, i32, i32, i32)) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn gap(mut self, gap: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn on_click(mut self, f: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn overflow_y(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_content` is never used [INFO] [stdout] --> src/ui/text_input.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl TextInput { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/text_layout.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextLayoutProps { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn wrap(mut self, wrap: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn gap(mut self, gap: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn dbg_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn overflow_y(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/ui/text_layout.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl TextLayout { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MIN` should have a snake case name [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let Y_MIN = container_y; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MAX` should have a snake case name [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let Y_MAX = container_y + container_height; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MIN` should have a snake case name [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let Y_MIN = container_y; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MAX` should have a snake case name [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let Y_MAX = container_y + container_height; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_rectangle` is never used [INFO] [stdout] --> src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn draw_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn draw_text( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PERCENT` is never constructed [INFO] [stdout] --> src/ui/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Length { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | PERCENT(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Length` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_event_handlers`, `set_children`, `add_child`, and `on_click` are never used [INFO] [stdout] --> src/ui/common.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait Base { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_key_event_handlers(&self, key_event: KeyEvent) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn set_children(&mut self, children: Vec>>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn add_child(&mut self, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn on_click(&mut self, f: Box bool>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/ui/layout.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LayoutProps { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_click`, `children_func`, and `overflow_x` are never used [INFO] [stdout] --> src/ui/layout.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl LayoutProps { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_click(mut self, f: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn children_func(mut self, f: Rc Vec>>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/text_input.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TextInputProps { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn wrap(mut self, wrap: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn main_align(mut self, align: Alignment) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn cross_align(mut self, align: Alignment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn padding(mut self, padding: (i32, i32, i32, i32)) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn gap(mut self, gap: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn on_click(mut self, f: Box bool>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn overflow_y(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_content` is never used [INFO] [stdout] --> src/ui/text_input.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl TextInput { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/text_layout.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextLayoutProps { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn wrap(mut self, wrap: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn gap(mut self, gap: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn dbg_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn overflow_x(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn overflow_y(mut self, overflow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/ui/text_layout.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl TextLayout { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MIN` should have a snake case name [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let Y_MIN = container_y; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MAX` should have a snake case name [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let Y_MAX = container_y + container_height; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MIN` should have a snake case name [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let Y_MIN = container_y; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_MAX` should have a snake case name [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let Y_MAX = container_y + container_height; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.43s [INFO] running `Command { std: "docker" "inspect" "ef0ad672c0719fc0056b7761adf411df4b0cc0d3c33cc610590d68b3383bb716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0ad672c0719fc0056b7761adf411df4b0cc0d3c33cc610590d68b3383bb716", kill_on_drop: false }` [INFO] [stdout] ef0ad672c0719fc0056b7761adf411df4b0cc0d3c33cc610590d68b3383bb716