[INFO] cloning repository https://github.com/pokhanto/kvdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pokhanto/kvdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokhanto%2Fkvdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokhanto%2Fkvdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6e00f913f11cce50f865d7d296ec9941f74d3ec [INFO] building pokhanto/kvdb against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpokhanto%2Fkvdb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pokhanto/kvdb [INFO] finished tweaking git repo https://github.com/pokhanto/kvdb [INFO] tweaked toml for git repo https://github.com/pokhanto/kvdb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pokhanto/kvdb on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pokhanto/kvdb 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.8 [INFO] [stderr] Downloaded symbolic-common v12.12.0 [INFO] [stderr] Downloaded predicates v3.1.2 [INFO] [stderr] Downloaded predicates-tree v1.0.11 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded panic-control v0.1.4 [INFO] [stderr] Downloaded educe v0.5.11 [INFO] [stderr] Downloaded console-api v0.8.1 [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded clap v4.5.20 [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded symbolic-demangle v12.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded console-subscriber v0.4.1 [INFO] [stderr] Downloaded axum v0.7.7 [INFO] [stderr] Downloaded hyper v1.5.0 [INFO] [stderr] Downloaded clap_builder v4.5.20 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded tokio v1.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49975922b99488439015f8b2dd15c053d969741af00160e3a37f34e6bf7f5d2f [INFO] running `Command { std: "docker" "start" "-a" "49975922b99488439015f8b2dd15c053d969741af00160e3a37f34e6bf7f5d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49975922b99488439015f8b2dd15c053d969741af00160e3a37f34e6bf7f5d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49975922b99488439015f8b2dd15c053d969741af00160e3a37f34e6bf7f5d2f", kill_on_drop: false }` [INFO] [stdout] 49975922b99488439015f8b2dd15c053d969741af00160e3a37f34e6bf7f5d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4add8a74a76b8262b7c1f27524ff8855708c1e5a4fb9997522fb0d1d0e7b3a6 [INFO] running `Command { std: "docker" "start" "-a" "d4add8a74a76b8262b7c1f27524ff8855708c1e5a4fb9997522fb0d1d0e7b3a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling symbolic-demangle v12.12.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling symbolic-common v12.12.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling console-api v0.8.1 [INFO] [stderr] Compiling console-subscriber v0.4.1 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [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: `std::time::Duration` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/engines/kvs.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/server_async.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `info`, and `span` [INFO] [stdout] --> src/server_async.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, span, Level}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/engines/kvs.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let pos = inner.stream_position()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 302 | let _pos = inner.stream_position()?; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COMPACTION_THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 302 - let pos = inner.stream_position()?; [INFO] [stdout] 302 + let engines::kvs_async::COMPACTION_THRESHOLD = inner.stream_position()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KvReader` is never constructed [INFO] [stdout] --> src/engines/kvs.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct KvReader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engines/kvs.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl KvReader { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 220 | fn new(reader: BufReader) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::current_dir` and `process::exit` [INFO] [stdout] --> src/bin/kvs-client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::current_dir, process::exit}; [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: `Request` [INFO] [stdout] --> src/bin/kvs-client.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use kvs::{KvClient, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "d4add8a74a76b8262b7c1f27524ff8855708c1e5a4fb9997522fb0d1d0e7b3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4add8a74a76b8262b7c1f27524ff8855708c1e5a4fb9997522fb0d1d0e7b3a6", kill_on_drop: false }` [INFO] [stdout] d4add8a74a76b8262b7c1f27524ff8855708c1e5a4fb9997522fb0d1d0e7b3a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e50b8b00a52715526a3d0bdd56aaf5b8df895f51a09b236a769d9014145d7c4 [INFO] running `Command { std: "docker" "start" "-a" "7e50b8b00a52715526a3d0bdd56aaf5b8df895f51a09b236a769d9014145d7c4", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling panic-control v0.1.4 [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [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: `std::time::Duration` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/engines/kvs.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/server_async.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `info`, and `span` [INFO] [stdout] --> src/server_async.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, span, Level}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/engines/kvs.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let pos = inner.stream_position()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 302 | let _pos = inner.stream_position()?; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COMPACTION_THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 302 - let pos = inner.stream_position()?; [INFO] [stdout] 302 + let engines::kvs_async::COMPACTION_THRESHOLD = inner.stream_position()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KvReader` is never constructed [INFO] [stdout] --> src/engines/kvs.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct KvReader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engines/kvs.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl KvReader { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 220 | fn new(reader: BufReader) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::current_dir` and `process::exit` [INFO] [stdout] --> src/bin/kvs-client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::current_dir, process::exit}; [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: `Request` [INFO] [stdout] --> src/bin/kvs-client.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use kvs::{KvClient, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/client.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [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: `std::time::Duration` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/engines/kvs.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/server_async.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `info`, and `span` [INFO] [stdout] --> src/server_async.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, span, Level}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_panic_task` is never used [INFO] [stdout] --> tests/thread_pool.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn spawn_panic_task() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::current_dir` and `process::exit` [INFO] [stdout] --> src/bin/kvs-client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::current_dir, process::exit}; [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: `Request` [INFO] [stdout] --> src/bin/kvs-client.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use kvs::{KvClient, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/engines/kvs.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let pos = inner.stream_position()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 302 | let _pos = inner.stream_position()?; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COMPACTION_THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 302 - let pos = inner.stream_position()?; [INFO] [stdout] 302 + let engines::kvs_async::COMPACTION_THRESHOLD = inner.stream_position()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KvReader` is never constructed [INFO] [stdout] --> src/engines/kvs.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct KvReader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engines/kvs.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl KvReader { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 220 | fn new(reader: BufReader) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.14s [INFO] running `Command { std: "docker" "inspect" "7e50b8b00a52715526a3d0bdd56aaf5b8df895f51a09b236a769d9014145d7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e50b8b00a52715526a3d0bdd56aaf5b8df895f51a09b236a769d9014145d7c4", kill_on_drop: false }` [INFO] [stdout] 7e50b8b00a52715526a3d0bdd56aaf5b8df895f51a09b236a769d9014145d7c4