[INFO] cloning repository https://github.com/radheradhe01/TermGraph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radheradhe01/TermGraph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradheradhe01%2FTermGraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradheradhe01%2FTermGraph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 934932aff50db0aa3b7aa6b14f66b38e98df4d44 [INFO] testing radheradhe01/TermGraph against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradheradhe01%2FTermGraph" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/radheradhe01/TermGraph [INFO] finished tweaking git repo https://github.com/radheradhe01/TermGraph [INFO] tweaked toml for git repo https://github.com/radheradhe01/TermGraph written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/radheradhe01/TermGraph on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/radheradhe01/TermGraph 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" "+1.98.0-beta.6" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65 [INFO] running `Command { std: "docker" "start" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling zune-jpeg v0.5.12 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling graphterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `layout::*` [INFO] [stdout] --> src/ui/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use layout::*; [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 imports: `DynamicImage` and `imageops::FilterType` [INFO] [stdout] --> src/graphics/icons.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, RgbaImage, Rgba, imageops::FilterType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/graphics/icons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::*` [INFO] [stdout] --> src/graphics/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use protocol::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_grid_layout` is never used [INFO] [stdout] --> src/ui/layout.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calculate_grid_layout(area: Rect, item_width: u16, item_height: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit_test_grid` is never used [INFO] [stdout] --> src/ui/layout.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn hit_test_grid(positions: &[Rect], x: u16, y: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sixel` is never constructed [INFO] [stdout] --> src/graphics/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GraphicsProtocol { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Sixel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicsProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_image`, `render_iterm2`, and `supports_images` are never used [INFO] [stdout] --> src/graphics/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl GraphicsBackend { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn render_image(&self, x: u16, y: u16, width: u16, height: u16, image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn render_iterm2(&self, _x: u16, _y: u16, _width: u16, _height: u16, image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn supports_images(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_terminal_capabilities` is never used [INFO] [stdout] --> src/graphics/protocol.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn query_terminal_capabilities() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sixel_support` is never used [INFO] [stdout] --> src/graphics/protocol.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn check_sixel_support() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/graphics/kitty.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn render(x: u16, y: u16, _width: u16, _height: u16, image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/graphics/kitty.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clear(_x: u16, _y: u16) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/graphics/sixel.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn render(_x: u16, _y: u16, _width: u16, _height: u16, _image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON_SIZE` is never used [INFO] [stdout] --> src/graphics/icons.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ICON_SIZE: u32 = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IconManager` is never constructed [INFO] [stdout] --> src/graphics/icons.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IconManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_icon_sequence`, `generate_icon`, `encode_icon`, `encode_kitty`, and `encode_iterm2` are never used [INFO] [stdout] --> src/graphics/icons.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl IconManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(backend: GraphicsBackend) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_icon_sequence(&mut self, file_type: &str, is_dir: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn generate_icon(&self, file_type: &str, is_dir: bool) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn encode_icon(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn encode_kitty(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn encode_iterm2(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extension` is never used [INFO] [stdout] --> src/graphics/icons.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_extension(filename: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/graphics/thumbnails.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ThumbnailCache { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modified` is never read [INFO] [stdout] --> src/fs/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FileEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub modified: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_directory_size` is never used [INFO] [stdout] --> src/fs/listing.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_directory_size(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 4m 27s [INFO] running `Command { std: "docker" "inspect" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling graphterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `layout::*` [INFO] [stdout] --> src/ui/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use layout::*; [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 imports: `DynamicImage` and `imageops::FilterType` [INFO] [stdout] --> src/graphics/icons.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, RgbaImage, Rgba, imageops::FilterType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/graphics/icons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::*` [INFO] [stdout] --> src/graphics/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use protocol::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_grid_layout` is never used [INFO] [stdout] --> src/ui/layout.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calculate_grid_layout(area: Rect, item_width: u16, item_height: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit_test_grid` is never used [INFO] [stdout] --> src/ui/layout.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn hit_test_grid(positions: &[Rect], x: u16, y: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sixel` is never constructed [INFO] [stdout] --> src/graphics/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GraphicsProtocol { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Sixel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicsProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_image`, `render_iterm2`, and `supports_images` are never used [INFO] [stdout] --> src/graphics/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl GraphicsBackend { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn render_image(&self, x: u16, y: u16, width: u16, height: u16, image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn render_iterm2(&self, _x: u16, _y: u16, _width: u16, _height: u16, image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn supports_images(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_terminal_capabilities` is never used [INFO] [stdout] --> src/graphics/protocol.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn query_terminal_capabilities() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sixel_support` is never used [INFO] [stdout] --> src/graphics/protocol.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn check_sixel_support() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/graphics/kitty.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clear(_x: u16, _y: u16) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/graphics/sixel.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn render(_x: u16, _y: u16, _width: u16, _height: u16, _image_data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON_SIZE` is never used [INFO] [stdout] --> src/graphics/icons.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ICON_SIZE: u32 = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IconManager` is never constructed [INFO] [stdout] --> src/graphics/icons.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IconManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_icon_sequence`, `generate_icon`, `encode_icon`, `encode_kitty`, and `encode_iterm2` are never used [INFO] [stdout] --> src/graphics/icons.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl IconManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(backend: GraphicsBackend) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_icon_sequence(&mut self, file_type: &str, is_dir: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn generate_icon(&self, file_type: &str, is_dir: bool) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn encode_icon(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn encode_kitty(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn encode_iterm2(&self, img: &RgbaImage) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extension` is never used [INFO] [stdout] --> src/graphics/icons.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_extension(filename: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/graphics/thumbnails.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ThumbnailCache { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modified` is never read [INFO] [stdout] --> src/fs/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FileEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub modified: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_directory_size` is never used [INFO] [stdout] --> src/fs/listing.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_directory_size(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 11.74s [INFO] running `Command { std: "docker" "inspect" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `layout::*` [INFO] [stderr] --> src/ui/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use layout::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DynamicImage` and `imageops::FilterType` [INFO] [stderr] --> src/graphics/icons.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use image::{DynamicImage, RgbaImage, Rgba, imageops::FilterType}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/graphics/icons.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `protocol::*` [INFO] [stderr] --> src/graphics/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use protocol::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_grid_layout` is never used [INFO] [stderr] --> src/ui/layout.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn calculate_grid_layout(area: Rect, item_width: u16, item_height: u16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `hit_test_grid` is never used [INFO] [stderr] --> src/ui/layout.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn hit_test_grid(positions: &[Rect], x: u16, y: u16) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Sixel` is never constructed [INFO] [stderr] --> src/graphics/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum GraphicsProtocol { [INFO] [stderr] | ---------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 20 | Sixel, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GraphicsProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `render_image`, `render_iterm2`, and `supports_images` are never used [INFO] [stderr] --> src/graphics/mod.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl GraphicsBackend { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn render_image(&self, x: u16, y: u16, width: u16, height: u16, image_data: &[u8]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | fn render_iterm2(&self, _x: u16, _y: u16, _width: u16, _height: u16, image_data: &[u8]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn supports_images(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `query_terminal_capabilities` is never used [INFO] [stderr] --> src/graphics/protocol.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn query_terminal_capabilities() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_sixel_support` is never used [INFO] [stderr] --> src/graphics/protocol.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn check_sixel_support() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clear` is never used [INFO] [stderr] --> src/graphics/kitty.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn clear(_x: u16, _y: u16) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `render` is never used [INFO] [stderr] --> src/graphics/sixel.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn render(_x: u16, _y: u16, _width: u16, _height: u16, _image_data: &[u8]) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ICON_SIZE` is never used [INFO] [stderr] --> src/graphics/icons.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const ICON_SIZE: u32 = 16; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IconManager` is never constructed [INFO] [stderr] --> src/graphics/icons.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct IconManager { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_icon_sequence`, `generate_icon`, `encode_icon`, `encode_kitty`, and `encode_iterm2` are never used [INFO] [stderr] --> src/graphics/icons.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl IconManager { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 21 | pub fn new(backend: GraphicsBackend) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn get_icon_sequence(&mut self, file_type: &str, is_dir: bool) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | fn generate_icon(&self, file_type: &str, is_dir: bool) -> RgbaImage { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | fn encode_icon(&self, img: &RgbaImage) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | fn encode_kitty(&self, img: &RgbaImage) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | fn encode_iterm2(&self, img: &RgbaImage) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_extension` is never used [INFO] [stderr] --> src/graphics/icons.rs:151:8 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn get_extension(filename: &str) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/graphics/thumbnails.rs:153:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl ThumbnailCache { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `modified` is never read [INFO] [stderr] --> src/fs/mod.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct FileEntry { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub modified: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_directory_size` is never used [INFO] [stderr] --> src/fs/listing.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get_directory_size(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graphterm` (bin "graphterm" test) generated 19 warnings (run `cargo fix --bin "graphterm" -p graphterm --tests` to apply 4 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/graphterm-68f9cf2d352e863f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test graphics::kitty::tests::test_small_image_encoding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65", kill_on_drop: false }` [INFO] [stdout] 415be38c277ef17a1dbbf5d7d60e1107a220440c6370552483f7a31fe7b36a65