[INFO] fetching crate office-rs 0.1.1... [INFO] checking office-rs-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate office-rs 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate office-rs 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate office-rs 0.1.1 [INFO] tweaked toml for crates.io crate office-rs 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate office-rs 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate office-rs 0.1.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c52173ee04000cc9fcbb89fb769002a0479ea06a214487af6057a3a8073f02b9 [INFO] running `Command { std: "docker" "start" "-a" "c52173ee04000cc9fcbb89fb769002a0479ea06a214487af6057a3a8073f02b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c52173ee04000cc9fcbb89fb769002a0479ea06a214487af6057a3a8073f02b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52173ee04000cc9fcbb89fb769002a0479ea06a214487af6057a3a8073f02b9", kill_on_drop: false }` [INFO] [stdout] c52173ee04000cc9fcbb89fb769002a0479ea06a214487af6057a3a8073f02b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc70aef07ab8e22e453f599a28db8f88557ffa73bc7b00f32a44f1727b6d03a0 [INFO] running `Command { std: "docker" "start" "-a" "cc70aef07ab8e22e453f599a28db8f88557ffa73bc7b00f32a44f1727b6d03a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking libbz2-rs-sys v0.2.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Checking liblzma v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.3.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking office-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/common/xml_utils.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 367 | name.chars().all(|c| (c.is_alphanumeric() || c == '_' || c == '-' || c == '.')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 367 - name.chars().all(|c| (c.is_alphanumeric() || c == '_' || c == '-' || c == '.')) [INFO] [stdout] 367 + name.chars().all(|c| c.is_alphanumeric() || c == '_' || c == '-' || c == '.') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorMonitor` and `ErrorStats` [INFO] [stdout] --> src/error/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error::monitor::{ ErrorMonitor, ErrorStats }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::OfficeError` [INFO] [stdout] --> src/error/code.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::OfficeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellReference` [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::xlsx::cell::{ CellReference, CellValue }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellValue` [INFO] [stdout] --> src/xlsx/formulas/formula_manager.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::xlsx::cell::{ CellReference, CellValue }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellType` and `WorksheetProperties` [INFO] [stdout] --> src/xlsx/reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CellType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | WorksheetProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/xlsx/reader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xml::*` [INFO] [stdout] --> src/xlsx/styles/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use xml::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error/monitor.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn record_error_async(&self, error: &OfficeError) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/common/xml_utils.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 367 | name.chars().all(|c| (c.is_alphanumeric() || c == '_' || c == '-' || c == '.')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 367 - name.chars().all(|c| (c.is_alphanumeric() || c == '_' || c == '-' || c == '.')) [INFO] [stdout] 367 + name.chars().all(|c| c.is_alphanumeric() || c == '_' || c == '-' || c == '.') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/common/zip_utils.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorMonitor` and `ErrorStats` [INFO] [stdout] --> src/error/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error::monitor::{ ErrorMonitor, ErrorStats }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::OfficeError` [INFO] [stdout] --> src/error/code.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::OfficeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellValue` [INFO] [stdout] --> src/xlsx/formulas/formula_manager.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::xlsx::cell::{ CellReference, CellValue }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellType` and `WorksheetProperties` [INFO] [stdout] --> src/xlsx/reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | CellType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | WorksheetProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/xlsx/reader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xml::*` [INFO] [stdout] --> src/xlsx/styles/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use xml::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xlsx::cell::CellReference` [INFO] [stdout] --> src/xlsx/worksheet.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | use crate::xlsx::cell::CellReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/error/mod.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | todo!("Implement fallback logic"); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] 353 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error/monitor.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn record_error_async(&self, error: &OfficeError) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/error/mod.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | todo!("Implement fallback logic"); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] 353 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/error/monitor.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn set_error_threshold(&self, category: ErrorCategory, threshold: u64) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/error/monitor.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn set_error_threshold(&self, category: ErrorCategory, threshold: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/error/monitor.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn analyze_trends(&self, duration: Duration) -> TrendAnalysis { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error/monitor.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn generate_report(&self, error: &OfficeError) -> ErrorReport { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/error/monitor.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn export_stats_report(&self, format: ReportFormat) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | CellValue::Error(e) => FormulaValue::Error(FormulaError::ValueError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/xlsx/reader.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let properties = self.parse_workbook_properties(workbook_xml)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_uncompressed_size` is never read [INFO] [stdout] --> src/common/zip_utils.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ZipReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | total_uncompressed_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `error`, `stack_trace`, `system_info`, and `context` are never read [INFO] [stdout] --> src/error/monitor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ErrorReport { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | timestamp: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | error: OfficeError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | stack_trace: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | system_info: SystemInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | context: ErrorContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/xlsx/formulas/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct FormulaCalculator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_calculation_order` is never used [INFO] [stdout] --> src/xlsx/formulas/formula_manager.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl FormulaManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_calculation_order(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fgColor` should have a snake case name [INFO] [stdout] --> src/xlsx/styles/xml.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut fgColor = XmlElement::new("fgColor"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fg_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bgColor` should have a snake case name [INFO] [stdout] --> src/xlsx/styles/xml.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let mut bgColor = XmlElement::new("bgColor"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/error/monitor.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn set_error_threshold(&self, category: ErrorCategory, threshold: u64) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/error/monitor.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn set_error_threshold(&self, category: ErrorCategory, threshold: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/error/monitor.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn analyze_trends(&self, duration: Duration) -> TrendAnalysis { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error/monitor.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn generate_report(&self, error: &OfficeError) -> ErrorReport { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/error/monitor.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn export_stats_report(&self, format: ReportFormat) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | CellValue::Error(e) => FormulaValue::Error(FormulaError::ValueError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:950:13 [INFO] [stdout] | [INFO] [stdout] 950 | let mut calculator = FormulaCalculator::new(provider); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | let mut calculator = FormulaCalculator::new(provider); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xlsx/formulas/formula_calculator.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | let mut calculator = FormulaCalculator::new(provider); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/xlsx/reader.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let properties = self.parse_workbook_properties(workbook_xml)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_uncompressed_size` is never read [INFO] [stdout] --> src/common/zip_utils.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ZipReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | total_uncompressed_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `error`, `stack_trace`, `system_info`, and `context` are never read [INFO] [stdout] --> src/error/monitor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ErrorReport { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | timestamp: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | error: OfficeError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | stack_trace: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | system_info: SystemInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | context: ErrorContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/xlsx/formulas/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct FormulaCalculator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_calculation_order` is never used [INFO] [stdout] --> src/xlsx/formulas/formula_manager.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl FormulaManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_calculation_order(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shared_strings` and `shared_strings_map` are never read [INFO] [stdout] --> src/xlsx/writer.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 503 | struct TestXlsxWriter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 504 | shared_strings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 505 | shared_strings_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fgColor` should have a snake case name [INFO] [stdout] --> src/xlsx/styles/xml.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut fgColor = XmlElement::new("fgColor"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fg_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bgColor` should have a snake case name [INFO] [stdout] --> src/xlsx/styles/xml.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let mut bgColor = XmlElement::new("bgColor"); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.13s [INFO] running `Command { std: "docker" "inspect" "cc70aef07ab8e22e453f599a28db8f88557ffa73bc7b00f32a44f1727b6d03a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc70aef07ab8e22e453f599a28db8f88557ffa73bc7b00f32a44f1727b6d03a0", kill_on_drop: false }` [INFO] [stdout] cc70aef07ab8e22e453f599a28db8f88557ffa73bc7b00f32a44f1727b6d03a0