[INFO] fetching crate grpc_logger 0.10.0... [INFO] checking grpc_logger-0.10.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate grpc_logger 0.10.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate grpc_logger 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate grpc_logger 0.10.0 [INFO] tweaked toml for crates.io crate grpc_logger 0.10.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grpc_logger 0.10.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate grpc_logger 0.10.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f967761fec638e0deed6e442f41bbd8c394e4eb33bbdc456d1ea5784f0910c3f [INFO] running `Command { std: "docker" "start" "-a" "f967761fec638e0deed6e442f41bbd8c394e4eb33bbdc456d1ea5784f0910c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f967761fec638e0deed6e442f41bbd8c394e4eb33bbdc456d1ea5784f0910c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f967761fec638e0deed6e442f41bbd8c394e4eb33bbdc456d1ea5784f0910c3f", kill_on_drop: false }` [INFO] [stdout] f967761fec638e0deed6e442f41bbd8c394e4eb33bbdc456d1ea5784f0910c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a66a5d23ecf6b6820bf54252a0f6a8ad55f0aec0febd34df3dc00855ec78549a [INFO] running `Command { std: "docker" "start" "-a" "a66a5d23ecf6b6820bf54252a0f6a8ad55f0aec0febd34df3dc00855ec78549a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking prost-types v0.13.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-build v0.13.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Compiling grpc_logger v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking tonic-reflection v0.12.3 [INFO] [stderr] Checking tonic-web v0.12.3 [INFO] [stdout] warning: struct `BatchingGrpcWriter` is never constructed [INFO] [stdout] --> src/grpc/writer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BatchingGrpcWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grpc/writer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BatchingGrpcWriter { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(sender: mpsc::UnboundedSender, buffer_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/grpc/layer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.service.broadcast_log(log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn std::error::Error + Send + Sync: Sized` is not satisfied [INFO] [stdout] --> examples/basic.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let config = load_config("examples/basic.yaml")?; [INFO] [stdout] | ----------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error + Send + Sync` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `std::error::Error` [INFO] [stdout] = note: required for `Box` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn std::error::Error + Send + Sync: Sized` is not satisfied [INFO] [stdout] --> examples/basic.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | service.init(&config).await?; [INFO] [stdout] | ---------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error + Send + Sync` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `std::error::Error` [INFO] [stdout] = note: required for `Box` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_logger` (example "basic") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error + Send + Sync` cannot be known at compilation time [INFO] [stdout] --> examples/retry.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | return Err(e.into()); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error + Send + Sync` [INFO] [stdout] = note: required for `Box` to implement `std::error::Error` [INFO] [stdout] = note: required for `Box` to implement `From>` [INFO] [stdout] = note: required for `Box` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check_connection` found for struct `LoggingService` in the current scope [INFO] [stdout] --> examples/retry.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(e) = service.check_connection().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggingService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn std::error::Error + Send + Sync: Sized` is not satisfied [INFO] [stdout] --> examples/retry.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | let config = load_config("examples/retry.yaml")?; [INFO] [stdout] | ----------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error + Send + Sync` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `std::error::Error` [INFO] [stdout] = note: required for `Box` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_logger` (example "retry") due to 3 previous errors [INFO] [stdout] warning: struct `BatchingGrpcWriter` is never constructed [INFO] [stdout] --> src/grpc/writer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BatchingGrpcWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grpc/writer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BatchingGrpcWriter { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(sender: mpsc::UnboundedSender, buffer_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/grpc/layer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.service.broadcast_log(log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn std::error::Error + Send + Sync: Sized` is not satisfied [INFO] [stdout] --> examples/client.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | let config = load_config("examples/client.yaml")?; [INFO] [stdout] | -----------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error + Send + Sync` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `std::error::Error` [INFO] [stdout] = note: required for `Box` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_logger` (example "client") due to 1 previous error [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LogConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub output: LogOutput, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub whoami: Option, // Add whoami field [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub grpc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | #[serde(default)] [INFO] [stdout] 54 | pub server_retry: ServerRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | #[serde(default)] [INFO] [stdout] 56 | pub client_retry: ClientRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | #[serde(default)] [INFO] [stdout] 58 | pub log_fields: LogFieldsConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | #[serde(default)] [INFO] [stdout] 60 | pub debug_mode: DebugConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | #[serde(default = "default_log_all_messages")] [INFO] [stdout] 62 | pub log_all_messages: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogConfig` 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: struct `CustomTimer` is never constructed [INFO] [stdout] --> src/config.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct CustomTimer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFormatter` is never constructed [INFO] [stdout] --> src/config.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct CustomFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_timestamp`, `write_level`, `write_metadata`, and `write_location_info` are never used [INFO] [stdout] --> src/config.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl CustomFormatter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 139 | fn write_timestamp(&self, writer: &mut Writer<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn write_level(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn write_metadata(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn write_location_info(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn load_config(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging` is never used [INFO] [stdout] --> src/config.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn setup_logging( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `port` are never read [INFO] [stdout] --> src/grpc/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GrpcConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrpcConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrpcLayer` is never constructed [INFO] [stdout] --> src/grpc/layer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GrpcLayer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchingGrpcWriter` is never constructed [INFO] [stdout] --> src/grpc/writer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BatchingGrpcWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grpc/writer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BatchingGrpcWriter { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(sender: mpsc::UnboundedSender, buffer_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingService` is never constructed [INFO] [stdout] --> src/server_build.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LoggingService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `start_server`, and `broadcast_log` are never used [INFO] [stdout] --> src/server_build.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl LoggingService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn init(&self, config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn start_server(&self, config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn broadcast_log(&self, log: LogMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal_message` is never used [INFO] [stdout] --> src/server_build.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn is_internal_message(log: &LogMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/grpc/layer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.service.broadcast_log(log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LogConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub output: LogOutput, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub whoami: Option, // Add whoami field [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub grpc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | #[serde(default)] [INFO] [stdout] 54 | pub server_retry: ServerRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | #[serde(default)] [INFO] [stdout] 56 | pub client_retry: ClientRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | #[serde(default)] [INFO] [stdout] 58 | pub log_fields: LogFieldsConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | #[serde(default)] [INFO] [stdout] 60 | pub debug_mode: DebugConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | #[serde(default = "default_log_all_messages")] [INFO] [stdout] 62 | pub log_all_messages: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogConfig` 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: struct `CustomTimer` is never constructed [INFO] [stdout] --> src/config.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct CustomTimer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFormatter` is never constructed [INFO] [stdout] --> src/config.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct CustomFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_timestamp`, `write_level`, `write_metadata`, and `write_location_info` are never used [INFO] [stdout] --> src/config.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl CustomFormatter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 139 | fn write_timestamp(&self, writer: &mut Writer<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn write_level(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn write_metadata(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn write_location_info(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn load_config(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging` is never used [INFO] [stdout] --> src/config.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn setup_logging( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `port` are never read [INFO] [stdout] --> src/grpc/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GrpcConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrpcConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrpcLayer` is never constructed [INFO] [stdout] --> src/grpc/layer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GrpcLayer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchingGrpcWriter` is never constructed [INFO] [stdout] --> src/grpc/writer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct BatchingGrpcWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grpc/writer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BatchingGrpcWriter { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(sender: mpsc::UnboundedSender, buffer_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingService` is never constructed [INFO] [stdout] --> src/server_build.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LoggingService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `start_server`, and `broadcast_log` are never used [INFO] [stdout] --> src/server_build.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl LoggingService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn init(&self, config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn start_server(&self, config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn broadcast_log(&self, log: LogMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal_message` is never used [INFO] [stdout] --> src/server_build.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn is_internal_message(log: &LogMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/grpc/layer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | self.service.broadcast_log(log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a66a5d23ecf6b6820bf54252a0f6a8ad55f0aec0febd34df3dc00855ec78549a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66a5d23ecf6b6820bf54252a0f6a8ad55f0aec0febd34df3dc00855ec78549a", kill_on_drop: false }` [INFO] [stdout] a66a5d23ecf6b6820bf54252a0f6a8ad55f0aec0febd34df3dc00855ec78549a