[INFO] fetching crate winston 0.7.1... [INFO] checking winston-0.7.1 against try#f93f9bd1edfdb032bbf1c02773329541b22aa5a7 for pr-150727-1 [INFO] extracting crate winston 0.7.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate winston 0.7.1 on toolchain f93f9bd1edfdb032bbf1c02773329541b22aa5a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "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" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 549bcf9e6e964a4180fec7212aad242cb71f2531e233ec86dbb1c0c52e8c0cba [INFO] running `Command { std: "docker" "start" "-a" "549bcf9e6e964a4180fec7212aad242cb71f2531e233ec86dbb1c0c52e8c0cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "549bcf9e6e964a4180fec7212aad242cb71f2531e233ec86dbb1c0c52e8c0cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549bcf9e6e964a4180fec7212aad242cb71f2531e233ec86dbb1c0c52e8c0cba", kill_on_drop: false }` [INFO] [stdout] 549bcf9e6e964a4180fec7212aad242cb71f2531e233ec86dbb1c0c52e8c0cba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c7e791ce1a42edc4b92fb66045e29a3f524babfb303a084275c9c815d393afc [INFO] running `Command { std: "docker" "start" "-a" "2c7e791ce1a42edc4b92fb66045e29a3f524babfb303a084275c9c815d393afc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking serde_json v1.0.145 [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] Checking regex v1.11.1 [INFO] [stderr] Checking dateparser v0.2.1 [INFO] [stderr] Checking parse_datetime v0.6.0 [INFO] [stderr] Checking logform v0.6.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling pest_derive v2.8.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: 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: 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: 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`, `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: 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] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> tests/global_logger.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[should_panic(expected = "Global logger already initialized")] [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`, `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: 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 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: 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] [stderr] error: could not compile `winston` (test "global_logger") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "2c7e791ce1a42edc4b92fb66045e29a3f524babfb303a084275c9c815d393afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7e791ce1a42edc4b92fb66045e29a3f524babfb303a084275c9c815d393afc", kill_on_drop: false }` [INFO] [stdout] 2c7e791ce1a42edc4b92fb66045e29a3f524babfb303a084275c9c815d393afc