[INFO] cloning repository https://github.com/JNhua/rust_kv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JNhua/rust_kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJNhua%2Frust_kv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJNhua%2Frust_kv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f36f0aa256c6faab9fd9f3dd4bdb0102d7876655 [INFO] checking JNhua/rust_kv against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJNhua%2Frust_kv" "/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/JNhua/rust_kv [INFO] finished tweaking git repo https://github.com/JNhua/rust_kv [INFO] tweaked toml for git repo https://github.com/JNhua/rust_kv written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JNhua/rust_kv on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JNhua/rust_kv 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/crossbeam-rs/crossbeam.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking JNhua/rust_kv against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJNhua%2Frust_kv" "/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/JNhua/rust_kv [INFO] finished tweaking git repo https://github.com/JNhua/rust_kv [INFO] tweaked toml for git repo https://github.com/JNhua/rust_kv written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JNhua/rust_kv on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JNhua/rust_kv 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "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 tokio-serde-json v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded tokio-serde v0.3.0 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded futures v0.1.29 [INFO] [stderr] Downloaded miniz_oxide v0.4.1 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded treeline v0.1.0 [INFO] [stderr] Downloaded predicates v1.0.5 [INFO] [stderr] Downloaded sled v0.22.1 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded rayon-core v1.8.0 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded hashbrown v0.2.2 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded panic-control v0.1.4 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded float-cmp v0.8.0 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded either v1.6.0 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded historian v4.0.3 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded assert_cmd v1.0.1 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded serde_bytes v0.10.5 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded pagecache v0.15.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d004d576cac35ff9340d196886d2e79656fe01734027857d1b0a58561a6aebb [INFO] running `Command { std: "docker" "start" "-a" "1d004d576cac35ff9340d196886d2e79656fe01734027857d1b0a58561a6aebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d004d576cac35ff9340d196886d2e79656fe01734027857d1b0a58561a6aebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d004d576cac35ff9340d196886d2e79656fe01734027857d1b0a58561a6aebb", kill_on_drop: false }` [INFO] [stdout] 1d004d576cac35ff9340d196886d2e79656fe01734027857d1b0a58561a6aebb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7a6fb81a4497e4fa31c689726fbbd4543e1e9f5d8f8fe7a10c5c31400c0ca58 [INFO] running `Command { std: "docker" "start" "-a" "c7a6fb81a4497e4fa31c689726fbbd4543e1e9f5d8f8fe7a10c5c31400c0ca58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.5 (https://github.com/crossbeam-rs/crossbeam.git?rev=8cc906b#8cc906b9) [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking historian v4.0.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 (https://github.com/crossbeam-rs/crossbeam.git?rev=8cc906b#8cc906b9) [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-serde v0.3.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-skiplist v0.0.0 (https://github.com/crossbeam-rs/crossbeam.git?rev=8cc906b#8cc906b9) [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking panic-control v0.1.4 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking predicates v1.0.5 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking assert_cmd v1.0.1 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hashbrown v0.2.2 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_bytes v0.10.5 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking pagecache v0.15.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tokio-serde-json v0.2.0 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking sled v0.22.1 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/engines/kvs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct KvStore { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | // directory for the log and other data [INFO] [stdout] 47 | path: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/engines/kvs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct KvStore { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | // directory for the log and other data [INFO] [stdout] 47 | path: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] [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] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/engine_bench.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | (KvStore::open(temp_dir.path()).unwrap(), temp_dir) [INFO] [stdout] | ^^^^^^^^^^^^^----------------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/kvs.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn open(path: impl Into, concurrency: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | (KvStore::open(temp_dir.path(), /* u32 */).unwrap(), temp_dir) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Box<(dyn futures::future::Future + Send + 'static)>` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | store.set(format!("key{}", i), "value".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Box<(dyn futures::future::Future + Send + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/engine_bench.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | SledKvsEngine::new(Db::start_default(&temp_dir).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/sled.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(db: Db, concurrency: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | SledKvsEngine::new(Db::start_default(&temp_dir).unwrap(), /* u32 */), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for enum `Result` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | db.set(format!("key{}", i), "value".to_string()).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, KvsError>` [INFO] [stdout] | [INFO] [stdout] note: the method `set` exists on the type `SledKvsEngine<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn set(&self, key: String, value: String) -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `SledKvsEngine<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 41 | db.expect("REASON").set(format!("key{}", i), "value".to_string()).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/engine_bench.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let mut store = KvStore::open(temp_dir.path()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^----------------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/kvs.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn open(path: impl Into, concurrency: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | let mut store = KvStore::open(temp_dir.path(), /* u32 */).unwrap(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Box<(dyn futures::future::Future + Send + 'static)>` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 57 | / store [INFO] [stdout] 58 | | .set(format!("key{}", key_i), "value".to_string()) [INFO] [stdout] 59 | | .unwrap(); [INFO] [stdout] | | -^^^^^^ method not found in `Box<(dyn futures::future::Future + Send + 'static)>` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Box<(dyn futures::future::Future> + Send + 'static)>` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 63 | / store [INFO] [stdout] 64 | | .get(format!("key{}", rng.gen_range(1, 1 << i))) [INFO] [stdout] 65 | | .unwrap(); [INFO] [stdout] | | -^^^^^^ method not found in `Box<(dyn futures::future::Future> + Send + 'static)>` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/engine_bench.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let mut db = SledKvsEngine::new(Db::start_default(&temp_dir).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/sled.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(db: Db, concurrency: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 72 | let mut db = SledKvsEngine::new(Db::start_default(&temp_dir).unwrap(), /* u32 */); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for enum `Result` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | db.set(format!("key{}", key_i), "value".to_string()) [INFO] [stdout] | ^^^ method not found in `Result, KvsError>` [INFO] [stdout] | [INFO] [stdout] note: the method `set` exists on the type `SledKvsEngine<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn set(&self, key: String, value: String) -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `SledKvsEngine<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 74 | db.expect("REASON").set(format!("key{}", key_i), "value".to_string()) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> benches/engine_bench.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | db.get(format!("key{}", rng.gen_range(1, 1 << i))).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, KvsError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `SledKvsEngine<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn get(&self, key: String) -> Box, Error = KvsError> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `SledKvsEngine<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 79 | db.expect("REASON").get(format!("key{}", rng.gen_range(1, 1 << i))).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (bench "engine_bench") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c7a6fb81a4497e4fa31c689726fbbd4543e1e9f5d8f8fe7a10c5c31400c0ca58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a6fb81a4497e4fa31c689726fbbd4543e1e9f5d8f8fe7a10c5c31400c0ca58", kill_on_drop: false }` [INFO] [stdout] c7a6fb81a4497e4fa31c689726fbbd4543e1e9f5d8f8fe7a10c5c31400c0ca58