[INFO] fetching crate ironlog 0.2.7... [INFO] checking ironlog-0.2.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ironlog 0.2.7 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ironlog 0.2.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ironlog 0.2.7 [INFO] tweaked toml for crates.io crate ironlog 0.2.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ironlog 0.2.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ironlog 0.2.7 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b2cf7e26c0368a55157d054e540e9769f2410435f4fa1861d89a138927e718a [INFO] running `Command { std: "docker" "start" "-a" "7b2cf7e26c0368a55157d054e540e9769f2410435f4fa1861d89a138927e718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b2cf7e26c0368a55157d054e540e9769f2410435f4fa1861d89a138927e718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2cf7e26c0368a55157d054e540e9769f2410435f4fa1861d89a138927e718a", kill_on_drop: false }` [INFO] [stdout] 7b2cf7e26c0368a55157d054e540e9769f2410435f4fa1861d89a138927e718a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6871235509de15449ecd17b363c440bee66a2f2285f2d455301f29435c3b7c [INFO] running `Command { std: "docker" "start" "-a" "cc6871235509de15449ecd17b363c440bee66a2f2285f2d455301f29435c3b7c", 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 version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling deranged v0.3.11 [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 tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [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 is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Compiling ironlog v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking clap v4.5.19 [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)]` 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 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)]` 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 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)]` 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 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 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)]` on by default [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: `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, [INFO] [stdout] 127 | | log_stats: Arc>, [INFO] [stdout] 128 | | log_sender: mpsc::Sender, [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)]` 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, [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 { [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, [INFO] [stdout] 127 | | log_stats: Arc>, [INFO] [stdout] 128 | | log_sender: mpsc::Sender, [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)]` 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, [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 { [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)]` 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)]` 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)]` 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)]` 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 4m 00s [INFO] running `Command { std: "docker" "inspect" "cc6871235509de15449ecd17b363c440bee66a2f2285f2d455301f29435c3b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6871235509de15449ecd17b363c440bee66a2f2285f2d455301f29435c3b7c", kill_on_drop: false }` [INFO] [stdout] cc6871235509de15449ecd17b363c440bee66a2f2285f2d455301f29435c3b7c