[INFO] fetching crate loggit 0.1.9...
[INFO] building loggit-0.1.9 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate loggit 0.1.9 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate loggit 0.1.9
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate loggit 0.1.9
[INFO] tweaked toml for crates.io crate loggit 0.1.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate loggit 0.1.9 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 crates.io crate loggit 0.1.9 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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded env-file-reader v0.3.0
[INFO] [stderr]   Downloaded lzma-sys v0.1.20
[INFO] [stderr]   Downloaded xz2 v0.1.7
[INFO] [stderr]   Downloaded zip v3.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 90484f04d19c80bfe54c89ec8fff5063d70c9db149824488dc25dcb6ee250d24
[INFO] running `Command { std: "docker" "start" "-a" "90484f04d19c80bfe54c89ec8fff5063d70c9db149824488dc25dcb6ee250d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90484f04d19c80bfe54c89ec8fff5063d70c9db149824488dc25dcb6ee250d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90484f04d19c80bfe54c89ec8fff5063d70c9db149824488dc25dcb6ee250d24", kill_on_drop: false }`
[INFO] [stdout] 90484f04d19c80bfe54c89ec8fff5063d70c9db149824488dc25dcb6ee250d24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 79cc4c6a2338b6d5f6af0da29bf76e3c4969f034433ddaae375fd7fef9a1f312
[INFO] running `Command { std: "docker" "start" "-a" "79cc4c6a2338b6d5f6af0da29bf76e3c4969f034433ddaae375fd7fef9a1f312", kill_on_drop: false }`
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling zlib-rs v0.5.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.5
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling dtor v0.0.6
[INFO] [stderr]    Compiling zopfli v0.8.1
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling time v0.3.40
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling lzma-rs v0.3.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.5
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling rust-ini v0.21.1
[INFO] [stderr]    Compiling ctor v0.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling bzip2 v0.5.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]    Compiling libz-rs-sys v0.5.0
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling zip v3.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling env-file-reader v0.3.0
[INFO] [stderr]    Compiling loggit v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Once`
[INFO] [stdout]   --> src/logger.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Once;
[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: `fs::File`
[INFO] [stdout]  --> src/logger/file_handler/file_manager.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:549:42
[INFO] [stdout]     |
[INFO] [stdout] 549 |                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout]     |                                          ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 549 -                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout] 549 +                     let secs_desirable = (h * 60 * 60) + (m * 60);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut file = match std::fs::OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_res`
[INFO] [stdout]    --> src/logger/from_file_config.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let read_res = file
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_res`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:24
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seconds_to_ymdhms` is never used
[INFO] [stdout]   --> src/helper.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn seconds_to_ymdhms(mut seconds: u64) -> (u64, u64, u64, u64, u64, u64) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToWriteToArchive` is never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub(crate) enum CompressFileError {
[INFO] [stdout]    |                 ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 |     UnableToWriteToArchive,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompressFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnableToVerifyFileExistence`, `UnableToCreateFile`, and `UnableToOpenFile` are never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) enum VerifyConstraintsError {
[INFO] [stdout]    |                 ---------------------- variants in this enum
[INFO] [stdout] 74 |     #[error("unable to verify file existence {0}")]
[INFO] [stdout] 75 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 76 |     #[error("unable to create file {0} {1}")]
[INFO] [stdout] 77 |     UnableToCreateFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     #[error("unable to open file: {0} {1}")]
[INFO] [stdout] 79 |     UnableToOpenFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VerifyConstraintsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToVerifyFileExistence` is never constructed
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) enum CreateNewFileError {
[INFO] [stdout]     |                 ------------------ variant in this enum
[INFO] [stdout] 102 |     #[error("unable to verify that the file exists: {0}")]
[INFO] [stdout] 103 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CreateNewFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_file_name`, `remove_rotations`, and `remove_compression` are never used
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl FileManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub(crate) fn get_file_name(&self) -> String {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub(crate) fn remove_rotations(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub(crate) fn remove_compression(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `End` is never constructed
[INFO] [stdout]    --> src/logger/formatter.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | enum ParseParts {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 200 |     End,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParseParts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_json_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:4
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_ini_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:4
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.23s
[INFO] running `Command { std: "docker" "inspect" "79cc4c6a2338b6d5f6af0da29bf76e3c4969f034433ddaae375fd7fef9a1f312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79cc4c6a2338b6d5f6af0da29bf76e3c4969f034433ddaae375fd7fef9a1f312", kill_on_drop: false }`
[INFO] [stdout] 79cc4c6a2338b6d5f6af0da29bf76e3c4969f034433ddaae375fd7fef9a1f312
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a7d661289ba0db47e94238dde1ef46c24c49dc73333c5b1515bccbcf4aaf1ae0
[INFO] running `Command { std: "docker" "start" "-a" "a7d661289ba0db47e94238dde1ef46c24c49dc73333c5b1515bccbcf4aaf1ae0", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::sync::Once`
[INFO] [stdout]   --> src/logger.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Once;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling loggit v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs::File`
[INFO] [stdout]  --> src/logger/file_handler/file_manager.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:549:42
[INFO] [stdout]     |
[INFO] [stdout] 549 |                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout]     |                                          ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 549 -                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout] 549 +                     let secs_desirable = (h * 60 * 60) + (m * 60);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut file = match std::fs::OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_res`
[INFO] [stdout]    --> src/logger/from_file_config.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let read_res = file
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_res`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:24
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seconds_to_ymdhms` is never used
[INFO] [stdout]   --> src/helper.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn seconds_to_ymdhms(mut seconds: u64) -> (u64, u64, u64, u64, u64, u64) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToWriteToArchive` is never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub(crate) enum CompressFileError {
[INFO] [stdout]    |                 ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 |     UnableToWriteToArchive,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompressFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnableToVerifyFileExistence`, `UnableToCreateFile`, and `UnableToOpenFile` are never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) enum VerifyConstraintsError {
[INFO] [stdout]    |                 ---------------------- variants in this enum
[INFO] [stdout] 74 |     #[error("unable to verify file existence {0}")]
[INFO] [stdout] 75 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 76 |     #[error("unable to create file {0} {1}")]
[INFO] [stdout] 77 |     UnableToCreateFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     #[error("unable to open file: {0} {1}")]
[INFO] [stdout] 79 |     UnableToOpenFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VerifyConstraintsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToVerifyFileExistence` is never constructed
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) enum CreateNewFileError {
[INFO] [stdout]     |                 ------------------ variant in this enum
[INFO] [stdout] 102 |     #[error("unable to verify that the file exists: {0}")]
[INFO] [stdout] 103 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CreateNewFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_file_name`, `remove_rotations`, and `remove_compression` are never used
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl FileManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub(crate) fn get_file_name(&self) -> String {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub(crate) fn remove_rotations(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub(crate) fn remove_compression(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `End` is never constructed
[INFO] [stdout]    --> src/logger/formatter.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | enum ParseParts {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 200 |     End,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParseParts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_json_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:4
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_ini_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:4
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/archivation_rotation.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ts = chrono::Utc::now().timestamp_nanos();
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/multi_thread.rs:49:58
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let prefix = format!("mt_log_{}", chrono::Utc::now().timestamp_nanos());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/multi_thread.rs:49:58
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let prefix = format!("mt_log_{}", chrono::Utc::now().timestamp_nanos());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/multi_thread.rs:88:62
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let prefix = format!("level_flip_{}", chrono::Utc::now().timestamp_nanos());
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/archivation_rotation.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ts = chrono::Utc::now().timestamp_nanos();
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> tests/multi_thread.rs:88:62
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let prefix = format!("level_flip_{}", chrono::Utc::now().timestamp_nanos());
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/tests/from_env_config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     sync::Mutex,
[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: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/tests/from_env_config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SetColorizedError`
[INFO] [stdout]   --> src/tests/from_env_config.rs:18:76
[INFO] [stdout]    |
[INFO] [stdout] 18 |             AddRotationError, ReadFromConfigFileError, SetArchiveDirError, SetColorizedError,
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Once`
[INFO] [stdout]   --> src/logger.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Once;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::File`
[INFO] [stdout]  --> src/logger/file_handler/file_manager.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:549:42
[INFO] [stdout]     |
[INFO] [stdout] 549 |                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout]     |                                          ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 549 -                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout] 549 +                     let secs_desirable = (h * 60 * 60) + (m * 60);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut file = match std::fs::OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_res`
[INFO] [stdout]    --> src/logger/from_file_config.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let read_res = file
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_res`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:24
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToWriteToArchive` is never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub(crate) enum CompressFileError {
[INFO] [stdout]    |                 ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 |     UnableToWriteToArchive,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompressFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnableToVerifyFileExistence`, `UnableToCreateFile`, and `UnableToOpenFile` are never constructed
[INFO] [stdout]   --> src/logger/file_handler/file_manager.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) enum VerifyConstraintsError {
[INFO] [stdout]    |                 ---------------------- variants in this enum
[INFO] [stdout] 74 |     #[error("unable to verify file existence {0}")]
[INFO] [stdout] 75 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 76 |     #[error("unable to create file {0} {1}")]
[INFO] [stdout] 77 |     UnableToCreateFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     #[error("unable to open file: {0} {1}")]
[INFO] [stdout] 79 |     UnableToOpenFile(String, std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VerifyConstraintsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnableToVerifyFileExistence` is never constructed
[INFO] [stdout]    --> src/logger/file_handler/file_manager.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) enum CreateNewFileError {
[INFO] [stdout]     |                 ------------------ variant in this enum
[INFO] [stdout] 102 |     #[error("unable to verify that the file exists: {0}")]
[INFO] [stdout] 103 |     UnableToVerifyFileExistence(std::io::Error),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CreateNewFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `End` is never constructed
[INFO] [stdout]    --> src/logger/formatter.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | enum ParseParts {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 200 |     End,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParseParts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_json_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:405:4
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn read_from_json_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_ini_file` is never used
[INFO] [stdout]    --> src/logger/from_file_config.rs:407:4
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn read_from_ini_file(path: &str) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tests/mod.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     logger::set_print_to_terminal(true);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let _ = logger::set_print_to_terminal(true);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tests/mod.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     logger::set_file("app_{date}_{time}.txt");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let _ = logger::set_file("app_{date}_{time}.txt");
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tests/mod.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 |     logger::set_compression("zip");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let _ = logger::set_compression("zip");
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tests/mod.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     logger::add_rotation("1 day");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let _ = logger::add_rotation("1 day");
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s
[INFO] running `Command { std: "docker" "inspect" "a7d661289ba0db47e94238dde1ef46c24c49dc73333c5b1515bccbcf4aaf1ae0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7d661289ba0db47e94238dde1ef46c24c49dc73333c5b1515bccbcf4aaf1ae0", kill_on_drop: false }`
[INFO] [stdout] a7d661289ba0db47e94238dde1ef46c24c49dc73333c5b1515bccbcf4aaf1ae0
