[INFO] cloning repository https://github.com/TLOGBen/file_to_html [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TLOGBen/file_to_html" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLOGBen%2Ffile_to_html", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLOGBen%2Ffile_to_html'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 561002f531e7e957c777a263801c98bf2b6ebacf [INFO] building TLOGBen/file_to_html against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLOGBen%2Ffile_to_html" "/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/TLOGBen/file_to_html [INFO] finished tweaking git repo https://github.com/TLOGBen/file_to_html [INFO] tweaked toml for git repo https://github.com/TLOGBen/file_to_html written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TLOGBen/file_to_html on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TLOGBen/file_to_html 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jwalk v0.8.1 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded jiff-static v0.2.10 [INFO] [stderr] Downloaded zip v2.6.1 [INFO] [stderr] Downloaded jiff v0.2.10 [INFO] [stderr] Downloaded clap_builder v4.5.37 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 665a51f6e36746dc982e30e2037ad2e46272881bbd30e1a41d4aba1b82153bb3 [INFO] running `Command { std: "docker" "start" "-a" "665a51f6e36746dc982e30e2037ad2e46272881bbd30e1a41d4aba1b82153bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "665a51f6e36746dc982e30e2037ad2e46272881bbd30e1a41d4aba1b82153bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665a51f6e36746dc982e30e2037ad2e46272881bbd30e1a41d4aba1b82153bb3", kill_on_drop: false }` [INFO] [stdout] 665a51f6e36746dc982e30e2037ad2e46272881bbd30e1a41d4aba1b82153bb3 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 055a71d738a766e9dbc91263b152e39203796582fe487493269bce4a76c8bfca [INFO] running `Command { std: "docker" "start" "-a" "055a71d738a766e9dbc91263b152e39203796582fe487493269bce4a76c8bfca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling jiff v0.2.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling file_to_html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/facade/conversion_facade.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let config = self.config_service.get_config()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/facade/conversion_facade.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input_path = Path::new(&input.input_path); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/facade/conversion_facade.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let output_dir = &input.output_dir; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/facade/conversion_facade.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (data, _file_size) = crate::service::file::read_file_content(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/facade/conversion_facade.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let file_name = file_path.file_name().unwrap().to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aes_mode` [INFO] [stdout] --> src/facade/conversion_facade.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | aes_mode: AesMode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aes_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/facade/conversion_facade.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let config = self.config_service.get_config()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/facade/conversion_facade.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input_path = Path::new(&input.input_path); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/facade/conversion_facade.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let output_dir = &input.output_dir; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/facade/conversion_facade.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (data, _file_size) = crate::service::file::read_file_content(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/facade/conversion_facade.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let file_name = file_path.file_name().unwrap().to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aes_mode` [INFO] [stdout] --> src/facade/conversion_facade.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | aes_mode: AesMode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aes_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_files` is never used [INFO] [stdout] --> src/service/file.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn collect_files( [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 `collect_and_measure_files` is never used [INFO] [stdout] --> src/service/file.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn collect_and_measure_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip_buffer` is never used [INFO] [stdout] --> src/service/zip.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_zip_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_file_content` is never used [INFO] [stdout] --> src/service/zip.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn compress_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip` is never used [INFO] [stdout] --> src/service/zip.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn create_zip( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/ports.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub is_compressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub compress: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub include: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub exclude: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub password_mode: PasswordMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub display_password: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub layer: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub encryption_method: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub no_progress: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub max_size: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` 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: trait `ConversionPort` is never used [INFO] [stdout] --> src/config/ports.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ConversionPort { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manage_progress` is never used [INFO] [stdout] --> src/utils/utils.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn manage_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConversionFacadeTrait` is never used [INFO] [stdout] --> src/facade/ports/facade_ports.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ConversionFacadeTrait: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compress` is never read [INFO] [stdout] --> src/models/conversion.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConversionInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub compress: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionInput` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `processed_files` is never read [INFO] [stdout] --> src/models/conversion.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConversionOutput { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | pub output_path: String, [INFO] [stdout] 23 | pub processed_files: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_size` is never read [INFO] [stdout] --> src/models/zip.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ZipCompressOutput { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 16 | pub zip_buffer: Vec, [INFO] [stdout] 17 | pub total_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZipCompressOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `html_file_path` is never read [INFO] [stdout] --> src/models/html.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HtmlGenerateOutput { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 16 | pub html_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HtmlGenerateOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.06s [INFO] running `Command { std: "docker" "inspect" "055a71d738a766e9dbc91263b152e39203796582fe487493269bce4a76c8bfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055a71d738a766e9dbc91263b152e39203796582fe487493269bce4a76c8bfca", kill_on_drop: false }` [INFO] [stdout] 055a71d738a766e9dbc91263b152e39203796582fe487493269bce4a76c8bfca [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa3573fcf9f14f1b65339756c5e8bab434dce3803c7ba3c7ca0f7389f916f686 [INFO] running `Command { std: "docker" "start" "-a" "aa3573fcf9f14f1b65339756c5e8bab434dce3803c7ba3c7ca0f7389f916f686", kill_on_drop: false }` [INFO] [stderr] Compiling file_to_html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/facade/conversion_facade.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let config = self.config_service.get_config()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/facade/conversion_facade.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input_path = Path::new(&input.input_path); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/facade/conversion_facade.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let output_dir = &input.output_dir; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/facade/conversion_facade.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (data, _file_size) = crate::service::file::read_file_content(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/facade/conversion_facade.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let file_name = file_path.file_name().unwrap().to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aes_mode` [INFO] [stdout] --> src/facade/conversion_facade.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | aes_mode: AesMode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aes_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/facade/conversion_facade.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let config = self.config_service.get_config()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/facade/conversion_facade.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input_path = Path::new(&input.input_path); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/facade/conversion_facade.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let output_dir = &input.output_dir; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/facade/conversion_facade.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (data, _file_size) = crate::service::file::read_file_content(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/facade/conversion_facade.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let file_name = file_path.file_name().unwrap().to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aes_mode` [INFO] [stdout] --> src/facade/conversion_facade.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | aes_mode: AesMode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aes_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_files` is never used [INFO] [stdout] --> src/service/file.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn collect_files( [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 `collect_and_measure_files` is never used [INFO] [stdout] --> src/service/file.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn collect_and_measure_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip_buffer` is never used [INFO] [stdout] --> src/service/zip.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_zip_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_file_content` is never used [INFO] [stdout] --> src/service/zip.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn compress_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip` is never used [INFO] [stdout] --> src/service/zip.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn create_zip( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/ports.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub is_compressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub compress: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub include: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub exclude: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub password_mode: PasswordMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub display_password: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub layer: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub encryption_method: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub no_progress: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub max_size: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` 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: trait `ConversionPort` is never used [INFO] [stdout] --> src/config/ports.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ConversionPort { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manage_progress` is never used [INFO] [stdout] --> src/utils/utils.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn manage_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConversionFacadeTrait` is never used [INFO] [stdout] --> src/facade/ports/facade_ports.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ConversionFacadeTrait: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compress` is never read [INFO] [stdout] --> src/models/conversion.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConversionInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub compress: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionInput` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `processed_files` is never read [INFO] [stdout] --> src/models/conversion.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConversionOutput { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | pub output_path: String, [INFO] [stdout] 23 | pub processed_files: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_size` is never read [INFO] [stdout] --> src/models/zip.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ZipCompressOutput { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 16 | pub zip_buffer: Vec, [INFO] [stdout] 17 | pub total_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZipCompressOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `html_file_path` is never read [INFO] [stdout] --> src/models/html.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HtmlGenerateOutput { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 16 | pub html_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HtmlGenerateOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/facade/conversion_facade.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let config = self.config_service.get_config()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/facade/conversion_facade.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input_path = Path::new(&input.input_path); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/facade/conversion_facade.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let output_dir = &input.output_dir; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/facade/conversion_facade.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (data, _file_size) = crate::service::file::read_file_content(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/facade/conversion_facade.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let file_name = file_path.file_name().unwrap().to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aes_mode` [INFO] [stdout] --> src/facade/conversion_facade.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | aes_mode: AesMode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aes_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "aa3573fcf9f14f1b65339756c5e8bab434dce3803c7ba3c7ca0f7389f916f686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3573fcf9f14f1b65339756c5e8bab434dce3803c7ba3c7ca0f7389f916f686", kill_on_drop: false }` [INFO] [stdout] aa3573fcf9f14f1b65339756c5e8bab434dce3803c7ba3c7ca0f7389f916f686