[INFO] cloning repository https://github.com/trace-andreason/tp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trace-andreason/tp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrace-andreason%2Ftp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrace-andreason%2Ftp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db10398d2d8de6f92c388e7b6131cf095414a3c4 [INFO] testing trace-andreason/tp-rust against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrace-andreason%2Ftp-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trace-andreason/tp-rust on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trace-andreason/tp-rust [INFO] finished tweaking git repo https://github.com/trace-andreason/tp-rust [INFO] tweaked toml for git repo https://github.com/trace-andreason/tp-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/trace-andreason/tp-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" "+beta-2025-02-18" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ca400ff0d5b55f9e34c8c6e34d2795d9004dd343ed04edf5e43ee1903b4230f [INFO] running `Command { std: "docker" "start" "-a" "3ca400ff0d5b55f9e34c8c6e34d2795d9004dd343ed04edf5e43ee1903b4230f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ca400ff0d5b55f9e34c8c6e34d2795d9004dd343ed04edf5e43ee1903b4230f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca400ff0d5b55f9e34c8c6e34d2795d9004dd343ed04edf5e43ee1903b4230f", kill_on_drop: false }` [INFO] [stdout] 3ca400ff0d5b55f9e34c8c6e34d2795d9004dd343ed04edf5e43ee1903b4230f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16952b2c1a46673af95f1054b0e90c20278ac6466980f9ce7af413e4e92a52e9 [INFO] running `Command { std: "docker" "start" "-a" "16952b2c1a46673af95f1054b0e90c20278ac6466980f9ce7af413e4e92a52e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling shared-local-state v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling ebr v0.2.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling cache-advisor v1.0.16 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling fault-injection v1.0.10 [INFO] [stderr] Compiling pagetable v0.4.5 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling stack-map v1.0.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling concurrent-map v5.0.33 [INFO] [stderr] Compiling inline-array v0.1.12 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling sled v1.0.0-alpha.120 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engines/kvsled.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{self, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `str::Bytes` [INFO] [stdout] --> src/server.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::{Read, Write}, net::{SocketAddr, TcpListener}, str::Bytes}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/server.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Deserializer,Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/server.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvs.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvsled.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KvsEngine` [INFO] [stdout] --> src/bin/kvs-server.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{KvStore, Result, KvsServer, KvsEngine,Sled}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KvStore` and `KvsError` [INFO] [stdout] --> src/bin/kvs-client.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{GetResponse, KvStore, KvsError, RemoveResponse, Req, Result, SetResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/bin/kvs-client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Rem` [INFO] [stdout] --> src/bin/kvs-client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Rem; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/kvs-client.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write, BufReader}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/bin/kvs-client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let resp = SetResponse::deserialize(&mut br); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "16952b2c1a46673af95f1054b0e90c20278ac6466980f9ce7af413e4e92a52e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16952b2c1a46673af95f1054b0e90c20278ac6466980f9ce7af413e4e92a52e9", kill_on_drop: false }` [INFO] [stdout] 16952b2c1a46673af95f1054b0e90c20278ac6466980f9ce7af413e4e92a52e9 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d436923dc636285805c222a841d40c18a56390152f396685f4e6e5418cb0ddf7 [INFO] running `Command { std: "docker" "start" "-a" "d436923dc636285805c222a841d40c18a56390152f396685f4e6e5418cb0ddf7", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engines/kvsled.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{self, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `str::Bytes` [INFO] [stdout] --> src/server.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::{Read, Write}, net::{SocketAddr, TcpListener}, str::Bytes}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/server.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Deserializer,Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/server.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvs.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvsled.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KvStore` and `KvsError` [INFO] [stdout] --> src/bin/kvs-client.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{GetResponse, KvStore, KvsError, RemoveResponse, Req, Result, SetResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/bin/kvs-client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Rem` [INFO] [stdout] --> src/bin/kvs-client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Rem; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/kvs-client.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write, BufReader}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/bin/kvs-client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let resp = SetResponse::deserialize(&mut br); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KvsEngine` [INFO] [stdout] --> src/bin/kvs-server.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{KvStore, Result, KvsServer, KvsEngine,Sled}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KvsEngine` [INFO] [stdout] --> src/bin/kvs-server.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{KvStore, Result, KvsServer, KvsEngine,Sled}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KvStore` and `KvsError` [INFO] [stdout] --> src/bin/kvs-client.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{GetResponse, KvStore, KvsError, RemoveResponse, Req, Result, SetResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/bin/kvs-client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Rem` [INFO] [stdout] --> src/bin/kvs-client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Rem; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/bin/kvs-client.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write, BufReader}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engines/kvsled.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{self, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `str::Bytes` [INFO] [stdout] --> src/server.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::{Read, Write}, net::{SocketAddr, TcpListener}, str::Bytes}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/server.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Deserializer,Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/server.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KvsEngine` [INFO] [stdout] --> tests/kv_store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{KvStore, KvsEngine, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/bin/kvs-client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let resp = SetResponse::deserialize(&mut br); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvs.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engines/kvsled.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError{ [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "d436923dc636285805c222a841d40c18a56390152f396685f4e6e5418cb0ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d436923dc636285805c222a841d40c18a56390152f396685f4e6e5418cb0ddf7", kill_on_drop: false }` [INFO] [stdout] d436923dc636285805c222a841d40c18a56390152f396685f4e6e5418cb0ddf7 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 24c8fbb36f24d07235c7cbef7ab6bf08bd09d7d75bbabe06ae5f1a6620cc5807 [INFO] running `Command { std: "docker" "start" "-a" "24c8fbb36f24d07235c7cbef7ab6bf08bd09d7d75bbabe06ae5f1a6620cc5807", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/engines/kvsled.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::{self, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::fmt` [INFO] [stderr] --> src/server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::fmt; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read` and `str::Bytes` [INFO] [stderr] --> src/server.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{io::{Read, Write}, net::{SocketAddr, TcpListener}, str::Bytes}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serializer` [INFO] [stderr] --> src/server.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::{Deserializer,Serializer}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/server.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{info}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/engines/kvs.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/engines/kvsled.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | if let Err(e) = f.read_to_string(&mut s) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stderr] 7 | pub enum KvsError{ [INFO] [stderr] | -------- `KvsError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stderr] 7 | pub enum KvsError{ [INFO] [stderr] | -------- `KvsError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kvs` (lib) generated 9 warnings (run `cargo fix --lib -p kvs` to apply 5 suggestions) [INFO] [stderr] warning: `kvs` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unused imports: `KvStore` and `KvsError` [INFO] [stderr] --> src/bin/kvs-client.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use kvs::{GetResponse, KvStore, KvsError, RemoveResponse, Req, Result, SetResponse}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env::current_dir` [INFO] [stderr] --> src/bin/kvs-client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::env::current_dir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Rem` [INFO] [stderr] --> src/bin/kvs-client.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::ops::Rem; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stderr] --> src/bin/kvs-client.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::{self, Read, Write, BufReader}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resp` [INFO] [stderr] --> src/bin/kvs-client.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | let resp = SetResponse::deserialize(&mut br); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `KvsEngine` [INFO] [stderr] --> src/bin/kvs-server.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use kvs::{KvStore, Result, KvsServer, KvsEngine,Sled}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `KvsEngine` [INFO] [stderr] --> tests/kv_store.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use kvs::{KvStore, KvsEngine, Result}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `kvs` (bin "kvs-client") generated 5 warnings (run `cargo fix --bin "kvs-client"` to apply 4 suggestions) [INFO] [stderr] warning: `kvs` (bin "kvs-server") generated 1 warning (run `cargo fix --bin "kvs-server"` to apply 1 suggestion) [INFO] [stderr] warning: `kvs` (bin "kvs-server" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `kvs` (test "kv_store") generated 1 warning [INFO] [stderr] warning: `kvs` (bin "kvs-client" test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kvs-cc7effedf20f71c5) [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/kvs-client.rs (/opt/rustwide/target/debug/deps/kvs_client-9a8b752a1e4e462a) [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/kvs-server.rs (/opt/rustwide/target/debug/deps/kvs_server-ad017ae557b2d9b6) [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 tests/cli.rs (/opt/rustwide/target/debug/deps/cli-6f3227e0a75ab55e) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4002 [INFO] [stderr] INFO using engine: sled [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4004 [INFO] [stderr] INFO using engine: kvs [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4005 [INFO] [stderr] INFO using engine: sled [INFO] [stdout] test client_cli_invalid_get ... ok [INFO] [stdout] test client_cli_no_args ... ok [INFO] [stdout] test client_cli_invalid_rm ... ok [INFO] [stdout] test client_cli_invalid_subcommand ... ok [INFO] [stdout] test server_cli_version ... ok [INFO] [stdout] test client_cli_version ... ok [INFO] [stdout] test client_cli_invalid_set ... ok [INFO] [stdout] test cli_log_configuration ... ok [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4004 [INFO] [stderr] INFO using engine: kvs [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4005 [INFO] [stderr] INFO using engine: sled [INFO] [stderr] INFO server version: 0.1.0 [INFO] [stderr] INFO listening on: 127.0.0.1:4002 [INFO] [stderr] INFO using engine: kvs [INFO] [stdout] test cli_access_server_kvs_engine ... ok [INFO] [stdout] test cli_access_server_sled_engine ... ok [INFO] [stdout] test cli_wrong_engine ... ok [INFO] [stdout] [INFO] [stderr] Running tests/kv_store.rs (/opt/rustwide/target/debug/deps/kv_store-f8844081055c5e4f) [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.26s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test remove_non_existent_key ... ok [INFO] [stdout] test get_non_existent_value ... ok [INFO] [stdout] test get_stored_value ... ok [INFO] [stdout] test overwrite_value ... ok [INFO] [stdout] test remove_key ... ok [INFO] [stdout] test compaction ... ok [INFO] [stderr] Doc-tests kvs [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.75s [INFO] [stdout] [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" "24c8fbb36f24d07235c7cbef7ab6bf08bd09d7d75bbabe06ae5f1a6620cc5807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c8fbb36f24d07235c7cbef7ab6bf08bd09d7d75bbabe06ae5f1a6620cc5807", kill_on_drop: false }` [INFO] [stdout] 24c8fbb36f24d07235c7cbef7ab6bf08bd09d7d75bbabe06ae5f1a6620cc5807