[INFO] fetching crate titik 0.3.1... [INFO] testing titik-0.3.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate titik 0.3.1 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate titik 0.3.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate titik 0.3.1 [INFO] finished tweaking crates.io crate titik 0.3.1 [INFO] tweaked toml for crates.io crate titik 0.3.1 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate crates.io crate titik 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded crossterm v0.16.0 [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded weezl v0.1.4 [INFO] [stderr] Downloaded hash32-derive v0.1.0 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded dot-canvas v0.1.1 [INFO] [stderr] Downloaded mt-dom v0.6.2 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded ito-canvas v0.1.1 [INFO] [stderr] Downloaded unicode-canvas v0.1.1 [INFO] [stderr] Downloaded expanse v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b294a6c9c1fe6e1061f01b6c8aa678410335da71e315e12b4807ac02635df3d [INFO] running `Command { std: "docker" "start" "-a" "1b294a6c9c1fe6e1061f01b6c8aa678410335da71e315e12b4807ac02635df3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b294a6c9c1fe6e1061f01b6c8aa678410335da71e315e12b4807ac02635df3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b294a6c9c1fe6e1061f01b6c8aa678410335da71e315e12b4807ac02635df3d", kill_on_drop: false }` [INFO] [stdout] 1b294a6c9c1fe6e1061f01b6c8aa678410335da71e315e12b4807ac02635df3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd28219bcc6ca8d9da05f2e2aa1e81260a9f6bb9db0992afbb5c87d4da0329f9 [INFO] running `Command { std: "docker" "start" "-a" "bd28219bcc6ca8d9da05f2e2aa1e81260a9f6bb9db0992afbb5c87d4da0329f9", 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] Compiling libc v0.2.93 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling dot-canvas v0.1.1 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling unicode-canvas v0.1.1 [INFO] [stderr] Compiling mt-dom v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ito-canvas v0.1.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.16.0 [INFO] [stderr] Compiling hash32-derive v0.1.0 [INFO] [stderr] Compiling expanse v0.3.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling titik v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mt_dom::attr` [INFO] [stdout] --> src/layout.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mt_dom::attr; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::MouseEvent` [INFO] [stdout] --> src/widget/button.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::event::MouseEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::InputEvent` [INFO] [stdout] --> src/widget/checkbox.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, event::InputEvent, symbol, Callback, Cmd, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/flex_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/group_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/link.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/link.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/tab_box.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/text_label.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/text_label.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/widget/image_control.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let rgb = img.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/renderer.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let location = extract_location(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/value.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | Value::Style(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/value.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Value::Bytes(v) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/widget/image_control.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | fn create_cells(&self, width: f32, height: f32) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/widget/image_control.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let right = loc_x + width - 1.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/link.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/widget/tab_box.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for i in children_len..tab_index { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc_x` [INFO] [stdout] --> src/widget/tab_box.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let loc_x = layout.location.x.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loc_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_pad` [INFO] [stdout] --> src/widget/tab_box.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let left_pad = 3; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/widget/tab_box.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let width = layout.size.width.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom` [INFO] [stdout] --> src/widget/tab_box.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let bottom = top + height; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_input.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_label.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/area_buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/callback.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn emit(&mut self, event: EVENT) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/group_box.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/group_box.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flex_direction` [INFO] [stdout] --> src/widget/list_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flex_direction: FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/list_box.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/list_box.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/slider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Slider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/slider.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/tab_box.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/tab_box.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/tab_box.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/text_area.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/text_area.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content_width` [INFO] [stdout] --> src/widget/text_area.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn content_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.87s [INFO] running `Command { std: "docker" "inspect" "bd28219bcc6ca8d9da05f2e2aa1e81260a9f6bb9db0992afbb5c87d4da0329f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd28219bcc6ca8d9da05f2e2aa1e81260a9f6bb9db0992afbb5c87d4da0329f9", kill_on_drop: false }` [INFO] [stdout] bd28219bcc6ca8d9da05f2e2aa1e81260a9f6bb9db0992afbb5c87d4da0329f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c148ee6480b19e26d5eef89e133aa6dfd443e691b274985116788ff3c801aaaa [INFO] running `Command { std: "docker" "start" "-a" "c148ee6480b19e26d5eef89e133aa6dfd443e691b274985116788ff3c801aaaa", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `mt_dom::attr` [INFO] [stdout] --> src/layout.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mt_dom::attr; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::MouseEvent` [INFO] [stdout] --> src/widget/button.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::event::MouseEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::InputEvent` [INFO] [stdout] --> src/widget/checkbox.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, event::InputEvent, symbol, Callback, Cmd, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/flex_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/group_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/link.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/link.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/tab_box.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/text_label.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/text_label.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/widget/image_control.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let rgb = img.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/renderer.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let location = extract_location(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/value.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | Value::Style(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/value.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Value::Bytes(v) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/widget/image_control.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | fn create_cells(&self, width: f32, height: f32) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/widget/image_control.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let right = loc_x + width - 1.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/link.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/widget/tab_box.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for i in children_len..tab_index { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc_x` [INFO] [stdout] --> src/widget/tab_box.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let loc_x = layout.location.x.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loc_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_pad` [INFO] [stdout] --> src/widget/tab_box.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let left_pad = 3; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/widget/tab_box.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let width = layout.size.width.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom` [INFO] [stdout] --> src/widget/tab_box.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let bottom = top + height; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_input.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_label.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/area_buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/callback.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn emit(&mut self, event: EVENT) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/group_box.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/group_box.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flex_direction` [INFO] [stdout] --> src/widget/list_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flex_direction: FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/list_box.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/list_box.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/slider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Slider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/slider.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/tab_box.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/tab_box.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling titik v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/tab_box.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/text_area.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/text_area.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content_width` [INFO] [stdout] --> src/widget/text_area.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn content_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `Image`, `Slider` [INFO] [stdout] --> examples/simple.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Button, Callback, Checkbox, FlexBox, GroupBox, Image, ListBox, Radio, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 5 | Renderer, Slider, TabBox, TextArea, TextInput, TextLabel, Widget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/demo.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut text_area1: TextArea<()> = TextArea::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: variable does not need to be mutable [INFO] [stdout] --> examples/demo.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut img: Image<()> = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mt_dom::attr` [INFO] [stdout] --> src/layout.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mt_dom::attr; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::MouseEvent` [INFO] [stdout] --> src/widget/button.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::event::MouseEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::InputEvent` [INFO] [stdout] --> src/widget/checkbox.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, event::InputEvent, symbol, Callback, Cmd, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/flex_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/group_box.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/link.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/link.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stdout] --> src/widget/tab_box.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputBuffer` [INFO] [stdout] --> src/widget/text_label.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stdout] --> src/widget/text_label.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/widget/image_control.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let rgb = img.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/renderer.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let location = extract_location(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/value.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | Value::Style(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/value.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Value::Bytes(v) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/callback.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cb = Callback::from(move |v: i32| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/widget/image_control.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | fn create_cells(&self, width: f32, height: f32) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/widget/image_control.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let right = loc_x + width - 1.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/link.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/widget/tab_box.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for i in children_len..tab_index { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc_x` [INFO] [stdout] --> src/widget/tab_box.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let loc_x = layout.location.x.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loc_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_pad` [INFO] [stdout] --> src/widget/tab_box.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let left_pad = 3; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/widget/tab_box.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let width = layout.size.width.round() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom` [INFO] [stdout] --> src/widget/tab_box.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let bottom = top + height; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_input.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_width` [INFO] [stdout] --> src/widget/text_label.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let inner_width = self.inner_width(&layout); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/area_buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/group_box.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/group_box.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flex_direction` [INFO] [stdout] --> src/widget/list_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flex_direction: FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/list_box.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/list_box.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/list_box.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_input` [INFO] [stdout] --> src/widget/slider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | on_input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Slider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/slider.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_top` [INFO] [stdout] --> src/widget/tab_box.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/tab_box.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/tab_box.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/tab_box.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_rounded_border` [INFO] [stdout] --> src/widget/text_area.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | is_rounded_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_thick_border` [INFO] [stdout] --> src/widget/text_area.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | is_thick_border: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widget/text_area.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content_width` [INFO] [stdout] --> src/widget/text_area.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn content_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "c148ee6480b19e26d5eef89e133aa6dfd443e691b274985116788ff3c801aaaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c148ee6480b19e26d5eef89e133aa6dfd443e691b274985116788ff3c801aaaa", kill_on_drop: false }` [INFO] [stdout] c148ee6480b19e26d5eef89e133aa6dfd443e691b274985116788ff3c801aaaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 646aa97ed01384c5b539623b1caeb12c45b847e0a8b2d7d677a08c2710b13307 [INFO] running `Command { std: "docker" "start" "-a" "646aa97ed01384c5b539623b1caeb12c45b847e0a8b2d7d677a08c2710b13307", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `mt_dom::attr` [INFO] [stderr] --> src/layout.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use mt_dom::attr; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crossterm::event::MouseEvent` [INFO] [stderr] --> src/widget/button.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crossterm::event::MouseEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `event::InputEvent` [INFO] [stderr] --> src/widget/checkbox.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{buffer::Buffer, event::InputEvent, symbol, Callback, Cmd, Widget}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stderr] --> src/widget/flex_box.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stderr] --> src/widget/group_box.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 7 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `InputBuffer` [INFO] [stderr] --> src/widget/link.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stderr] --> src/widget/link.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AlignContent`, `AlignItems`, `AlignSelf`, `FlexWrap`, `JustifyContent`, `Overflow` [INFO] [stderr] --> src/widget/tab_box.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | AlignContent, AlignItems, AlignSelf, Dimension, FlexDirection, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 9 | FlexWrap, JustifyContent, Overflow, PositionType, Style, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `InputBuffer` [INFO] [stderr] --> src/widget/text_label.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{buffer::Buffer, Cmd, InputBuffer, Widget}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `KeyEvent`, `MouseEvent` [INFO] [stderr] --> src/widget/text_label.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use crossterm::event::{KeyEvent, MouseEvent}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stderr] --> src/widget/image_control.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | let rgb = img.to_rgb(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `location` [INFO] [stderr] --> src/renderer.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | let location = extract_location(&event); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/value.rs:70:26 [INFO] [stderr] | [INFO] [stderr] 70 | Value::Style(s) => todo!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/value.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | Value::Bytes(v) => todo!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/widget/image_control.rs:39:40 [INFO] [stderr] | [INFO] [stderr] 39 | fn create_cells(&self, width: f32, height: f32) -> Vec> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right` [INFO] [stderr] --> src/widget/image_control.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | let right = loc_x + width - 1.0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_width` [INFO] [stderr] --> src/widget/link.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | let inner_width = self.inner_width(&layout); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/widget/tab_box.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | for i in children_len..tab_index { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loc_x` [INFO] [stderr] --> src/widget/tab_box.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 140 | let loc_x = layout.location.x.round() as usize; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loc_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left_pad` [INFO] [stderr] --> src/widget/tab_box.rs:142:13 [INFO] [stderr] | [INFO] [stderr] 142 | let left_pad = 3; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_pad` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/widget/tab_box.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | let width = layout.size.width.round() as usize; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bottom` [INFO] [stderr] --> src/widget/tab_box.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let bottom = top + height; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_width` [INFO] [stderr] --> src/widget/text_input.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let inner_width = self.inner_width(&layout); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_width` [INFO] [stderr] --> src/widget/text_label.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | let inner_width = self.inner_width(&layout); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_width` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `width` [INFO] [stderr] --> src/area_buffer.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn width(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `emit` [INFO] [stderr] --> src/callback.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn emit(&mut self, event: EVENT) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scroll_top` [INFO] [stderr] --> src/widget/group_box.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | scroll_top: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GroupBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/group_box.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flex_direction` [INFO] [stderr] --> src/widget/list_box.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | flex_direction: FlexDirection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/list_box.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scroll_top` [INFO] [stderr] --> src/widget/list_box.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | scroll_top: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/list_box.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `on_input` [INFO] [stderr] --> src/widget/list_box.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | on_input: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/list_box.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `on_input` [INFO] [stderr] --> src/widget/slider.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | on_input: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Slider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/slider.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scroll_top` [INFO] [stderr] --> src/widget/tab_box.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | scroll_top: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/tab_box.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `is_rounded_border` [INFO] [stderr] --> src/widget/tab_box.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | is_rounded_border: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/tab_box.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `is_thick_border` [INFO] [stderr] --> src/widget/tab_box.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | is_thick_border: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TabBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/tab_box.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `is_rounded_border` [INFO] [stderr] --> src/widget/text_area.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | is_rounded_border: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/text_area.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `is_thick_border` [INFO] [stderr] --> src/widget/text_area.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | is_thick_border: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TextArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widget/text_area.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `content_width` [INFO] [stderr] --> src/widget/text_area.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | fn content_width(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/callback.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | let mut cb = Callback::from(move |v: i32| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: `titik` (lib) generated 37 warnings [INFO] [stderr] warning: `titik` (lib test) generated 37 warnings (36 duplicates) [INFO] [stderr] warning: unused imports: `Callback`, `Image`, `Slider` [INFO] [stderr] --> examples/simple.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | Button, Callback, Checkbox, FlexBox, GroupBox, Image, ListBox, Radio, [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] 5 | Renderer, Slider, TabBox, TextArea, TextInput, TextLabel, Widget, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/demo.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | let mut text_area1: TextArea<()> = TextArea::new( [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/demo.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | let mut img: Image<()> = [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `titik` (example "simple") generated 1 warning [INFO] [stderr] warning: `titik` (example "demo") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/titik-a8d83b1e5d71d58a) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test area_buffer::tests::add_enter ... ok [INFO] [stdout] test area_buffer::tests::add_char2 ... ok [INFO] [stdout] test area_buffer::tests::add_char1 ... ok [INFO] [stdout] test buffer::test::cell_width ... ok [INFO] [stdout] test buffer::test::cell2 ... ok [INFO] [stdout] test buffer::test::cell1 ... ok [INFO] [stdout] test buffer::test::diff1 ... ok [INFO] [stdout] test callback::test::cb_test2 ... ok [INFO] [stdout] test find_node::test::find_by_id ... ok [INFO] [stdout] test widget::tests::layout ... ok [INFO] [stdout] test input_buffer::test::add_char ... ok [INFO] [stdout] test widget::tests::layout2 ... ok [INFO] [stderr] Doc-tests titik [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/widget/tab_box.rs - widget::tab_box::TabBox (line 17) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "646aa97ed01384c5b539623b1caeb12c45b847e0a8b2d7d677a08c2710b13307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646aa97ed01384c5b539623b1caeb12c45b847e0a8b2d7d677a08c2710b13307", kill_on_drop: false }` [INFO] [stdout] 646aa97ed01384c5b539623b1caeb12c45b847e0a8b2d7d677a08c2710b13307