[INFO] cloning repository https://github.com/bennekrouf/swiss-logger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bennekrouf/swiss-logger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennekrouf%2Fswiss-logger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennekrouf%2Fswiss-logger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff6349da4a8edbc7ce59e036545a024bade1d812 [INFO] checking bennekrouf/swiss-logger against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennekrouf%2Fswiss-logger" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bennekrouf/swiss-logger [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/bennekrouf/swiss-logger [INFO] tweaked toml for git repo https://github.com/bennekrouf/swiss-logger written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bennekrouf/swiss-logger on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bennekrouf/swiss-logger 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded uuid v1.13.1 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded tonic-reflection v0.12.3 [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded prost-build v0.13.4 [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded cc v1.2.11 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded prost-types v0.13.4 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded prost v0.13.4 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded log v0.4.25 [INFO] [stderr] Downloaded prost-derive v0.13.4 [INFO] [stderr] Downloaded tonic-web v0.12.3 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4924f94dbd51f6a9ac76ec1ada30484f53ad5c101437ff8e809184621228de14 [INFO] running `Command { std: "docker" "start" "-a" "4924f94dbd51f6a9ac76ec1ada30484f53ad5c101437ff8e809184621228de14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4924f94dbd51f6a9ac76ec1ada30484f53ad5c101437ff8e809184621228de14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4924f94dbd51f6a9ac76ec1ada30484f53ad5c101437ff8e809184621228de14", kill_on_drop: false }` [INFO] [stdout] 4924f94dbd51f6a9ac76ec1ada30484f53ad5c101437ff8e809184621228de14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d275489474bdf7f67af1e0d413eb3fb253787f46d0784c019dc3d258daaf33e [INFO] running `Command { std: "docker" "start" "-a" "8d275489474bdf7f67af1e0d413eb3fb253787f46d0784c019dc3d258daaf33e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking uuid v1.13.1 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [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] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking prost-types v0.13.4 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling prost-build v0.13.4 [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] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling grpc_logger v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.4.13 [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-web v0.12.3 [INFO] [stderr] Checking tonic-reflection v0.12.3 [INFO] [stdout] warning: use of deprecated associated function `server_build::logging::ClientType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/server_build.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | let client_type = ClientType::from_i32(request_inner.client_type) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server_build::logging::ClientType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/server_build.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | let client_type = ClientType::from_i32(request_inner.client_type) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> examples/client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> examples/client.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[command(author, version, about, long_about = None)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/client.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[arg(long, default_value = "default-client")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> examples/client.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | info!("Starting log client with ID: {}", args.client_id); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc_logger::config::ClientRetryConfig` [INFO] [stdout] --> examples/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use grpc_logger::config::ClientRetryConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server_build::logging::ClientType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/server_build.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | let client_type = ClientType::from_i32(request_inner.client_type) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tonic::transport::Error` [INFO] [stdout] --> examples/client.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | let config = load_config("examples/client.yaml")?; [INFO] [stdout] | -----------------------------------^ the trait `From>` is not implemented for `tonic::transport::Error` [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] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server_build::logging::ClientType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/server_build.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | let client_type = ClientType::from_i32(request_inner.client_type) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> examples/client.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 17 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] candidate #3: `time::parsing::parsable::sealed::Sealed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `client_type` and `server_name` in initializer of `logging::SubscribeRequest` [INFO] [stdout] --> examples/client.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let request = SubscribeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `client_type` and `server_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_logger` (example "client") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LogConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | pub output: LogOutput, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | pub server_id: Option, // Add server_id field [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub grpc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | #[serde(default)] [INFO] [stdout] 43 | pub server_retry: ServerRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | #[serde(default)] [INFO] [stdout] 45 | pub client_retry: ClientRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | pub log_fields: LogFieldsConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | #[serde(default)] [INFO] [stdout] 49 | pub debug_mode: DebugConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | #[serde(default = "default_log_all_messages")] [INFO] [stdout] 51 | 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:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CustomTimer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFormatter` is never constructed [INFO] [stdout] --> src/config.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub 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:127:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl CustomFormatter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 127 | fn write_timestamp(&self, writer: &mut Writer<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn write_level(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn write_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn write_location_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn load_config(path: &str) -> Result> { [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 `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`, `broadcast_log_filtered`, `broadcast_log`, and `check_connection` are never used [INFO] [stdout] --> src/server_build.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl LoggingService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn start_server( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub async fn broadcast_log_filtered(&self, log: LogMessage, client_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn broadcast_log(&self, log: LogMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn check_connection(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal_message` is never used [INFO] [stdout] --> src/server_build.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn is_internal_message(log: &LogMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging` is never used [INFO] [stdout] --> src/setup_logging.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn setup_logging(config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging_internal` is never used [INFO] [stdout] --> src/setup_logging.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn setup_logging_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LogConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | pub output: LogOutput, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | pub server_id: Option, // Add server_id field [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub grpc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | #[serde(default)] [INFO] [stdout] 43 | pub server_retry: ServerRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | #[serde(default)] [INFO] [stdout] 45 | pub client_retry: ClientRetryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | pub log_fields: LogFieldsConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | #[serde(default)] [INFO] [stdout] 49 | pub debug_mode: DebugConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | #[serde(default = "default_log_all_messages")] [INFO] [stdout] 51 | 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:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CustomTimer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFormatter` is never constructed [INFO] [stdout] --> src/config.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub 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:127:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl CustomFormatter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 127 | fn write_timestamp(&self, writer: &mut Writer<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn write_level(&self, writer: &mut Writer<'_>, event: &tracing::Event<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn write_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn write_location_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn load_config(path: &str) -> Result> { [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 `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`, `broadcast_log_filtered`, `broadcast_log`, and `check_connection` are never used [INFO] [stdout] --> src/server_build.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl LoggingService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn start_server( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub async fn broadcast_log_filtered(&self, log: LogMessage, client_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn broadcast_log(&self, log: LogMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn check_connection(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal_message` is never used [INFO] [stdout] --> src/server_build.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn is_internal_message(log: &LogMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging` is never used [INFO] [stdout] --> src/setup_logging.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn setup_logging(config: &LogConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logging_internal` is never used [INFO] [stdout] --> src/setup_logging.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn setup_logging_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d275489474bdf7f67af1e0d413eb3fb253787f46d0784c019dc3d258daaf33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d275489474bdf7f67af1e0d413eb3fb253787f46d0784c019dc3d258daaf33e", kill_on_drop: false }` [INFO] [stdout] 8d275489474bdf7f67af1e0d413eb3fb253787f46d0784c019dc3d258daaf33e