[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] checking trace-andreason/tp-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [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] 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] validating manifest of git repo https://github.com/trace-andreason/tp-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 521c4b33d906ea6e5d108bf8367d34649a82bc1d7a9af82299efb8d6eb85a286 [INFO] running `Command { std: "docker" "start" "-a" "521c4b33d906ea6e5d108bf8367d34649a82bc1d7a9af82299efb8d6eb85a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "521c4b33d906ea6e5d108bf8367d34649a82bc1d7a9af82299efb8d6eb85a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521c4b33d906ea6e5d108bf8367d34649a82bc1d7a9af82299efb8d6eb85a286", kill_on_drop: false }` [INFO] [stdout] 521c4b33d906ea6e5d108bf8367d34649a82bc1d7a9af82299efb8d6eb85a286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bdfdd9c93391965e60324d36301ab505f5d3fd2ad41f57bed38416c437fc78 [INFO] running `Command { std: "docker" "start" "-a" "91bdfdd9c93391965e60324d36301ab505f5d3fd2ad41f57bed38416c437fc78", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking shared-local-state v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking ebr v0.2.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking cache-advisor v1.0.16 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking pagetable v0.4.5 [INFO] [stderr] Checking fault-injection v1.0.10 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking stack-map v1.0.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking concurrent-map v5.0.33 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking inline-array v0.1.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking sled v1.0.0-alpha.120 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-server.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / #[structopt( [INFO] [stdout] 22 | | long="engine", [INFO] [stdout] 23 | | value_name = "ENGINE-NAME", [INFO] [stdout] 24 | | default_value = "kvs", [INFO] [stdout] 25 | | )] [INFO] [stdout] 26 | | engine: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/engine_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize}; [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 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | value: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | Get {key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Rm {key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (bin "kvs-server" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kvs` (bin "kvs-client" test) due to 4 previous errors; 5 warnings emitted [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | value: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | Get {key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Rm {key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-server.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / #[structopt( [INFO] [stdout] 22 | | long="engine", [INFO] [stdout] 23 | | value_name = "ENGINE-NAME", [INFO] [stdout] 24 | | default_value = "kvs", [INFO] [stdout] 25 | | )] [INFO] [stdout] 26 | | engine: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (bin "kvs-client") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `kvs` (bin "kvs-server") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "91bdfdd9c93391965e60324d36301ab505f5d3fd2ad41f57bed38416c437fc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bdfdd9c93391965e60324d36301ab505f5d3fd2ad41f57bed38416c437fc78", kill_on_drop: false }` [INFO] [stdout] 91bdfdd9c93391965e60324d36301ab505f5d3fd2ad41f57bed38416c437fc78