[INFO] cloning repository https://github.com/Lucian-4a25/kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucian-4a25/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fkvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fkvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6d314bd0b81890202ddb70630209a7393800501 [INFO] checking Lucian-4a25/kvs against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fkvs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lucian-4a25/kvs [INFO] finished tweaking git repo https://github.com/Lucian-4a25/kvs [INFO] tweaked toml for git repo https://github.com/Lucian-4a25/kvs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lucian-4a25/kvs on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lucian-4a25/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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.206 [INFO] [stderr] Downloaded serde v1.0.206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1528d64eaf55a4ddbe029357e1dd2136d20a1e3764ab20285af5b465e9e3f046 [INFO] running `Command { std: "docker" "start" "-a" "1528d64eaf55a4ddbe029357e1dd2136d20a1e3764ab20285af5b465e9e3f046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1528d64eaf55a4ddbe029357e1dd2136d20a1e3764ab20285af5b465e9e3f046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1528d64eaf55a4ddbe029357e1dd2136d20a1e3764ab20285af5b465e9e3f046", kill_on_drop: false }` [INFO] [stdout] 1528d64eaf55a4ddbe029357e1dd2136d20a1e3764ab20285af5b465e9e3f046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b52908ff31773adcd56dfc24c6c1cf5e5b60fff788bad69dadd3f3f3b1ee395 [INFO] running `Command { std: "docker" "start" "-a" "6b52908ff31773adcd56dfc24c6c1cf5e5b60fff788bad69dadd3f3f3b1ee395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: unused imports: `DeserializeOwned` and `value` [INFO] [stdout] --> src/resp/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | de::{self, value, DeserializeOwned}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/resp/mod.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | if (!rest.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (!rest.is_empty()) { [INFO] [stdout] 142 + if !rest.is_empty() { [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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 6 | 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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 6 | 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] Checking criterion v0.3.6 [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/bin/kvs-client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/bin/kvs-client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slog::Logger` [INFO] [stdout] --> src/bin/kvs-client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use slog::Logger; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Logger` [INFO] [stdout] --> src/bin/kvs-server.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use slog::{error, info, Logger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ClientCommand: Serialize` is not satisfied [INFO] [stdout] --> src/bin/kvs-client.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | let serialized_command = serde_json::to_string(&command)?; [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `ClientCommand` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ClientCommand` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 132 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.124/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/kvs-server.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/bin/kvs-server.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn start_service(ip_addr: IpAddr, port: u16, engine: Engine) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (bin "kvs-client") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6b52908ff31773adcd56dfc24c6c1cf5e5b60fff788bad69dadd3f3f3b1ee395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b52908ff31773adcd56dfc24c6c1cf5e5b60fff788bad69dadd3f3f3b1ee395", kill_on_drop: false }` [INFO] [stdout] 6b52908ff31773adcd56dfc24c6c1cf5e5b60fff788bad69dadd3f3f3b1ee395