[INFO] cloning repository https://github.com/sahilshahane/Valkey-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sahilshahane/Valkey-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81d1653b8df4afcd24b177814ff07070e8628344 [INFO] testing sahilshahane/Valkey-rust against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/sahilshahane/Valkey-rust [INFO] finished tweaking git repo https://github.com/sahilshahane/Valkey-rust [INFO] tweaked toml for git repo https://github.com/sahilshahane/Valkey-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sahilshahane/Valkey-rust on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sahilshahane/Valkey-rust 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac7e7118af6f44d953c12de70bf9677d70fbc47d7794a192ec42a14280928627 [INFO] running `Command { std: "docker" "start" "-a" "ac7e7118af6f44d953c12de70bf9677d70fbc47d7794a192ec42a14280928627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac7e7118af6f44d953c12de70bf9677d70fbc47d7794a192ec42a14280928627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7e7118af6f44d953c12de70bf9677d70fbc47d7794a192ec42a14280928627", kill_on_drop: false }` [INFO] [stdout] ac7e7118af6f44d953c12de70bf9677d70fbc47d7794a192ec42a14280928627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] fcda7e81119dc4f9c5ba89e79ec24a414150910f428642b476d52f4dc74cd7d0 [INFO] running `Command { std: "docker" "start" "-a" "fcda7e81119dc4f9c5ba89e79ec24a414150910f428642b476d52f4dc74cd7d0", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling sonic-simd v0.1.2 [INFO] [stderr] Compiling sonic-number v0.1.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling faststr v0.2.32 [INFO] [stderr] Compiling sonic-rs v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v7.0.0-rc2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling tonic v0.14.2 [INFO] [stderr] Compiling tonic-prost v0.14.2 [INFO] [stderr] Compiling console-api v0.9.0 [INFO] [stderr] Compiling console-subscriber v0.5.0 [INFO] [stderr] Compiling tikv-jemallocator v0.5.4 [INFO] [stderr] Compiling KVStore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::mpsc; [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: `tokio::task::futures` [INFO] [stdout] --> src/db_connection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::task::futures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interval`, `sleep`, and `timeout` [INFO] [stdout] --> src/wal_manager.rs:3:133 [INFO] [stdout] | [INFO] [stdout] 3 | ...ync::{Mutex, RwLock, RwLockWriteGuard, mpsc}, time::{interval, sleep, timeout}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `config` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppState{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | pool: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | config: Config [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sqlite_db_url` is never used [INFO] [stdout] --> src/db_connection.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_sqlite_db_url() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sqlite_connection` is never used [INFO] [stdout] --> src/db_connection.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_sqlite_connection() -> sqlx::SqlitePool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KVValue` is never constructed [INFO] [stdout] --> src/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct KVValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PoolError` is never constructed [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum KVStoreError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | PoolError [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_background_sync` is never used [INFO] [stdout] --> src/wal_manager.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl WAL { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn start_background_sync(self: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_KEY_LENTH` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_KEY_LENTH: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_VALUE_LENTH` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_VALUE_LENTH: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wal_manager.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "fcda7e81119dc4f9c5ba89e79ec24a414150910f428642b476d52f4dc74cd7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcda7e81119dc4f9c5ba89e79ec24a414150910f428642b476d52f4dc74cd7d0", kill_on_drop: false }` [INFO] [stdout] fcda7e81119dc4f9c5ba89e79ec24a414150910f428642b476d52f4dc74cd7d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 2f666de2d3af82a18aca31532b182e9c3e59ad251bf0379f85fdff89dada9f5a [INFO] running `Command { std: "docker" "start" "-a" "2f666de2d3af82a18aca31532b182e9c3e59ad251bf0379f85fdff89dada9f5a", kill_on_drop: false }` [INFO] [stderr] Compiling KVStore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::mpsc; [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: `tokio::task::futures` [INFO] [stdout] --> src/db_connection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::task::futures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interval`, `sleep`, and `timeout` [INFO] [stdout] --> src/wal_manager.rs:3:133 [INFO] [stdout] | [INFO] [stdout] 3 | ...ync::{Mutex, RwLock, RwLockWriteGuard, mpsc}, time::{interval, sleep, timeout}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `config` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppState{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | pool: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | config: Config [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sqlite_db_url` is never used [INFO] [stdout] --> src/db_connection.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_sqlite_db_url() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sqlite_connection` is never used [INFO] [stdout] --> src/db_connection.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_sqlite_connection() -> sqlx::SqlitePool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KVValue` is never constructed [INFO] [stdout] --> src/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct KVValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PoolError` is never constructed [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum KVStoreError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | PoolError [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_background_sync` is never used [INFO] [stdout] --> src/wal_manager.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl WAL { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn start_background_sync(self: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_KEY_LENTH` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_KEY_LENTH: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_VALUE_LENTH` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_VALUE_LENTH: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wal_manager.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "2f666de2d3af82a18aca31532b182e9c3e59ad251bf0379f85fdff89dada9f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f666de2d3af82a18aca31532b182e9c3e59ad251bf0379f85fdff89dada9f5a", kill_on_drop: false }` [INFO] [stdout] 2f666de2d3af82a18aca31532b182e9c3e59ad251bf0379f85fdff89dada9f5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] a9f0a1add4012dac43d1d90d69033227998d5ee3c293aa4103748be4ce7a9b44 [INFO] running `Command { std: "docker" "start" "-a" "a9f0a1add4012dac43d1d90d69033227998d5ee3c293aa4103748be4ce7a9b44", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio::sync::mpsc` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::task::futures` [INFO] [stderr] --> src/db_connection.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use tokio::task::futures; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `interval`, `sleep`, and `timeout` [INFO] [stderr] --> src/wal_manager.rs:3:133 [INFO] [stderr] | [INFO] [stderr] 3 | ...ync::{Mutex, RwLock, RwLockWriteGuard, mpsc}, time::{interval, sleep, timeout}}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fs` [INFO] [stderr] --> src/config.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fs}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `pool` and `config` are never read [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct AppState{ [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 38 | pool: Arc, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | config: Config [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_sqlite_db_url` is never used [INFO] [stderr] --> src/db_connection.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_sqlite_db_url() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_sqlite_connection` is never used [INFO] [stderr] --> src/db_connection.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn get_sqlite_connection() -> sqlx::SqlitePool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `KVValue` is never constructed [INFO] [stderr] --> src/models.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct KVValue { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `PoolError` is never constructed [INFO] [stderr] --> src/error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum KVStoreError { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 3 | PoolError [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `start_background_sync` is never used [INFO] [stderr] --> src/wal_manager.rs:728:12 [INFO] [stderr] | [INFO] [stderr] 218 | impl WAL { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 728 | pub fn start_background_sync(self: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_KEY_LENTH` is never used [INFO] [stderr] --> src/constants.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const MAX_KEY_LENTH: i32 = 1000; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_VALUE_LENTH` is never used [INFO] [stderr] --> src/constants.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const MAX_VALUE_LENTH: i32 = 1000; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wal_manager.rs:264:34 [INFO] [stderr] | [INFO] [stderr] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 264 | pub async fn get_writer_file(&self) -> Result, KVStoreError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `KVStore` (bin "kvstore" test) generated 13 warnings (run `cargo fix --bin "kvstore" -p KVStore --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/KVStore/6eeaadd1f71df793/deps/kvstore-6eeaadd1f71df793) [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 benchmark/load_test.rs (/opt/rustwide/target/debug/build/KVStore/2813c1764a04fc15/deps/load_test-2813c1764a04fc15) [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" "a9f0a1add4012dac43d1d90d69033227998d5ee3c293aa4103748be4ce7a9b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f0a1add4012dac43d1d90d69033227998d5ee3c293aa4103748be4ce7a9b44", kill_on_drop: false }` [INFO] [stdout] a9f0a1add4012dac43d1d90d69033227998d5ee3c293aa4103748be4ce7a9b44