[INFO] cloning repository https://github.com/iwantsomememories/kvs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwantsomememories/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwantsomememories%2Fkvs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwantsomememories%2Fkvs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 706770100ac6144a8ba2db09eeb7743b60734d16
[INFO] testing iwantsomememories/kvs against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwantsomememories%2Fkvs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iwantsomememories/kvs
[INFO] finished tweaking git repo https://github.com/iwantsomememories/kvs
[INFO] tweaked toml for git repo https://github.com/iwantsomememories/kvs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iwantsomememories/kvs on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iwantsomememories/kvs 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a2d4ea45a69e88ad7afb725c6c34ac64095d2714f80d2ab93a1dc317863bb60
[INFO] running `Command { std: "docker" "start" "-a" "8a2d4ea45a69e88ad7afb725c6c34ac64095d2714f80d2ab93a1dc317863bb60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a2d4ea45a69e88ad7afb725c6c34ac64095d2714f80d2ab93a1dc317863bb60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a2d4ea45a69e88ad7afb725c6c34ac64095d2714f80d2ab93a1dc317863bb60", kill_on_drop: false }`
[INFO] [stdout] 8a2d4ea45a69e88ad7afb725c6c34ac64095d2714f80d2ab93a1dc317863bb60
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 256f9f392638faffa235d44557a272f8c1347b73d49b33a375637f9086b14095
[INFO] running `Command { std: "docker" "start" "-a" "256f9f392638faffa235d44557a272f8c1347b73d49b33a375637f9086b14095", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling deranged v0.4.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling crossbeam-skiplist v0.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.32
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling slog-term v2.9.1
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling clap v4.5.32
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct KvStore {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 24 |     // 存储log文件的目录路径
[INFO] [stdout] 25 |     path: Arc<PathBuf>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Shutdown` is never constructed
[INFO] [stdout]   --> src/thread_pool/shared_queue.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum ThreadPoolMessage {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] 10 |     RunJob(Job),
[INFO] [stdout] 11 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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 `dev` profile [unoptimized + debuginfo] target(s) in 35.05s
[INFO] running `Command { std: "docker" "inspect" "256f9f392638faffa235d44557a272f8c1347b73d49b33a375637f9086b14095", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "256f9f392638faffa235d44557a272f8c1347b73d49b33a375637f9086b14095", kill_on_drop: false }`
[INFO] [stdout] 256f9f392638faffa235d44557a272f8c1347b73d49b33a375637f9086b14095
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70fd90be58c5ef2ed6b132b7a89f2f897b511f533f197004b359086e2c2f909a
[INFO] running `Command { std: "docker" "start" "-a" "70fd90be58c5ef2ed6b132b7a89f2f897b511f533f197004b359086e2c2f909a", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling criterion-plot v0.4.5
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct KvStore {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 24 |     // 存储log文件的目录路径
[INFO] [stdout] 25 |     path: Arc<PathBuf>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Shutdown` is never constructed
[INFO] [stdout]   --> src/thread_pool/shared_queue.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum ThreadPoolMessage {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] 10 |     RunJob(Job),
[INFO] [stdout] 11 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling panic-control v0.1.4
[INFO] [stderr]    Compiling float-cmp v0.8.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling predicates v1.0.8
[INFO] [stderr]    Compiling criterion v0.3.6
[INFO] [stderr]    Compiling assert_cmd v0.11.1
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct KvStore {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 24 |     // 存储log文件的目录路径
[INFO] [stdout] 25 |     path: Arc<PathBuf>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Shutdown` is never constructed
[INFO] [stdout]   --> src/thread_pool/shared_queue.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum ThreadPoolMessage {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] 10 |     RunJob(Job),
[INFO] [stdout] 11 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Fail)]
[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] 9 | 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 24.33s
[INFO] running `Command { std: "docker" "inspect" "70fd90be58c5ef2ed6b132b7a89f2f897b511f533f197004b359086e2c2f909a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70fd90be58c5ef2ed6b132b7a89f2f897b511f533f197004b359086e2c2f909a", kill_on_drop: false }`
[INFO] [stdout] 70fd90be58c5ef2ed6b132b7a89f2f897b511f533f197004b359086e2c2f909a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bf48685bc43343869dad6f0856c93601354a87f730f347e33595af50c94c64e2
[INFO] running `Command { std: "docker" "start" "-a" "bf48685bc43343869dad6f0856c93601354a87f730f347e33595af50c94c64e2", kill_on_drop: false }`
[INFO] [stderr] warning: field `path` is never read
[INFO] [stderr]   --> src/engines/kvs.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct KvStore {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] 24 |     // 存储log文件的目录路径
[INFO] [stderr] 25 |     path: Arc<PathBuf>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Shutdown` is never constructed
[INFO] [stderr]   --> src/thread_pool/shared_queue.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | enum ThreadPoolMessage {
[INFO] [stderr]    |      ----------------- variant in this enum
[INFO] [stderr] 10 |     RunJob(Job),
[INFO] [stderr] 11 |     Shutdown,
[INFO] [stderr]    |     ^^^^^^^^
[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:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[derive(Debug, Fail)]
[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] 9 | 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:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[derive(Debug, Fail)]
[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] 9 | 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 4 warnings
[INFO] [stderr] warning: `kvs` (lib test) generated 4 warnings (4 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-20d2de5625a764af)
[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-4a38cdffdf08d64f)
[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-a2e27f215de1d2ca)
[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-54529fe8653d5e9b)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test client_cli_no_args ... ok
[INFO] [stderr] kvs-server version: 0.1.0
[INFO] [stderr]  May 04 20:50:00.298 INFO Listening on 127.0.0.1:4004, port: 4004, IP address: 127.0.0.1
[INFO] [stderr] kvs-server version:  0.1.0
[INFO] [stderr]  May 04 20:50:00.298 INFO Storage Engine: kvs, storage engine: kvs
[INFO] [stderr] May 04 20:50:00.298 INFO Listening on 127.0.0.1:4002, port: 4002, IP address: 127.0.0.1
[INFO] [stderr]  May 04 20:50:00.299 INFO Storage Engine: sled, storage engine: sled
[INFO] [stdout] test client_cli_invalid_subcommand ... ok
[INFO] [stdout] test client_cli_version ... ok
[INFO] [stdout] test client_cli_invalid_rm ... ok
[INFO] [stderr] kvs-server version: 0.1.0
[INFO] [stderr]  May 04 20:50:00.315 INFO Listening on 127.0.0.1:4005, port: 4005, IP address: 127.0.0.1
[INFO] [stderr]  May 04 20:50:00.315 INFO Storage Engine: sled, storage engine: sled
[INFO] [stdout] test server_cli_version ... ok
[INFO] [stdout] test client_cli_invalid_set ... ok
[INFO] [stdout] test client_cli_invalid_get ... ok
[INFO] [stderr] kvs-server version: 0.1.0
[INFO] [stderr]  May 04 20:50:01.297 INFO Listening on 127.0.0.1:4002, port: 4002, IP address: 127.0.0.1
[INFO] [stderr]  May 04 20:50:01.297 INFO Storage Engine: kvs, storage engine: kvs
[INFO] [stderr]  May 04 20:50:01.298 ERRO Address already in use (os error 98)
[INFO] [stdout] test cli_log_configuration ... ok
[INFO] [stderr]  May 04 20:50:01.331 DEBG Receive request from 127.0.0.1:60392: Set { key: "key1", value: "value1" }
[INFO] [stderr]  May 04 20:50:01.331 DEBG Response sent to the 127.0.0.1:60392: Ok(())
[INFO] [stderr]  May 04 20:50:01.332 DEBG Receive request from 127.0.0.1:56686: Set { key: "key1", value: "value1" }
[INFO] [stderr]  May 04 20:50:01.333 DEBG Response sent to the 127.0.0.1:56686: Ok(())
[INFO] [stderr]  May 04 20:50:01.335 DEBG Receive request from 127.0.0.1:60408: Get { key: "key1" }
[INFO] [stderr]  May 04 20:50:01.335 DEBG Response sent to the 127.0.0.1:60408: Ok(Some("value1"))
[INFO] [stderr]  May 04 20:50:01.335 DEBG Receive request from 127.0.0.1:56700: Get { key: "key1" }
[INFO] [stderr]  May 04 20:50:01.335 DEBG Response sent to the 127.0.0.1:56700: Ok(Some("value1"))
[INFO] [stderr]  May 04 20:50:01.337 DEBG Receive request from 127.0.0.1:60414: Set { key: "key1", value: "value2" }
[INFO] [stderr]  May 04 20:50:01.337 DEBG Response sent to the 127.0.0.1:60414: Ok(())
[INFO] [stderr]  May 04 20:50:01.337 DEBG Receive request from 127.0.0.1:56710: Set { key: "key1", value: "value2" }
[INFO] [stderr]  May 04 20:50:01.338 DEBG Response sent to the 127.0.0.1:56710: Ok(())
[INFO] [stderr]  May 04 20:50:01.342  May 04 20:50:01.342 DEBG Receive request from 127.0.0.1:60418: Get { key: "key1" }
[INFO] [stderr] DEBG Receive request from 127.0.0.1:56720: Get { key: "key1" }
[INFO] [stderr]  May 04 20:50:01.342 DEBG Response sent to the 127.0.0.1:56720: Ok(Some("value2"))
[INFO] [stderr]  May 04 20:50:01.343 DEBG Response sent to the 127.0.0.1:60418: Ok(Some("value2"))
[INFO] [stderr]  May 04 20:50:01.345 DEBG Receive request from 127.0.0.1:56728: Get { key: "key2" }
[INFO] [stderr]  May 04 20:50:01.345 DEBG Response sent to the 127.0.0.1:56728: Ok(None)
[INFO] [stderr]  May 04 20:50:01.348 DEBG Receive request from 127.0.0.1:60420: Get { key: "key2" }
[INFO] [stderr]  May 04 20:50:01.348 DEBG Receive request from 127.0.0.1:56730: Rm { key: "key2" }
[INFO] [stderr]  May 04 20:50:01.348 DEBG Response sent to the 127.0.0.1:56730: Err("Key not found")
[INFO] [stderr]  May 04 20:50:01.348 DEBG Response sent to the 127.0.0.1:60420: Ok(None)
[INFO] [stderr]  May 04 20:50:01.379 DEBG Receive request from 127.0.0.1:60426: Rm { key: "key2" }
[INFO] [stderr]  May 04 20:50:01.381 DEBG Response sent to the 127.0.0.1:60426: Err("Key not found")
[INFO] [stderr]  May 04 20:50:01.383 DEBG Receive request from 127.0.0.1:56736: Set { key: "key2", value: "value3" }
[INFO] [stderr]  May 04 20:50:01.383 DEBG May 04 20:50:01.383  DEBG Receive request from 127.0.0.1:60440: Set { key: "key2", value: "value3" }
[INFO] [stderr] Response sent to the 127.0.0.1:56736: Ok(())
[INFO] [stderr]  May 04 20:50:01.384 DEBG Response sent to the 127.0.0.1:60440: Ok(())
[INFO] [stderr]  kvs-server version: 0.1.0
[INFO] [stderr]   May 04 20:50:01.395 DEBG Receive request from 127.0.0.1:60442: Rm { key: "key1" }
[INFO] [stderr] May 04 20:50:01.395 INFO Listening on 127.0.0.1:4005, port: 4005, IP address: 127.0.0.1
[INFO] [stderr]  May 04 20:50:01.397 INFO Storage Engine: sled, storage engine: sled
[INFO] [stderr] kvs-server version: 0.1.0
[INFO] [stderr]  May 04 20:50:01.398 INFO Listening on 127.0.0.1:4004, port: 4004, IP address: 127.0.0.1
[INFO] [stderr]  May 04 20:50:01.399 INFO Storage Engine: kvs, storage engine: kvs
[INFO] [stdout] test cli_wrong_engine ... ok
[INFO] [stderr]  May 04 20:50:02.399 DEBG Receive request from 127.0.0.1:56760: Get { key: "key2" }
[INFO] [stderr]  May 04 20:50:02.401 DEBG Response sent to the 127.0.0.1:56760: Ok(Some("value3"))
[INFO] [stderr]  May 04 20:50:02.403 DEBG Receive request from 127.0.0.1:56774: Get { key: "key1" }
[INFO] [stderr]  May 04 20:50:02.403 DEBG Response sent to the 127.0.0.1:56774: Ok(None)
[INFO] [stdout] test cli_access_server_sled_engine ... ok
[INFO] [stderr]  May 04 20:50:02.421 DEBG Receive request from 127.0.0.1:60454: Get { key: "key2" }
[INFO] [stderr]  May 04 20:50:02.421 DEBG Response sent to the 127.0.0.1:60454: Ok(Some("value3"))
[INFO] [stderr]  May 04 20:50:02.427 DEBG Receive request from 127.0.0.1:60470: Get { key: "key1" }
[INFO] [stderr]  May 04 20:50:02.427 DEBG Response sent to the 127.0.0.1:60470: Ok(None)
[INFO] [stdout] test cli_access_server_kvs_engine ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.14s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/kv_store.rs (/opt/rustwide/target/debug/deps/kv_store-6e747e25c7133d3e)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test get_non_existent_value ... ok
[INFO] [stdout] test overwrite_value ... ok
[INFO] [stdout] test get_stored_value ... ok
[INFO] [stdout] test remove_key ... ok
[INFO] [stdout] test remove_non_existent_key ... ok
[INFO] [stdout] test concurrent_get ... ok
[INFO] [stdout] test concurrent_set ... ok
[INFO] [stdout] test compaction ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.12s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/thread_pool.rs (/opt/rustwide/target/debug/deps/thread_pool-948f5f9714fe28e9)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test shared_queue_thread_pool_spawn_counter ... ok
[INFO] [stdout] test rayon_thread_pool_spawn_counter ... ok
[INFO] [stdout] test naive_thread_pool_spawn_counter ... ok
[INFO] [stdout] test shared_queue_thread_pool_panic_task ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests kvs
[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" "bf48685bc43343869dad6f0856c93601354a87f730f347e33595af50c94c64e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf48685bc43343869dad6f0856c93601354a87f730f347e33595af50c94c64e2", kill_on_drop: false }`
[INFO] [stdout] bf48685bc43343869dad6f0856c93601354a87f730f347e33595af50c94c64e2
