[INFO] fetching crate titik 0.3.1... [INFO] checking titik-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate titik 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate titik 0.3.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e64353be816179b267ac5549fe444fbda734fcf9c223a5942ccbab17d0bb8688 [INFO] running `Command { std: "docker" "start" "-a" "e64353be816179b267ac5549fe444fbda734fcf9c223a5942ccbab17d0bb8688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64353be816179b267ac5549fe444fbda734fcf9c223a5942ccbab17d0bb8688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64353be816179b267ac5549fe444fbda734fcf9c223a5942ccbab17d0bb8688", kill_on_drop: false }` [INFO] [stdout] e64353be816179b267ac5549fe444fbda734fcf9c223a5942ccbab17d0bb8688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b1719d33409801c315d9da2af7f97316cd410274f492cf229e75b8c2d6db354 [INFO] running `Command { std: "docker" "start" "-a" "6b1719d33409801c315d9da2af7f97316cd410274f492cf229e75b8c2d6db354", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [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 log v0.4.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking unicode-canvas v0.1.1 [INFO] [stderr] Checking dot-canvas v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking mt-dom v0.6.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking gif v0.11.2 [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 quote v0.5.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking ito-canvas v0.1.1 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Compiling hash32-derive v0.1.0 [INFO] [stderr] Checking expanse v0.3.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking 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`, and `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`, and `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` and `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`, and `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` and `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: 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`, and `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`, and `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` and `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`, and `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` and `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 method `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: use of deprecated method `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: `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] = note: `#[warn(unused_variables)]` 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: `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] [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: `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: `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: `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: 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: method `width` is never used [INFO] [stdout] --> src/area_buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AreaBuffer { [INFO] [stdout] | --------------- method in this implementation [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 `0` is never read [INFO] [stdout] --> src/callback.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Callback(Box); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit` is never used [INFO] [stdout] --> src/callback.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Callback { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 13 | fn emit(&mut self, event: EVENT) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scroll_top` is never read [INFO] [stdout] --> src/widget/group_box.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GroupBox { [INFO] [stdout] | -------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `flex_direction`, `scroll_top`, and `on_input` are never read [INFO] [stdout] --> src/widget/list_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ListBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | flex_direction: FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | scroll_top: f32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `on_input` is never read [INFO] [stdout] --> src/widget/slider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Slider { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `scroll_top`, `is_rounded_border`, and `is_thick_border` are never read [INFO] [stdout] --> src/widget/tab_box.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TabBox { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | is_rounded_border: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rounded_border` and `is_thick_border` are never read [INFO] [stdout] --> src/widget/text_area.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextArea { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | is_rounded_border: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: method `content_width` is never used [INFO] [stdout] --> src/widget/text_area.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl TextArea { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn content_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/callback.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn from(f: F) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Callback(Box::new(f)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/widget/button.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(label: S) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/widget/checkbox.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(label: S) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 33 warnings emitted [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] [stderr] error: could not compile `titik` (lib) due to 4 previous errors; 33 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `width` is never used [INFO] [stdout] --> src/area_buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AreaBuffer { [INFO] [stdout] | --------------- method in this implementation [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 `scroll_top` is never read [INFO] [stdout] --> src/widget/group_box.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GroupBox { [INFO] [stdout] | -------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `flex_direction`, `scroll_top`, and `on_input` are never read [INFO] [stdout] --> src/widget/list_box.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ListBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | flex_direction: FlexDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | scroll_top: f32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `on_input` is never read [INFO] [stdout] --> src/widget/slider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Slider { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `scroll_top`, `is_rounded_border`, and `is_thick_border` are never read [INFO] [stdout] --> src/widget/tab_box.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TabBox { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | scroll_top: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | is_rounded_border: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rounded_border` and `is_thick_border` are never read [INFO] [stdout] --> src/widget/text_area.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextArea { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | is_rounded_border: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: method `content_width` is never used [INFO] [stdout] --> src/widget/text_area.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl TextArea { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn content_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/callback.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn from(f: F) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Callback(Box::new(f)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/widget/button.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(label: S) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/widget/checkbox.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(label: S) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `titik` (lib test) due to 4 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b1719d33409801c315d9da2af7f97316cd410274f492cf229e75b8c2d6db354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1719d33409801c315d9da2af7f97316cd410274f492cf229e75b8c2d6db354", kill_on_drop: false }` [INFO] [stdout] 6b1719d33409801c315d9da2af7f97316cd410274f492cf229e75b8c2d6db354