[INFO] cloning repository https://github.com/heety313/ironlog
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heety313/ironlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheety313%2Fironlog", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheety313%2Fironlog'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df5fe4efd77674f03e9292870b758729b2fe6ede
[INFO] checking heety313/ironlog against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheety313%2Fironlog" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/heety313/ironlog
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/heety313/ironlog
[INFO] tweaked toml for git repo https://github.com/heety313/ironlog written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/heety313/ironlog on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/heety313/ironlog 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7f9cd2c1a0133d02e9e4d9fbaaa006bb53ecdea8de0bf99838185d23bce9383
[INFO] running `Command { std: "docker" "start" "-a" "b7f9cd2c1a0133d02e9e4d9fbaaa006bb53ecdea8de0bf99838185d23bce9383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7f9cd2c1a0133d02e9e4d9fbaaa006bb53ecdea8de0bf99838185d23bce9383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7f9cd2c1a0133d02e9e4d9fbaaa006bb53ecdea8de0bf99838185d23bce9383", kill_on_drop: false }`
[INFO] [stdout] b7f9cd2c1a0133d02e9e4d9fbaaa006bb53ecdea8de0bf99838185d23bce9383
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae35256e8a718e2286f9f750b300959d02005a63991a67c4c4e3d2ee47049703
[INFO] running `Command { std: "docker" "start" "-a" "ae35256e8a718e2286f9f750b300959d02005a63991a67c4c4e3d2ee47049703", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]     Checking winnow v0.6.20
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]    Compiling ironlog v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking clap_builder v4.5.19
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking include_dir v0.7.4
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]     Checking pear v0.2.9
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking clap v4.5.19
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking toml v0.8.19
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking rocket-include-dir v1.1.0
[INFO] [stdout] warning: unused import: `rocket::http::ContentType`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rocket::http::ContentType;
[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: `rocket::form::FromForm`
[INFO] [stdout]  --> src/types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rocket::form::FromForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::serde::json::Json`
[INFO] [stdout]  --> src/types.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rocket::serde::json::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Dir` and `include_dir`
[INFO] [stdout]  --> src/types.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use include_dir::{include_dir, Dir};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]  --> src/types.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SqlitePool` and `sqlite::SqlitePoolOptions`
[INFO] [stdout]  --> src/types.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::ContentType`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rocket::http::ContentType;
[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: `rocket::form::FromForm`
[INFO] [stdout]  --> src/types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rocket::form::FromForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::serde::json::Json`
[INFO] [stdout]  --> src/types.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rocket::serde::json::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Dir` and `include_dir`
[INFO] [stdout]  --> src/types.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use include_dir::{include_dir, Dir};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]  --> src/types.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SqlitePool` and `sqlite::SqlitePoolOptions`
[INFO] [stdout]  --> src/types.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/types.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stdout]   |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_queue`
[INFO] [stdout]    --> src/client_handler.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let log_queue = LogQueue::new(10000);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_queue`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/client_handler.rs:186:76
[INFO] [stdout]     |
[INFO] [stdout] 186 | async fn write_logs_to_database(logs: &[LogMessage], db_pool: &SqlitePool, config: &Config) {
[INFO] [stdout]     |                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_pool`
[INFO] [stdout]    --> src/client_handler.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     db_pool: SqlitePool,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/client_handler.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |             let index = LOG_INDEX.fetch_add(1, Ordering::SeqCst);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/types.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stdout]   |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `LogStats` is more private than the item `handle_client`
[INFO] [stdout]    --> src/client_handler.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | / pub async fn handle_client(
[INFO] [stdout] 124 | |     socket: TcpStream,
[INFO] [stdout] 125 | |     db_pool: SqlitePool,
[INFO] [stdout] 126 | |     config: Arc<Config>,
[INFO] [stdout] 127 | |     log_stats: Arc<Mutex<LogStats>>,
[INFO] [stdout] 128 | |     log_sender: mpsc::Sender<LogMessage>,
[INFO] [stdout] 129 | | ) {
[INFO] [stdout]     | |_^ function `handle_client` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `LogStats` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/client_handler.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct LogStats {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_addr` is never read
[INFO] [stdout]   --> src/lib.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct TcpLogger {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 21 |     server_addr: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `max_size` are never read
[INFO] [stdout]   --> src/client_handler.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct LogQueue {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 21 |     queue: VecDeque<LogMessage>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 22 |     max_size: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/client_handler.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LogQueue {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn push(&mut self, log: LogMessage) -> Option<LogMessage> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_queue`
[INFO] [stdout]    --> src/client_handler.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let log_queue = LogQueue::new(10000);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_queue`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/client_handler.rs:186:76
[INFO] [stdout]     |
[INFO] [stdout] 186 | async fn write_logs_to_database(logs: &[LogMessage], db_pool: &SqlitePool, config: &Config) {
[INFO] [stdout]     |                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_pool`
[INFO] [stdout]    --> src/client_handler.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     db_pool: SqlitePool,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/client_handler.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |             let index = LOG_INDEX.fetch_add(1, Ordering::SeqCst);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `LogStats` is more private than the item `handle_client`
[INFO] [stdout]    --> src/client_handler.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | / pub async fn handle_client(
[INFO] [stdout] 124 | |     socket: TcpStream,
[INFO] [stdout] 125 | |     db_pool: SqlitePool,
[INFO] [stdout] 126 | |     config: Arc<Config>,
[INFO] [stdout] 127 | |     log_stats: Arc<Mutex<LogStats>>,
[INFO] [stdout] 128 | |     log_sender: mpsc::Sender<LogMessage>,
[INFO] [stdout] 129 | | ) {
[INFO] [stdout]     | |_^ function `handle_client` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `LogStats` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/client_handler.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | struct LogStats {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_addr` is never read
[INFO] [stdout]   --> src/lib.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct TcpLogger {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 21 |     server_addr: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `max_size` are never read
[INFO] [stdout]   --> src/client_handler.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct LogQueue {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 21 |     queue: VecDeque<LogMessage>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 22 |     max_size: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/client_handler.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LogQueue {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn push(&mut self, log: LogMessage) -> Option<LogMessage> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/bin/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde::{Deserialize, Serialize};
[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: `Deserialize`
[INFO] [stdout]   --> src/bin/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_timestamp` is never used
[INFO] [stdout]   --> src/bin/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn default_timestamp() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_files` is never used
[INFO] [stdout]    --> src/bin/main.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn list_files() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_timestamp` is never used
[INFO] [stdout]   --> src/bin/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn default_timestamp() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_files` is never used
[INFO] [stdout]    --> src/bin/main.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn list_files() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "ae35256e8a718e2286f9f750b300959d02005a63991a67c4c4e3d2ee47049703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae35256e8a718e2286f9f750b300959d02005a63991a67c4c4e3d2ee47049703", kill_on_drop: false }`
[INFO] [stdout] ae35256e8a718e2286f9f750b300959d02005a63991a67c4c4e3d2ee47049703
