[INFO] cloning repository https://github.com/TaQuangKhoi/Aqon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TaQuangKhoi/Aqon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaQuangKhoi%2FAqon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaQuangKhoi%2FAqon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cd736cc7ad4925a2d4859645fc0569c1214a15e [INFO] building TaQuangKhoi/Aqon against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaQuangKhoi%2FAqon" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TaQuangKhoi/Aqon [INFO] finished tweaking git repo https://github.com/TaQuangKhoi/Aqon [INFO] tweaked toml for git repo https://github.com/TaQuangKhoi/Aqon written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TaQuangKhoi/Aqon on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TaQuangKhoi/Aqon 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 604055f87a48669e917a1958b253cb33a9a5c9c2ce7d73cc0f9fad5b8801b7b5 [INFO] running `Command { std: "docker" "start" "-a" "604055f87a48669e917a1958b253cb33a9a5c9c2ce7d73cc0f9fad5b8801b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "604055f87a48669e917a1958b253cb33a9a5c9c2ce7d73cc0f9fad5b8801b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604055f87a48669e917a1958b253cb33a9a5c9c2ce7d73cc0f9fad5b8801b7b5", kill_on_drop: false }` [INFO] [stdout] 604055f87a48669e917a1958b253cb33a9a5c9c2ce7d73cc0f9fad5b8801b7b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 353baf319ad59ff7e23486690c3ca3d08791aa03fc4a70ee547e5aa3c1129de0 [INFO] running `Command { std: "docker" "start" "-a" "353baf319ad59ff7e23486690c3ca3d08791aa03fc4a70ee547e5aa3c1129de0", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling lopdf v0.26.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling printpdf v0.3.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling genpdf v0.2.0 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling calamine v0.22.1 [INFO] [stderr] Compiling docx-rs v0.4.17 [INFO] [stderr] Compiling Aqon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Aqon` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aqon` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [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: `anyhow` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error, warn, debug, LevelFilter}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use indicatif::{ProgressBar, ProgressStyle, MultiProgress}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Event` [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use notify::{Watcher, RecursiveMode, Event, EventKind, Config}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/main.rs:186:81 [INFO] [stdout] | [INFO] [stdout] 186 | fn watch_command(input: &PathBuf, output: &PathBuf, file_type: &Option, format: &String) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supported_extensions` is never used [INFO] [stdout] --> src/utils/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_supported_extensions() -> Vec<&'static str> { [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 `is_supported_file` is never used [INFO] [stdout] --> src/utils/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn is_supported_file(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `batch_convert` is never used [INFO] [stdout] --> src/converter/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn batch_convert(input_dir: &Path, output_dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `batch_convert_to_markdown` is never used [INFO] [stdout] --> src/converter/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn batch_convert_to_markdown(input_dir: &Path, output_dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "353baf319ad59ff7e23486690c3ca3d08791aa03fc4a70ee547e5aa3c1129de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353baf319ad59ff7e23486690c3ca3d08791aa03fc4a70ee547e5aa3c1129de0", kill_on_drop: false }` [INFO] [stdout] 353baf319ad59ff7e23486690c3ca3d08791aa03fc4a70ee547e5aa3c1129de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2558c0d3d0e399c948a9ef02dd622ec97c963094e46d6cb6c79eeea668427075 [INFO] running `Command { std: "docker" "start" "-a" "2558c0d3d0e399c948a9ef02dd622ec97c963094e46d6cb6c79eeea668427075", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Aqon` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aqon` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [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: `anyhow` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error, warn, debug, LevelFilter}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use indicatif::{ProgressBar, ProgressStyle, MultiProgress}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Event` [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use notify::{Watcher, RecursiveMode, Event, EventKind, Config}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/main.rs:186:81 [INFO] [stdout] | [INFO] [stdout] 186 | fn watch_command(input: &PathBuf, output: &PathBuf, file_type: &Option, format: &String) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supported_extensions` is never used [INFO] [stdout] --> src/utils/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_supported_extensions() -> Vec<&'static str> { [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 `is_supported_file` is never used [INFO] [stdout] --> src/utils/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn is_supported_file(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `batch_convert` is never used [INFO] [stdout] --> src/converter/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn batch_convert(input_dir: &Path, output_dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `batch_convert_to_markdown` is never used [INFO] [stdout] --> src/converter/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn batch_convert_to_markdown(input_dir: &Path, output_dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling Aqon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [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: `anyhow` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error, warn, debug, LevelFilter}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use indicatif::{ProgressBar, ProgressStyle, MultiProgress}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Event` [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use notify::{Watcher, RecursiveMode, Event, EventKind, Config}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/main.rs:186:81 [INFO] [stdout] | [INFO] [stdout] 186 | fn watch_command(input: &PathBuf, output: &PathBuf, file_type: &Option, format: &String) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `batch_convert` is never used [INFO] [stdout] --> src/converter/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn batch_convert(input_dir: &Path, output_dir: &Path) -> 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: function `batch_convert_to_markdown` is never used [INFO] [stdout] --> src/converter/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn batch_convert_to_markdown(input_dir: &Path, output_dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supported_extensions` is never used [INFO] [stdout] --> src/utils/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_supported_extensions() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_supported_file` is never used [INFO] [stdout] --> src/utils/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn is_supported_file(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableCellContent` [INFO] [stdout] --> src/converter/docx_reader.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | use docx_rs::{DocumentChild, ParagraphChild, RunChild, TableChild, TableRowChild, TableCellContent}; [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 variable: `temp_dir` [INFO] [stdout] --> tests/integration_test.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (temp_dir, input_dir, output_dir) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> tests/integration_test.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | let (temp_dir, input_dir, output_dir) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> tests/integration_test.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let (temp_dir, input_dir, output_dir) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> tests/integration_test.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (temp_dir, input_dir, output_dir) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> tests/integration_test.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | let (temp_dir, input_dir, _) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> tests/integration_test.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | let (temp_dir, input_dir, output_dir) = common::setup_test_env()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docx_path1` [INFO] [stdout] --> tests/integration_test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let docx_path1 = common::create_mock_docx(&input_dir, "document1")?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_docx_path1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docx_path2` [INFO] [stdout] --> tests/integration_test.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let docx_path2 = common::create_mock_docx(&input_dir, "document2")?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_docx_path2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xlsx_path` [INFO] [stdout] --> tests/integration_test.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let xlsx_path = common::create_mock_xlsx(&input_dir, "spreadsheet")?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xlsx_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_markdown_output` is never used [INFO] [stdout] --> tests/common.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn verify_markdown_output(output_dir: &Path, expected_name: &str) -> 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: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let TableChild::TableRow(row) = row_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/converter/docx_reader.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | ... if let TableRowChild::TableCell(cell) = cell_child { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "2558c0d3d0e399c948a9ef02dd622ec97c963094e46d6cb6c79eeea668427075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2558c0d3d0e399c948a9ef02dd622ec97c963094e46d6cb6c79eeea668427075", kill_on_drop: false }` [INFO] [stdout] 2558c0d3d0e399c948a9ef02dd622ec97c963094e46d6cb6c79eeea668427075