[INFO] cloning repository https://github.com/WindSoilder/kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WindSoilder/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindSoilder%2Fkvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindSoilder%2Fkvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f88e74bbe8e22eb5d0f3a3891cf77c380d39ec2 [INFO] testing WindSoilder/kvs/4f88e74bbe8e22eb5d0f3a3891cf77c380d39ec2 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindSoilder%2Fkvs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WindSoilder/kvs on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WindSoilder/kvs [INFO] finished tweaking git repo https://github.com/WindSoilder/kvs [INFO] tweaked toml for git repo https://github.com/WindSoilder/kvs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WindSoilder/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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19293216291b5f02457911f8084794f3eb01f23d292e92112ddedecfca5a6faa [INFO] running `Command { std: "docker" "start" "-a" "19293216291b5f02457911f8084794f3eb01f23d292e92112ddedecfca5a6faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19293216291b5f02457911f8084794f3eb01f23d292e92112ddedecfca5a6faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19293216291b5f02457911f8084794f3eb01f23d292e92112ddedecfca5a6faa", kill_on_drop: false }` [INFO] [stdout] 19293216291b5f02457911f8084794f3eb01f23d292e92112ddedecfca5a6faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4634c988f74da304339f938fb83578db63c7563cbada948bb621b4ac1d5cecb5 [INFO] running `Command { std: "docker" "start" "-a" "4634c988f74da304339f938fb83578db63c7563cbada948bb621b4ac1d5cecb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling sled v0.29.1 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/command.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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 13.89s [INFO] running `Command { std: "docker" "inspect" "4634c988f74da304339f938fb83578db63c7563cbada948bb621b4ac1d5cecb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4634c988f74da304339f938fb83578db63c7563cbada948bb621b4ac1d5cecb5", kill_on_drop: false }` [INFO] [stdout] 4634c988f74da304339f938fb83578db63c7563cbada948bb621b4ac1d5cecb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3906b6642efcc655f30b1f18bab1f73a48ab1a3564b9089011812c6cfbefcd29 [INFO] running `Command { std: "docker" "start" "-a" "3906b6642efcc655f30b1f18bab1f73a48ab1a3564b9089011812c6cfbefcd29", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/command.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.8.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling rand v0.7.1 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling panic-control v0.1.4 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/command.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Instruction` [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stdout] 4 | /// Kvs server response. [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Status` [INFO] [stdout] 15 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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 3.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3906b6642efcc655f30b1f18bab1f73a48ab1a3564b9089011812c6cfbefcd29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3906b6642efcc655f30b1f18bab1f73a48ab1a3564b9089011812c6cfbefcd29", kill_on_drop: false }` [INFO] [stdout] 3906b6642efcc655f30b1f18bab1f73a48ab1a3564b9089011812c6cfbefcd29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a321504371f64f7f26a271484dcf5a1b91567872c414a1abb908d7e18f04a158 [INFO] running `Command { std: "docker" "start" "-a" "a321504371f64f7f26a271484dcf5a1b91567872c414a1abb908d7e18f04a158", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/command.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Instruction` [INFO] [stderr] 6 | pub enum Instruction { [INFO] [stderr] | ----------- `Instruction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/command.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Instruction` [INFO] [stderr] 6 | pub enum Instruction { [INFO] [stderr] | ----------- `Instruction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Response` [INFO] [stderr] 4 | /// Kvs server response. [INFO] [stderr] 5 | pub struct Response { [INFO] [stderr] | -------- `Response` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stderr] 4 | /// Kvs server response. [INFO] [stderr] 5 | pub struct Response { [INFO] [stderr] | -------- `Response` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/network/response.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status` [INFO] [stderr] 15 | pub enum Status { [INFO] [stderr] | ------ `Status` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/network/response.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Status` [INFO] [stderr] 15 | pub enum Status { [INFO] [stderr] | ------ `Status` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kvs` (lib) generated 6 warnings [INFO] [stderr] warning: `kvs` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kvs-3a461126967b6f82) [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.rs (/opt/rustwide/target/debug/deps/kvs-6a15cccddfc64fba) [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-075e3f83bfc17fe5) [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-4e931814e69ae85d) [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-a9467939de56f213) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stdout] test client_cli_invalid_subcommand ... ok [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Listening on 127.0.0.1:4004 [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Listening on 127.0.0.1:4002 [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Listening on 127.0.0.1:4005 [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Using engine Kvs [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Using engine Sled [INFO] [stderr] [2024-10-22T08:30:34Z INFO kvs_server] Using engine Sled [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG kvs::network::server] Waiting for connections... [INFO] [stdout] test client_cli_no_args ... ok [INFO] [stdout] test client_cli_version ... ok [INFO] [stdout] test client_cli_invalid_rm ... ok [INFO] [stdout] test client_cli_invalid_get ... ok [INFO] [stdout] test server_cli_version ... ok [INFO] [stdout] test client_cli_invalid_set ... ok [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::snapshot] no previous snapshot found [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::snapshot] no previous snapshot found [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] ordering before clearing tears: {}, max_header_stable_lsn: 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] ordering before clearing tears: {}, max_header_stable_lsn: 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] in clean_tail_tears, found missing item in tail: None and we'll scan segments [] above lowest lsn 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] in clean_tail_tears, found missing item in tail: None and we'll scan segments [] above lowest lsn 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] filtering out segments after detected tear at lsn 0 lid 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iterator] filtering out segments after detected tear at lsn 0 lid 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::segment] segment accountant returning offset: 0 paused: false on deck: VecSet { inner: [] } lid_slack: 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] storing lsn 0 in beginning of buffer [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::segment] segment accountant returning offset: 0 paused: false on deck: VecSet { inner: [] } lid_slack: 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] storing lsn 0 in beginning of buffer [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] starting log at clean offset 0, recovered lsn 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] starting log at clean offset 0, recovered lsn 0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::blob_io] gc_blobs removing any blob with an lsn above -1 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::blob_io] gc_blobs removing any blob with an lsn above -1 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache] load_snapshot loading pages from 0..0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache] load_snapshot loading pages from 0..0 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::meta] allocated pid 4 for root of new_tree [95, 95, 115, 108, 101, 100, 95, 95, 100, 101, 102, 97, 117, 108, 116] [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::meta] allocated pid 4 for root of new_tree [95, 95, 115, 108, 101, 100, 95, 95, 100, 101, 102, 97, 117, 108, 116] [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 0 to 274 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 0 to 338 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 274 to 338 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] wrote lsns 274-337 to disk at offsets 274-337, maxed false complete_len 64 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] wrote lsns 0-337 to disk at offsets 0-337, maxed false complete_len 338 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] wrote lsns 0-273 to disk at offsets 0-273, maxed false complete_len 274 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] mark_interval(0, 338) [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] mark_interval(274, 64) [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] new highest interval: 0 - 337 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] mark_interval(0, 274) [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] new highest interval: 0 - 273 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG sled::pagecache::iobuf] new highest interval: 274 - 337 [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG kvs::network::server] Waiting for connections... [INFO] [stderr] [2024-10-22T08:30:34Z DEBUG kvs::network::server] Waiting for connections... [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51306 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51306 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51306 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51306, Instruction: Set { key: "key1", value: "value1" } [INFO] [stdout] test cli_log_configuration ... ok [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51306 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51306, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40584 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40584 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40584 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40584, Instruction: Set { key: "key1", value: "value1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 338 to 393 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51316 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51316 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51316 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51316, Instruction: Get { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51316 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51316, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] wrote lsns 338-392 to disk at offsets 338-392, maxed false complete_len 55 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] mark_interval(338, 55) [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] new highest interval: 338 - 392 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40584 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40584, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51324 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Listening on 127.0.0.1:4002 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51324 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Using engine Kvs [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51324 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51324, Instruction: Set { key: "key1", value: "value2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51324 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting for connections... [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51324, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40600 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40600 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40600 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40600, Instruction: Get { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40600 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40600, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51330 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51330 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51330 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51330, Instruction: Get { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51330 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51330, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40602 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40602 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40602 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40602, Instruction: Set { key: "key1", value: "value2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 393 to 448 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51344 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51344 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51344 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51344, Instruction: Get { key: "key2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51344 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51344, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] wrote lsns 393-447 to disk at offsets 393-447, maxed false complete_len 55 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] mark_interval(393, 55) [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] new highest interval: 393 - 447 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40602 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40602, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51354 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51354 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51354 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51354, Instruction: Rm { key: "key2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51354 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51354, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40614 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40614 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40614 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40614, Instruction: Get { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40614 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40614, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51366 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51366 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51366 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51366, Instruction: Set { key: "key2", value: "value3" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51366 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51366, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40628 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40628 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40628 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40628, Instruction: Get { key: "key2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40628 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40628, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51382 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51382 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51382 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:51382, Instruction: Rm { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51382 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51382, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40640 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40640 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40640 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40640, Instruction: Rm { key: "key2" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 448 to 489 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Listening on 127.0.0.1:4004 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Using engine Kvs [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting for connections... [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] wrote lsns 448-488 to disk at offsets 448-488, maxed false complete_len 41 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] mark_interval(448, 41) [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] new highest interval: 448 - 488 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40640 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40640, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40644 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40644 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40644 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40644, Instruction: Set { key: "key2", value: "value3" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 489 to 544 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] wrote lsns 489-543 to disk at offsets 489-543, maxed false complete_len 55 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] mark_interval(489, 55) [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] new highest interval: 489 - 543 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40644 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40644, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] New connection established from 127.0.0.1:40646 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:40646 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:40646 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Peer: 127.0.0.1:40646, Instruction: Rm { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] advancing offset within the current segment from 544 to 585 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] wrote lsns 544-584 to disk at offsets 544-584, maxed false complete_len 41 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] mark_interval(544, 41) [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG sled::pagecache::iobuf] new highest interval: 544 - 584 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:40646 [INFO] [stderr] [2024-10-22T08:30:35Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:40646, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Kvs server start up, version is: 0.1.0 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Listening on 127.0.0.1:4005 [INFO] [stderr] [2024-10-22T08:30:35Z INFO kvs_server] Using engine Sled [INFO] [stderr] Error: KvsError { repr: SledError(Io(Custom { kind: Other, error: "could not acquire lock on \"./db\": Os { code: 11, kind: WouldBlock, message: \"Resource temporarily unavailable\" }" })) } [INFO] [stdout] test cli_wrong_engine ... ok [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51392 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51392 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51392 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Peer: 127.0.0.1:51392, Instruction: Get { key: "key2" } [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51392 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51392, so this connection is closed. [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] New connection established from 127.0.0.1:51394 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Waiting data from 127.0.0.1:51394 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Receive data from peer: 127.0.0.1:51394 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Peer: 127.0.0.1:51394, Instruction: Get { key: "key1" } [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Solve complete for peer: 127.0.0.1:51394 [INFO] [stderr] [2024-10-22T08:30:36Z DEBUG kvs::network::server] Connection closed by peer 127.0.0.1:51394, so this connection is closed. [INFO] [stdout] test cli_access_server_kvs_engine ... ok [INFO] [stdout] test cli_access_server_sled_engine ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cli_access_server_sled_engine stdout ---- [INFO] [stdout] thread 'cli_access_server_sled_engine' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/assert_cmd-0.11.1/src/assert.rs:154:13: [INFO] [stdout] Unexpected failure. [INFO] [stdout] code-1 [INFO] [stdout] stderr=```Error: KvsError { repr: IOError(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }) } [INFO] [stdout] ``` [INFO] [stdout] command=`cd "/tmp/.tmpbfdEU8" && "/opt/rustwide/target/debug/kvs-client" "get" "key2" "--addr" "127.0.0.1:4005"` [INFO] [stdout] code=1 [INFO] [stdout] stdout=`````` [INFO] [stdout] stderr=```Error: KvsError { repr: IOError(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }) } [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5baaa1582ffa - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5baaa1582ffa - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5baaa1582ffa - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5baaa1582ffa - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5baaa15a9eb3 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5baaa15a9eb3 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x5baaa157fe43 - std::io::Write::write_fmt::he91cdb71d5735485 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x5baaa1582e42 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5baaa15844da - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5baaa15842e4 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5baaa14ec539 - as core::ops::function::Fn>::call::h27e62728b51ac345 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x5baaa14ec539 - test::test_main::{{closure}}::hbed48e9da271eb2d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x5baaa1584b78 - as core::ops::function::Fn>::call::hd23f1b4f57a7d85e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x5baaa1584b78 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5baaa158493a - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5baaa15834d9 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5baaa15845cc - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5baaa1493090 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5baaa1533147 - assert_cmd::assert::Assert::success::h0e09619c08799209 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/assert_cmd-0.11.1/src/assert.rs:154:13 [INFO] [stdout] 19: 0x5baaa149aa4f - cli::cli_access_server::h4d64fc712098a686 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli.rs:311:5 [INFO] [stdout] 20: 0x5baaa149efce - cli::cli_access_server_sled_engine::h777c690efe99de34 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli.rs:336:5 [INFO] [stdout] 21: 0x5baaa149ef97 - cli::cli_access_server_sled_engine::{{closure}}::h3c5ad92130a2bd53 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli.rs:335:35 [INFO] [stdout] 22: 0x5baaa14a1016 - core::ops::function::FnOnce::call_once::h7af6142acc0e1036 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5baaa14f0e2b - core::ops::function::FnOnce::call_once::h5ce2090d0ba06760 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5baaa14f0e2b - test::__rust_begin_short_backtrace::h49e973657dd86077 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x5baaa14f06f7 - test::run_test_in_process::{{closure}}::hb4c111032eacbf3c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x5baaa14f06f7 - as core::ops::function::FnOnce<()>>::call_once::hc84870afebfce019 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5baaa14f06f7 - std::panicking::try::do_call::hce598b5d1a04cf08 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x5baaa14f06f7 - std::panicking::try::h25a7aea9d63b441f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x5baaa14f06f7 - std::panic::catch_unwind::h4b12b06a11af50d2 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5baaa14f06f7 - test::run_test_in_process::hd69883821bd30381 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x5baaa14f06f7 - test::run_test::{{closure}}::he160a756db6d8677 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x5baaa14b5924 - test::run_test::{{closure}}::h2e90a3191e3e0ce0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x5baaa14b5924 - std::sys::backtrace::__rust_begin_short_backtrace::he01c960b1833637c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x5baaa14b908e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30b75746266698d7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x5baaa14b908e - as core::ops::function::FnOnce<()>>::call_once::h6a5dff2677e9a6c5 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5baaa14b908e - std::panicking::try::do_call::h5e069e9a53dd16f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x5baaa14b908e - std::panicking::try::h0f789115e2be34bc [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x5baaa14b908e - std::panic::catch_unwind::h5caa505f99ba7d23 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5baaa14b908e - std::thread::Builder::spawn_unchecked_::{{closure}}::ha405b857d4a0e18b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x5baaa14b908e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3c96c07e3187855 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5baaa1589d1b - as core::ops::function::FnOnce>::call_once::hfe31dd51cc8f40d6 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x5baaa1589d1b - as core::ops::function::FnOnce>::call_once::h424186ab2917e76f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x5baaa1589d1b - std::sys::pal::unix::thread::Thread::new::thread_start::h5bbddfcb1fc1838d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7f0054d18ac3 - [INFO] [stdout] 45: 0x7f0054da9a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cli_access_server_sled_engine [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "a321504371f64f7f26a271484dcf5a1b91567872c414a1abb908d7e18f04a158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a321504371f64f7f26a271484dcf5a1b91567872c414a1abb908d7e18f04a158", kill_on_drop: false }` [INFO] [stdout] a321504371f64f7f26a271484dcf5a1b91567872c414a1abb908d7e18f04a158