[INFO] cloning repository https://github.com/justletmecreatetheaccount/Balatui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justletmecreatetheaccount/Balatui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustletmecreatetheaccount%2FBalatui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustletmecreatetheaccount%2FBalatui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57ec07412918c6a41cd478b8f5fe274066744626 [INFO] building justletmecreatetheaccount/Balatui against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustletmecreatetheaccount%2FBalatui" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/justletmecreatetheaccount/Balatui [INFO] finished tweaking git repo https://github.com/justletmecreatetheaccount/Balatui [INFO] tweaked toml for git repo https://github.com/justletmecreatetheaccount/Balatui written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justletmecreatetheaccount/Balatui on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/justletmecreatetheaccount/Balatui 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded icy_sixel v0.1.2 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded instability v0.3.2 [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded ratatui-image v2.0.1 [INFO] [stderr] Downloaded compact_str v0.8.0 [INFO] [stderr] Downloaded image v0.25.4 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5ac7381108a30c98caf85c1dd03d28d727263892a9a4460512b711db9c6f7f [INFO] running `Command { std: "docker" "start" "-a" "cf5ac7381108a30c98caf85c1dd03d28d727263892a9a4460512b711db9c6f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5ac7381108a30c98caf85c1dd03d28d727263892a9a4460512b711db9c6f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5ac7381108a30c98caf85c1dd03d28d727263892a9a4460512b711db9c6f7f", kill_on_drop: false }` [INFO] [stdout] cf5ac7381108a30c98caf85c1dd03d28d727263892a9a4460512b711db9c6f7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23dc8331622c8e7399fe5893ad4089e4d6a4794f8adddf727cdc55c456b15030 [INFO] running `Command { std: "docker" "start" "-a" "23dc8331622c8e7399fe5893ad4089e4d6a4794f8adddf727cdc55c456b15030", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling icy_sixel v0.1.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling ratatui-image v2.0.1 [INFO] [stderr] Compiling balatui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `widgets::*` [INFO] [stdout] --> src/app.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::{prelude::*, widgets::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/modes/edit.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/modes/selection.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | Block, Borders, Paragraph, Scrollbar, ScrollbarOrientation, ScrollbarState, StatefulWidget, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/modes/testing.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/popup.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::Result` [INFO] [stdout] --> src/popup.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::{eyre::Result, owo_colors::OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/popup.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/term.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, stdout}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `owo_colors::OwoColorize` [INFO] [stdout] --> src/popup.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::{eyre::Result, owo_colors::OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_cards_path` [INFO] [stdout] --> src/app.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let read_cards_path: Option = None; //Read cards path form file [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_cards_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_bar` [INFO] [stdout] --> src/app.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | let [title_bar, tab, bottom_bar] = vertical.areas(area); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_bar` [INFO] [stdout] --> src/app.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | let [title_bar, tab, bottom_bar] = vertical.areas(area); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/modes/edit.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn handle_key_press(&mut self, key: KeyEvent) -> Message { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/modes/testing.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn handle_key_press(&mut self, key: KeyEvent) -> Message { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rope.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(mut old_head) = self.head.take() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cards_path` is never read [INFO] [stdout] --> src/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cards_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_cards_path` is never used [INFO] [stdout] --> src/app.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 43 | fn get_cards_path() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_title_bar` and `render_bottom_bar` are never used [INFO] [stdout] --> src/app.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EditMode` is never used [INFO] [stdout] --> src/modes/edit.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum EditMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadPath` is never constructed [INFO] [stdout] --> src/rope.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct BadPath; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Directions` is never used [INFO] [stdout] --> src/rope.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum Directions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rope` is never constructed [INFO] [stdout] --> src/rope.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Rope { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RopeNode` is never constructed [INFO] [stdout] --> src/rope.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct RopeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rope.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Rope { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn search(&self, index: u32) -> Option<(&String, u16)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn follow_path_from<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn follow_path(&mut self, path: &[Directions]) -> Result<&mut Box, BadPath> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn follow_path_and_add_weights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn string_to_rope(mut input: String, leaf_weight: u8) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn assing_head(&mut self, new_head: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn elongate_rope(&mut self, input: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rope.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl RopeNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 271 | pub fn new_empty(n_weight: u32, n_right_weight: u32, n_layer: u32) -> RopeNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn new_with_content(string: String) -> RopeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn fill_content(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn empty_content(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn assign_left_node(&mut self, node: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn empty_left_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn assign_right_node(&mut self, node: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn empty_right_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "23dc8331622c8e7399fe5893ad4089e4d6a4794f8adddf727cdc55c456b15030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23dc8331622c8e7399fe5893ad4089e4d6a4794f8adddf727cdc55c456b15030", kill_on_drop: false }` [INFO] [stdout] 23dc8331622c8e7399fe5893ad4089e4d6a4794f8adddf727cdc55c456b15030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285f367cf760acb13e705eb8babe74270e413f0f147dc86a8949cde5fd0bec67 [INFO] running `Command { std: "docker" "start" "-a" "285f367cf760acb13e705eb8babe74270e413f0f147dc86a8949cde5fd0bec67", kill_on_drop: false }` [INFO] [stderr] Compiling balatui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `widgets::*` [INFO] [stdout] --> src/app.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::{prelude::*, widgets::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/modes/edit.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/modes/selection.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | Block, Borders, Paragraph, Scrollbar, ScrollbarOrientation, ScrollbarState, StatefulWidget, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/modes/testing.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/popup.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::Result` [INFO] [stdout] --> src/popup.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::{eyre::Result, owo_colors::OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/popup.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/term.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, stdout}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `owo_colors::OwoColorize` [INFO] [stdout] --> src/popup.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::{eyre::Result, owo_colors::OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_cards_path` [INFO] [stdout] --> src/app.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let read_cards_path: Option = None; //Read cards path form file [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_cards_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_bar` [INFO] [stdout] --> src/app.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | let [title_bar, tab, bottom_bar] = vertical.areas(area); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_bar` [INFO] [stdout] --> src/app.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | let [title_bar, tab, bottom_bar] = vertical.areas(area); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/modes/edit.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn handle_key_press(&mut self, key: KeyEvent) -> Message { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/modes/testing.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn handle_key_press(&mut self, key: KeyEvent) -> Message { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rope.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(mut old_head) = self.head.take() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cards_path` is never read [INFO] [stdout] --> src/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cards_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_cards_path` is never used [INFO] [stdout] --> src/app.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 43 | fn get_cards_path() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_title_bar` and `render_bottom_bar` are never used [INFO] [stdout] --> src/app.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 122 | fn render_title_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn render_bottom_bar(&self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EditMode` is never used [INFO] [stdout] --> src/modes/edit.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum EditMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `follow_path_from`, `follow_path`, and `assing_head` are never used [INFO] [stdout] --> src/rope.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Rope { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn follow_path_from<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn follow_path(&mut self, path: &[Directions]) -> Result<&mut Box, BadPath> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn assing_head(&mut self, new_head: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rope.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl RopeNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn new_with_content(string: String) -> RopeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn fill_content(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn empty_content(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn assign_left_node(&mut self, node: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn empty_left_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn assign_right_node(&mut self, node: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn empty_right_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | term::restore(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = term::restore(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "285f367cf760acb13e705eb8babe74270e413f0f147dc86a8949cde5fd0bec67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285f367cf760acb13e705eb8babe74270e413f0f147dc86a8949cde5fd0bec67", kill_on_drop: false }` [INFO] [stdout] 285f367cf760acb13e705eb8babe74270e413f0f147dc86a8949cde5fd0bec67