[INFO] cloning repository https://github.com/DobbiKov/loggit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DobbiKov/loggit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Floggit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Floggit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a62b588fb065e1a5b452d33296042b51cd7b5e6f
[INFO] checking DobbiKov/loggit against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Floggit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DobbiKov/loggit
[INFO] finished tweaking git repo https://github.com/DobbiKov/loggit
[INFO] tweaked toml for git repo https://github.com/DobbiKov/loggit written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DobbiKov/loggit on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DobbiKov/loggit 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded dtor-proc-macro v0.0.5
[INFO] [stderr]   Downloaded libz-rs-sys v0.5.0
[INFO] [stderr]   Downloaded lalrpop-util v0.19.12
[INFO] [stderr]   Downloaded env-file-reader v0.3.0
[INFO] [stderr]   Downloaded ctor-proc-macro v0.0.5
[INFO] [stderr]   Downloaded ctor v0.4.2
[INFO] [stderr]   Downloaded dtor v0.0.6
[INFO] [stderr]   Downloaded redox_users v0.5.0
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded bzip2 v0.5.2
[INFO] [stderr]   Downloaded hermit-abi v0.5.0
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded redox_syscall v0.5.11
[INFO] [stderr]   Downloaded zip v3.0.0
[INFO] [stderr]   Downloaded time v0.3.40
[INFO] [stderr]   Downloaded zlib-rs v0.5.0
[INFO] [stderr]   Downloaded lalrpop v0.19.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110
[INFO] running `Command { std: "docker" "start" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking zlib-rs v0.5.0
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking lockfree-object-pool v0.1.6
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.5
[INFO] [stderr]     Checking bumpalo v3.17.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking zopfli v0.8.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking dtor v0.0.6
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[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]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking libz-rs-sys v0.5.0
[INFO] [stderr]     Checking time v0.3.40
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.5
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking rust-ini v0.21.1
[INFO] [stderr]     Checking 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]     Checking xz2 v0.1.7
[INFO] [stderr]     Checking bzip2 v0.5.2
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking zip v3.0.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]    Compiling env-file-reader v0.3.0
[INFO] [stderr]     Checking 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:544:42
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     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] 544 -                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout] 544 +                     let secs_desirable = (h * 60 * 60) + (m * 60);
[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:544:42
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     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] 544 -                     let secs_desirable = ((h * 60 * 60) + (m * 60));
[INFO] [stdout] 544 +                     let secs_desirable = (h * 60 * 60) + (m * 60);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/helper.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[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: unused import: `std::io::Write`
[INFO] [stdout]  --> src/helper.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[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: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: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: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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 47.42s
[INFO] running `Command { std: "docker" "inspect" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110", kill_on_drop: false }`
[INFO] [stdout] 153cf3f6955c20894001aa0bf490ecff67c0468774872e53c36e7945794d3110
