[INFO] cloning repository https://github.com/KooshaPari/KommandLineAutomation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KooshaPari/KommandLineAutomation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKooshaPari%2FKommandLineAutomation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKooshaPari%2FKommandLineAutomation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c24a81e69d50c6fb53b2822c54e3c616e02eb68 [INFO] building KooshaPari/KommandLineAutomation against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKooshaPari%2FKommandLineAutomation" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KooshaPari/KommandLineAutomation [INFO] finished tweaking git repo https://github.com/KooshaPari/KommandLineAutomation [INFO] tweaked toml for git repo https://github.com/KooshaPari/KommandLineAutomation written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KooshaPari/KommandLineAutomation 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/KooshaPari/KommandLineAutomation 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 tokio-test v0.4.4 [INFO] [stderr] Downloaded vt100 v0.15.2 [INFO] [stderr] Downloaded serial v0.4.0 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded filedescriptor v0.8.3 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded serial-windows v0.4.0 [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded zune-inflate v0.2.54 [INFO] [stderr] Downloaded portable-pty v0.8.1 [INFO] [stderr] Downloaded qoi v0.4.1 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded clap_builder v4.5.41 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded gif v0.12.0 [INFO] [stderr] Downloaded tiff v0.9.1 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81a55774a26d69c81a330f1544d1040e615e03beb1218aa18511fad60578364a [INFO] running `Command { std: "docker" "start" "-a" "81a55774a26d69c81a330f1544d1040e615e03beb1218aa18511fad60578364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81a55774a26d69c81a330f1544d1040e615e03beb1218aa18511fad60578364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a55774a26d69c81a330f1544d1040e615e03beb1218aa18511fad60578364a", kill_on_drop: false }` [INFO] [stdout] 81a55774a26d69c81a330f1544d1040e615e03beb1218aa18511fad60578364a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 430956fdf6369ce7b5380c04e39b95b1bf0641839d0f842aa4069e4f6d56c5df [INFO] running `Command { std: "docker" "start" "-a" "430956fdf6369ce7b5380c04e39b95b1bf0641839d0f842aa4069e4f6d56c5df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling vt100 v0.15.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling kla v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/pty/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::timeout; [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::time::Duration` [INFO] [stdout] --> src/pty/capture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Terminal` [INFO] [stdout] --> src/pty/capture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/media/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/media/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Rgb` [INFO] [stdout] --> src/media/gif.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/pty/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | reader: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/media/gif.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GifGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [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::path::PathBuf` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScriptStep`, `Script`, `StepType`, and `TerminalSettings` [INFO] [stdout] --> src/script/types.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::script::{Script, ScriptStep, StepType, TerminalSettings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/pty/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/pty/capture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Terminal` [INFO] [stdout] --> src/pty/capture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/media/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/media/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Rgb` [INFO] [stdout] --> src/media/gif.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save_to_file` is never used [INFO] [stdout] --> src/script/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ScriptLoader { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn save_to_file>(script: &Script, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/pty/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | reader: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_output` and `clear_buffer` are never used [INFO] [stdout] --> src/pty/mod.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn wait_for_output(&self, pattern: &str, timeout_duration: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_output`, `clear_output_buffer`, and `get_terminal_ref` are never used [INFO] [stdout] --> src/pty/controller.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl TerminalController { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn wait_for_output(&self, pattern: &str, timeout: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_output_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_terminal_ref(&self) -> &Terminal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerminalCapture` is never constructed [INFO] [stdout] --> src/pty/capture.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TerminalCapture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pty/capture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TerminalCapture { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(width: u16, height: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn process_output(&mut self, output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_screen_contents(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_formatted_contents(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_cursor_position(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_history(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn clear_history(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> src/media/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl OutputFormat { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn extension(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MediaGenerator` is never used [INFO] [stdout] --> src/media/mod.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait MediaGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_family`, `background_color`, `text_color`, and `cursor_color` are never read [INFO] [stdout] --> src/media/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MediaConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub background_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub text_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub cursor_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `cursor`, `selection`, and `colors` are never read [INFO] [stdout] --> src/media/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThemeConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub cursor: (u8, u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | pub selection: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | pub colors: Vec<(u8, u8, u8)>, // ANSI colors (16 colors) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThemeConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `dracula_theme` and `from_name` are never used [INFO] [stdout] --> src/media/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ThemeConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn dracula_theme() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn from_name(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format` and `output_dir` are never read [INFO] [stdout] --> src/media/recorder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MediaRecorder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | format: OutputFormat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | output_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_theme`, `with_config`, `capture_gif_frame`, and `get_output_path` are never used [INFO] [stdout] --> src/media/recorder.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MediaRecorder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_theme(mut self, theme_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_config(mut self, config: MediaConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn capture_gif_frame(&mut self, terminal: &TerminalController) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_output_path(&self, name: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encoder`, `screenshot_gen`, `width`, `height`, and `frame_delay` are never read [INFO] [stdout] --> src/media/gif.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GifGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | encoder: Encoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | screenshot_gen: ScreenshotGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | frame_delay: u16, // in centiseconds (1/100th of a second) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_frame_delay` and `add_frame` are never used [INFO] [stdout] --> src/media/gif.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl GifGenerator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn with_frame_delay(mut self, delay_centiseconds: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_frame(&mut self, content: &str, terminal_width: u16, terminal_height: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GifRecorder` is never constructed [INFO] [stdout] --> src/media/gif.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct GifRecorder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `capture_frame`, `save_gif`, `frame_count`, and `clear_frames` are never used [INFO] [stdout] --> src/media/gif.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl GifRecorder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 89 | pub fn new(config: &MediaConfig, theme: &ThemeConfig, width: u16, height: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn capture_frame(&mut self, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn save_gif(&self, output_path: &Path, frame_delay: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn frame_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn clear_frames(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.26s [INFO] running `Command { std: "docker" "inspect" "430956fdf6369ce7b5380c04e39b95b1bf0641839d0f842aa4069e4f6d56c5df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430956fdf6369ce7b5380c04e39b95b1bf0641839d0f842aa4069e4f6d56c5df", kill_on_drop: false }` [INFO] [stdout] 430956fdf6369ce7b5380c04e39b95b1bf0641839d0f842aa4069e4f6d56c5df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a03db1661e0a3341e339a0a440bf18ae4e399f2f5a688094a4129b0f7e71d46f [INFO] running `Command { std: "docker" "start" "-a" "a03db1661e0a3341e339a0a440bf18ae4e399f2f5a688094a4129b0f7e71d46f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling kla v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/pty/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::timeout; [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::time::Duration` [INFO] [stdout] --> src/pty/capture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Terminal` [INFO] [stdout] --> src/pty/capture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/media/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/media/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Rgb` [INFO] [stdout] --> src/media/gif.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/pty/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | reader: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/media/gif.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GifGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/pty/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::timeout; [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::time::Duration` [INFO] [stdout] --> src/pty/capture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Terminal` [INFO] [stdout] --> src/pty/capture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/media/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/media/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Rgb` [INFO] [stdout] --> src/media/gif.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recorder` [INFO] [stdout] --> src/media/recorder.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let recorder = MediaRecorder::new(OutputFormat::Png, temp_dir.path()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recorder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/pty/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | reader: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/media/gif.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GifGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [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::path::PathBuf` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScriptStep`, `Script`, `StepType`, and `TerminalSettings` [INFO] [stdout] --> src/script/types.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::script::{Script, ScriptStep, StepType, TerminalSettings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/pty/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/pty/capture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Terminal` [INFO] [stdout] --> src/pty/capture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/media/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/media/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Rgb` [INFO] [stdout] --> src/media/gif.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recorder` [INFO] [stdout] --> src/media/recorder.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let recorder = MediaRecorder::new(OutputFormat::Png, temp_dir.path()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recorder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save_to_file` is never used [INFO] [stdout] --> src/script/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ScriptLoader { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn save_to_file>(script: &Script, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/pty/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | reader: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_output` and `clear_buffer` are never used [INFO] [stdout] --> src/pty/mod.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn wait_for_output(&self, pattern: &str, timeout_duration: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_output`, `clear_output_buffer`, and `get_terminal_ref` are never used [INFO] [stdout] --> src/pty/controller.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl TerminalController { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn wait_for_output(&self, pattern: &str, timeout: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_output_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_terminal_ref(&self) -> &Terminal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cursor_position`, `get_history`, and `clear_history` are never used [INFO] [stdout] --> src/pty/capture.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TerminalCapture { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_cursor_position(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_history(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn clear_history(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MediaGenerator` is never used [INFO] [stdout] --> src/media/mod.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait MediaGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_family`, `background_color`, `text_color`, and `cursor_color` are never read [INFO] [stdout] --> src/media/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MediaConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub background_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub text_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub cursor_color: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `cursor`, `selection`, and `colors` are never read [INFO] [stdout] --> src/media/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThemeConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub cursor: (u8, u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | pub selection: (u8, u8, u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | pub colors: Vec<(u8, u8, u8)>, // ANSI colors (16 colors) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThemeConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `dracula_theme` and `from_name` are never used [INFO] [stdout] --> src/media/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ThemeConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn dracula_theme() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn from_name(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_theme`, `with_config`, and `capture_gif_frame` are never used [INFO] [stdout] --> src/media/recorder.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MediaRecorder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_theme(mut self, theme_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_config(mut self, config: MediaConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn capture_gif_frame(&mut self, terminal: &TerminalController) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encoder`, `screenshot_gen`, `width`, `height`, and `frame_delay` are never read [INFO] [stdout] --> src/media/gif.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GifGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | encoder: Encoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | screenshot_gen: ScreenshotGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | frame_delay: u16, // in centiseconds (1/100th of a second) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_frame_delay` and `add_frame` are never used [INFO] [stdout] --> src/media/gif.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl GifGenerator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn with_frame_delay(mut self, delay_centiseconds: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_frame(&mut self, content: &str, terminal_width: u16, terminal_height: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_frames` is never used [INFO] [stdout] --> src/media/gif.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl GifRecorder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn clear_frames(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.01s [INFO] running `Command { std: "docker" "inspect" "a03db1661e0a3341e339a0a440bf18ae4e399f2f5a688094a4129b0f7e71d46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03db1661e0a3341e339a0a440bf18ae4e399f2f5a688094a4129b0f7e71d46f", kill_on_drop: false }` [INFO] [stdout] a03db1661e0a3341e339a0a440bf18ae4e399f2f5a688094a4129b0f7e71d46f