[INFO] fetching crate ironlog 0.2.7...
[INFO] testing ironlog-0.2.7 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-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 db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eafbe40aa7c8437acc42832f58b7b66202f87ad9bd8c7fa775ab733a1334f92d
[INFO] running `Command { std: "docker" "start" "-a" "eafbe40aa7c8437acc42832f58b7b66202f87ad9bd8c7fa775ab733a1334f92d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eafbe40aa7c8437acc42832f58b7b66202f87ad9bd8c7fa775ab733a1334f92d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eafbe40aa7c8437acc42832f58b7b66202f87ad9bd8c7fa775ab733a1334f92d", kill_on_drop: false }`
[INFO] [stdout] eafbe40aa7c8437acc42832f58b7b66202f87ad9bd8c7fa775ab733a1334f92d
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a9fe38975aa3cca3738e978e2db7d1f59e78f020664d7ffa2eada517f8f4016
[INFO] running `Command { std: "docker" "start" "-a" "1a9fe38975aa3cca3738e978e2db7d1f59e78f020664d7ffa2eada517f8f4016", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[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 pear_codegen v0.2.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling clap_builder v4.5.19
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling ironlog v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling clap v4.5.19
[INFO] [stderr]    Compiling 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: `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: 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: 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 2m 05s
[INFO] running `Command { std: "docker" "inspect" "1a9fe38975aa3cca3738e978e2db7d1f59e78f020664d7ffa2eada517f8f4016", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a9fe38975aa3cca3738e978e2db7d1f59e78f020664d7ffa2eada517f8f4016", kill_on_drop: false }`
[INFO] [stdout] 1a9fe38975aa3cca3738e978e2db7d1f59e78f020664d7ffa2eada517f8f4016
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99840316648c674c04f8355fb9f8d6225c8d5cba5ca0f2e9ce83e3519295a853
[INFO] running `Command { std: "docker" "start" "-a" "99840316648c674c04f8355fb9f8d6225c8d5cba5ca0f2e9ce83e3519295a853", kill_on_drop: false }`
[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: 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] [stderr]    Compiling ironlog v0.2.7 (/opt/rustwide/workdir)
[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: `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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 3.01s
[INFO] running `Command { std: "docker" "inspect" "99840316648c674c04f8355fb9f8d6225c8d5cba5ca0f2e9ce83e3519295a853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99840316648c674c04f8355fb9f8d6225c8d5cba5ca0f2e9ce83e3519295a853", kill_on_drop: false }`
[INFO] [stdout] 99840316648c674c04f8355fb9f8d6225c8d5cba5ca0f2e9ce83e3519295a853
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 328f5da190632b1d63d1810b973274ffac502ee799328e521074f40e7d3860b4
[INFO] running `Command { std: "docker" "start" "-a" "328f5da190632b1d63d1810b973274ffac502ee799328e521074f40e7d3860b4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `rocket::http::ContentType`
[INFO] [stderr]  --> src/types.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rocket::http::ContentType;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::form::FromForm`
[INFO] [stderr]  --> src/types.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rocket::form::FromForm;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::serde::json::Json`
[INFO] [stderr]  --> src/types.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rocket::serde::json::Json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Dir` and `include_dir`
[INFO] [stderr]  --> src/types.rs:4:19
[INFO] [stderr]   |
[INFO] [stderr] 4 | use include_dir::{include_dir, Dir};
[INFO] [stderr]   |                   ^^^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PathBuf` and `Path`
[INFO] [stderr]  --> src/types.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SqlitePool` and `sqlite::SqlitePoolOptions`
[INFO] [stderr]  --> src/types.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stderr]   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]  --> src/types.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::fs;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/types.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Row`
[INFO] [stderr]  --> src/types.rs:7:51
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sqlx::{SqlitePool, sqlite::SqlitePoolOptions, Row};
[INFO] [stderr]   |                                                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_queue`
[INFO] [stderr]    --> src/client_handler.rs:172:9
[INFO] [stderr]     |
[INFO] [stderr] 172 |     let log_queue = LogQueue::new(10000);
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_queue`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/client_handler.rs:186:76
[INFO] [stderr]     |
[INFO] [stderr] 186 | async fn write_logs_to_database(logs: &[LogMessage], db_pool: &SqlitePool, config: &Config) {
[INFO] [stderr]     |                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db_pool`
[INFO] [stderr]    --> src/client_handler.rs:125:5
[INFO] [stderr]     |
[INFO] [stderr] 125 |     db_pool: SqlitePool,
[INFO] [stderr]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/client_handler.rs:137:17
[INFO] [stderr]     |
[INFO] [stderr] 137 |             let index = LOG_INDEX.fetch_add(1, Ordering::SeqCst);
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: type `LogStats` is more private than the item `handle_client`
[INFO] [stderr]    --> src/client_handler.rs:123:1
[INFO] [stderr]     |
[INFO] [stderr] 123 | / pub async fn handle_client(
[INFO] [stderr] 124 | |     socket: TcpStream,
[INFO] [stderr] 125 | |     db_pool: SqlitePool,
[INFO] [stderr] 126 | |     config: Arc<Config>,
[INFO] [stderr] 127 | |     log_stats: Arc<Mutex<LogStats>>,
[INFO] [stderr] 128 | |     log_sender: mpsc::Sender<LogMessage>,
[INFO] [stderr] 129 | | ) {
[INFO] [stderr]     | |_^ function `handle_client` is reachable at visibility `pub`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `LogStats` is only usable at visibility `pub(self)`
[INFO] [stderr]    --> src/client_handler.rs:15:1
[INFO] [stderr]     |
[INFO] [stderr]  15 | struct LogStats {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `server_addr` is never read
[INFO] [stderr]   --> src/lib.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct TcpLogger {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 21 |     server_addr: String,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `queue` and `max_size` are never read
[INFO] [stderr]   --> src/client_handler.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | struct LogQueue {
[INFO] [stderr]    |        -------- fields in this struct
[INFO] [stderr] 21 |     queue: VecDeque<LogMessage>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 22 |     max_size: usize,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `push` is never used
[INFO] [stderr]   --> src/client_handler.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl LogQueue {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn push(&mut self, log: LogMessage) -> Option<LogMessage> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ironlog` (lib) generated 17 warnings (run `cargo fix --lib -p ironlog` to apply 12 suggestions)
[INFO] [stderr] warning: `ironlog` (lib test) generated 17 warnings (17 duplicates)
[INFO] [stderr] warning: unused import: `Deserialize`
[INFO] [stderr]   --> src/bin/main.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_timestamp` is never used
[INFO] [stderr]   --> src/bin/main.rs:24:4
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn default_timestamp() -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_files` is never used
[INFO] [stderr]    --> src/bin/main.rs:249:4
[INFO] [stderr]     |
[INFO] [stderr] 249 | fn list_files() -> String {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ironlog` (bin "ironlog" test) generated 3 warnings (run `cargo fix --bin "ironlog" -p ironlog --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironlog-cb4fed801eb8f6a7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/ironlog-f5c4f2ee38aa3add)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ironlog
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "328f5da190632b1d63d1810b973274ffac502ee799328e521074f40e7d3860b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "328f5da190632b1d63d1810b973274ffac502ee799328e521074f40e7d3860b4", kill_on_drop: false }`
[INFO] [stdout] 328f5da190632b1d63d1810b973274ffac502ee799328e521074f40e7d3860b4
