[INFO] cloning repository https://github.com/vvbae/KVS-single [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vvbae/KVS-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2FKVS-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2FKVS-single'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ef064c069ccc4c8836cd1a743ace6f8c7aa0fab [INFO] checking vvbae/KVS-single against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvbae%2FKVS-single" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vvbae/KVS-single [INFO] finished tweaking git repo https://github.com/vvbae/KVS-single [INFO] tweaked toml for git repo https://github.com/vvbae/KVS-single written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vvbae/KVS-single on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vvbae/KVS-single already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9396a53e539f0d72c5c325f74fa990a79a22b09bce8f818f7bf1f4d2c06179e [INFO] running `Command { std: "docker" "start" "-a" "c9396a53e539f0d72c5c325f74fa990a79a22b09bce8f818f7bf1f4d2c06179e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9396a53e539f0d72c5c325f74fa990a79a22b09bce8f818f7bf1f4d2c06179e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9396a53e539f0d72c5c325f74fa990a79a22b09bce8f818f7bf1f4d2c06179e", kill_on_drop: false }` [INFO] [stdout] c9396a53e539f0d72c5c325f74fa990a79a22b09bce8f818f7bf1f4d2c06179e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e9437fd17d51217bfb23785e98d7aa6b0e2b85cdfd5e6264340a24025156ad5 [INFO] running `Command { std: "docker" "start" "-a" "7e9437fd17d51217bfb23785e98d7aa6b0e2b85cdfd5e6264340a24025156ad5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking bstr v1.5.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking assert_cmd v2.0.11 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking clap v4.3.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking kvs-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / #[structopt(name = "KEY", help = "A String Key")] [INFO] [stdout] 22 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs-server` (bin "kvs-client") due to 4 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / #[structopt(name = "KEY", help = "A String Key")] [INFO] [stdout] 35 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / #[structopt(name = "VALUE", help = "The String value of the key")] [INFO] [stdout] 37 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / #[structopt(name = "KEY", help = "A String Key")] [INFO] [stdout] 50 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e9437fd17d51217bfb23785e98d7aa6b0e2b85cdfd5e6264340a24025156ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9437fd17d51217bfb23785e98d7aa6b0e2b85cdfd5e6264340a24025156ad5", kill_on_drop: false }` [INFO] [stdout] 7e9437fd17d51217bfb23785e98d7aa6b0e2b85cdfd5e6264340a24025156ad5