[INFO] fetching crate winston 0.7.1... [INFO] checking winston-0.7.1 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] extracting crate winston 0.7.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate winston 0.7.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate winston 0.7.1 [INFO] tweaked toml for crates.io crate winston 0.7.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winston 0.7.1 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate winston 0.7.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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 value-bag v1.11.1 [INFO] [stderr] Downloaded winston_proxy_transport v0.4.0 [INFO] [stderr] Downloaded jsonpath-rust v1.0.2 [INFO] [stderr] Downloaded winston_file v0.2.0 [INFO] [stderr] Downloaded parse_datetime v0.6.0 [INFO] [stderr] Downloaded dateparser v0.2.1 [INFO] [stderr] Downloaded logform v0.6.2 [INFO] [stderr] Downloaded winston_transport v0.6.0 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12c282764adb9853d229567e02189cb38c41a71ac3d8101a71db92320ee7761f [INFO] running `Command { std: "docker" "start" "-a" "12c282764adb9853d229567e02189cb38c41a71ac3d8101a71db92320ee7761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c282764adb9853d229567e02189cb38c41a71ac3d8101a71db92320ee7761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c282764adb9853d229567e02189cb38c41a71ac3d8101a71db92320ee7761f", kill_on_drop: false }` [INFO] [stdout] 12c282764adb9853d229567e02189cb38c41a71ac3d8101a71db92320ee7761f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32656f8585aa7f06f8a70705c2f4bf4ad65d2ebdcf72955d092db23c9ea6ff1e [INFO] running `Command { std: "docker" "start" "-a" "32656f8585aa7f06f8a70705c2f4bf4ad65d2ebdcf72955d092db23c9ea6ff1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking dateparser v0.2.1 [INFO] [stderr] Checking logform v0.6.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking parse_datetime v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking jsonpath-rust v1.0.2 [INFO] [stderr] Checking winston_transport v0.6.0 [INFO] [stderr] Checking winston_proxy_transport v0.4.0 [INFO] [stderr] Checking winston_file v0.2.0 [INFO] [stderr] Checking winston v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `winston_transport::Transport` [INFO] [stdout] --> src/logger_options.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winston_transport::Transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Configure` is never constructed [INFO] [stdout] --> src/logger.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum LogMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 71 | Entry(Arc), [INFO] [stdout] 72 | Configure(LoggerOptions), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` 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: associated function `is_level_enabled` is never used [INFO] [stdout] --> src/logger.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | fn is_level_enabled(entry_level: &str, state: &SharedState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/logger.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 541 | transport: impl Transport + Send + Sync + 'static, [INFO] [stdout] 542 | ) -> TransportBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | ) -> TransportBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated items `with_delay`, `clear_logs`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_count` [INFO] [stdout] --> tests/backpressure.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | let first_count = transport.log_count(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: methods `has_message` and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_message(&self, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/public_api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated items `with_config`, `with_delay`, `get_logs`, `clear_logs`, `has_message`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_config(config: MockConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_logs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_message(&self, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winston_transport::Transport` [INFO] [stdout] --> src/logger_options.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winston_transport::Transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated items `with_config`, `with_delay`, `get_logs`, `clear_logs`, `has_message`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_config(config: MockConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_logs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_message(&self, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated items `with_config`, `with_delay`, `get_logs`, `clear_logs`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_config(config: MockConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_logs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: methods `get_logs`, `clear_logs`, `has_message`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_logs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_message(&self, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated functions `with_config` and `with_delay` are never used [INFO] [stdout] --> tests/common/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_config(config: MockConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MockConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConfig` has derived impls for the traits `Debug` and `Clone`, but these are 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: associated items `with_config`, `with_delay`, `clear_logs`, and `has_level` are never used [INFO] [stdout] --> tests/common/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MockTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_config(config: MockConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_delay(delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temp_log_file` is never used [INFO] [stdout] --> tests/common/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn temp_log_file() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_file` is never used [INFO] [stdout] --> tests/common/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn cleanup_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_logs` is never used [INFO] [stdout] --> tests/common/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn wait_for_logs(logger: &winston::Logger) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Configure` is never constructed [INFO] [stdout] --> src/logger.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum LogMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 71 | Entry(Arc), [INFO] [stdout] 72 | Configure(LoggerOptions), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` 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: associated function `is_level_enabled` is never used [INFO] [stdout] --> src/logger.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | fn is_level_enabled(entry_level: &str, state: &SharedState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/logger.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 541 | transport: impl Transport + Send + Sync + 'static, [INFO] [stdout] 542 | ) -> TransportBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | ) -> TransportBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.22s [INFO] running `Command { std: "docker" "inspect" "32656f8585aa7f06f8a70705c2f4bf4ad65d2ebdcf72955d092db23c9ea6ff1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32656f8585aa7f06f8a70705c2f4bf4ad65d2ebdcf72955d092db23c9ea6ff1e", kill_on_drop: false }` [INFO] [stdout] 32656f8585aa7f06f8a70705c2f4bf4ad65d2ebdcf72955d092db23c9ea6ff1e