[INFO] cloning repository https://github.com/kindermax/pingcap-course-kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kindermax/pingcap-course-kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindermax%2Fpingcap-course-kvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindermax%2Fpingcap-course-kvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6969eb530f8ccfaf8235b915f4ae16775ea42b5d [INFO] checking kindermax/pingcap-course-kvs 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%2Fkindermax%2Fpingcap-course-kvs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kindermax/pingcap-course-kvs [INFO] finished tweaking git repo https://github.com/kindermax/pingcap-course-kvs [INFO] tweaked toml for git repo https://github.com/kindermax/pingcap-course-kvs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kindermax/pingcap-course-kvs 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/kindermax/pingcap-course-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f496435f14c7835d7e5d4c45855406f3b4b44b44d4ac2222c1768b1fc4057539 [INFO] running `Command { std: "docker" "start" "-a" "f496435f14c7835d7e5d4c45855406f3b4b44b44d4ac2222c1768b1fc4057539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f496435f14c7835d7e5d4c45855406f3b4b44b44d4ac2222c1768b1fc4057539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f496435f14c7835d7e5d4c45855406f3b4b44b44d4ac2222c1768b1fc4057539", kill_on_drop: false }` [INFO] [stdout] f496435f14c7835d7e5d4c45855406f3b4b44b44d4ac2222c1768b1fc4057539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ef784fde5ac5aaeef4e1112457d769dc0c19845b847cffb717bdddf190559b30 [INFO] running `Command { std: "docker" "start" "-a" "ef784fde5ac5aaeef4e1112457d769dc0c19845b847cffb717bdddf190559b30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 (https://github.com/crossbeam-rs/crossbeam.git?branch=master#4b949c2b) [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 (https://github.com/crossbeam-rs/crossbeam.git?branch=master#4b949c2b) [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-skiplist v0.0.0 (https://github.com/crossbeam-rs/crossbeam.git?branch=master#4b949c2b) [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking panic-control v0.1.4 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking escargot v0.4.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv v1.1.6 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(help = "A string key")] [INFO] [stdout] 30 | | key: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / #[clap(help = "A string key")] [INFO] [stdout] 43 | | key: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/kvs-client.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / #[clap(help = "The string value of the key")] [INFO] [stdout] 45 | | 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:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / #[clap(help = "A string key")] [INFO] [stdout] 58 | | key: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (bin "kvs-client") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ef784fde5ac5aaeef4e1112457d769dc0c19845b847cffb717bdddf190559b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef784fde5ac5aaeef4e1112457d769dc0c19845b847cffb717bdddf190559b30", kill_on_drop: false }` [INFO] [stdout] ef784fde5ac5aaeef4e1112457d769dc0c19845b847cffb717bdddf190559b30