[INFO] fetching crate loggit 0.1.9... [INFO] checking loggit-0.1.9 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate loggit 0.1.9 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate loggit 0.1.9 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 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" "+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] d1e5ba87241f27ac101e40ddd5e1da9cf5e89d42ea332b8a3f6858c8347d1dd4 [INFO] running `Command { std: "docker" "start" "-a" "d1e5ba87241f27ac101e40ddd5e1da9cf5e89d42ea332b8a3f6858c8347d1dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e5ba87241f27ac101e40ddd5e1da9cf5e89d42ea332b8a3f6858c8347d1dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e5ba87241f27ac101e40ddd5e1da9cf5e89d42ea332b8a3f6858c8347d1dd4", kill_on_drop: false }` [INFO] [stdout] d1e5ba87241f27ac101e40ddd5e1da9cf5e89d42ea332b8a3f6858c8347d1dd4 [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] b6807e5374547502d2a9345563e363765ebb12308bcd5f4cf187708c1e4e2489 [INFO] running `Command { std: "docker" "start" "-a" "b6807e5374547502d2a9345563e363765ebb12308bcd5f4cf187708c1e4e2489", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking zlib-rs v0.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Compiling syn v2.0.100 [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 is-terminal v0.4.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking time-core v0.1.4 [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 hashbrown v0.14.5 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking libz-rs-sys v0.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking dtor v0.0.6 [INFO] [stderr] Checking time v0.3.40 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking ctor v0.4.2 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Compiling regex v1.11.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] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v3.0.0 [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)]` 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)]` 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: 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)]` 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)]` 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)]` 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)]` 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)]` 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::::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::::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::::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::::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::::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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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 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)]` 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)]` 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)]` 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 41.83s [INFO] running `Command { std: "docker" "inspect" "b6807e5374547502d2a9345563e363765ebb12308bcd5f4cf187708c1e4e2489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6807e5374547502d2a9345563e363765ebb12308bcd5f4cf187708c1e4e2489", kill_on_drop: false }` [INFO] [stdout] b6807e5374547502d2a9345563e363765ebb12308bcd5f4cf187708c1e4e2489