[INFO] cloning repository https://github.com/jcdyer/cavey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcdyer/cavey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcdyer%2Fcavey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcdyer%2Fcavey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6b2b8de268eda253af07dbc6f0856f5aad30ae1 [INFO] linting jcdyer/cavey against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcdyer%2Fcavey" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcdyer/cavey [INFO] finished tweaking git repo https://github.com/jcdyer/cavey [INFO] tweaked toml for git repo https://github.com/jcdyer/cavey written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcdyer/cavey on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcdyer/cavey 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded walkdir v2.2.8 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded structopt-derive v0.2.16 [INFO] [stderr] Downloaded structopt v0.2.16 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded normalize-line-endings v0.2.2 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded serde_bytes v0.11.1 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded csv-core v0.1.5 [INFO] [stderr] Downloaded predicates v1.0.1 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded hashbrown v0.3.1 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded futures v0.1.28 [INFO] [stderr] Downloaded syn v0.15.36 [INFO] [stderr] Downloaded pagecache v0.17.0 [INFO] [stderr] Downloaded serde v1.0.92 [INFO] [stderr] Downloaded backtrace v0.3.30 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.92 [INFO] [stderr] Downloaded regex v1.1.7 [INFO] [stderr] Downloaded regex-syntax v0.6.7 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded libc v0.2.58 [INFO] [stderr] Downloaded termion v1.5.3 [INFO] [stderr] Downloaded env_logger v0.6.1 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded sled v0.24.1 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded bincode v1.1.4 [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded float-cmp v0.4.0 [INFO] [stderr] Downloaded historian v4.0.3 [INFO] [stderr] Downloaded csv v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6199fd12fe64f2f5d7a02e63ce84fc9cdcadc00223a4b3a0900265985543fe [INFO] running `Command { std: "docker" "start" "-a" "0b6199fd12fe64f2f5d7a02e63ce84fc9cdcadc00223a4b3a0900265985543fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6199fd12fe64f2f5d7a02e63ce84fc9cdcadc00223a4b3a0900265985543fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6199fd12fe64f2f5d7a02e63ce84fc9cdcadc00223a4b3a0900265985543fe", kill_on_drop: false }` [INFO] [stdout] 0b6199fd12fe64f2f5d7a02e63ce84fc9cdcadc00223a4b3a0900265985543fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf8b1ec7ab90cbbd2038884138ef49864d7b55e606a8783766ceb3c8f1779d6 [INFO] running `Command { std: "docker" "start" "-a" "dcf8b1ec7ab90cbbd2038884138ef49864d7b55e606a8783766ceb3c8f1779d6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking historian v4.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking normalize-line-endings v0.2.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking predicates v1.0.1 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling structopt-derive v0.2.16 [INFO] [stderr] Checking structopt v0.2.16 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking serde_bytes v0.11.1 [INFO] [stderr] Checking csv v1.0.7 [INFO] [stderr] Checking pagecache v0.17.0 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking sled v0.24.1 [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stderr] Checking cavey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/store.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/store.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: type alias `Entry` is never used [INFO] [stdout] --> src/sstable.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Entry = (Vec, Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSTable` is never constructed [INFO] [stdout] --> src/sstable.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SSTable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_sorted_iter`, `from_file`, and `at` are never used [INFO] [stdout] --> src/sstable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SSTable { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_sorted_iter<'a, P>(path: P, iter: impl Iterator) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_file>(path: P) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn at(&self, offset: u64) -> io::Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSTableCursor` is never constructed [INFO] [stdout] --> src/sstable.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct SSTableCursor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_next` are never used [INFO] [stdout] --> src/sstable.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl SSTableCursor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 97 | fn new(reader: BufReader) -> SSTableCursor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn read_next(&mut self) -> io::Result, Vec)>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/store.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/store.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/protocol.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: the borrowed expression implements the required traits [INFO] [stdout] --> src/store.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | .unwrap_or_else(|| datadir.join(&format!("{:08}", 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{:08}", 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/store.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let offset = w.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `w.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] = note: `#[warn(clippy::seek_from_current)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/store.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let offset = self.file.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `self.file.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/sstable.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for &(ref key, ref value) in iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 39 - for &(ref key, ref value) in iter { [INFO] [stdout] 39 + for (key, value) in iter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/sstable.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | Err(io::Error::new(io::ErrorKind::Other, "empty iterator")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 49 - Err(io::Error::new(io::ErrorKind::Other, "empty iterator")) [INFO] [stdout] 49 + Err(io::Error::other("empty iterator")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/sstable.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | ... let offsets: io::Result> = iter::repeat_with(|| { Ok(reader.read_u64::()?) }).take(count as usize).collec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 76 - let offsets: io::Result> = iter::repeat_with(|| { Ok(reader.read_u64::()?) }).take(count as usize).collect(); [INFO] [stdout] 76 + let offsets: io::Result> = iter::repeat_with(|| { reader.read_u64::() }).take(count as usize).collect(); [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/store.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LogRecord` [INFO] [stdout] 17 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 18 | pub enum LogRecord { [INFO] [stdout] | --------- `LogRecord` 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: `#[warn(non_local_definitions)]` on by default [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/store.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LogRecord` [INFO] [stdout] 17 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 18 | pub enum LogRecord { [INFO] [stdout] | --------- `LogRecord` 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/protocol.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClientMessage` [INFO] [stdout] 5 | #[serde(rename_all="snake_case")] [INFO] [stdout] 6 | pub(crate) enum ClientMessage { [INFO] [stdout] | ------------- `ClientMessage` 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/protocol.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ClientMessage` [INFO] [stdout] 5 | #[serde(rename_all="snake_case")] [INFO] [stdout] 6 | pub(crate) enum ClientMessage { [INFO] [stdout] | ------------- `ClientMessage` 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/protocol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ServerMessage` [INFO] [stdout] 13 | #[serde(rename_all="snake_case")] [INFO] [stdout] 14 | pub(crate) enum ServerMessage { [INFO] [stdout] | ------------- `ServerMessage` 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/protocol.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ServerMessage` [INFO] [stdout] 13 | #[serde(rename_all="snake_case")] [INFO] [stdout] 14 | pub(crate) enum ServerMessage { [INFO] [stdout] | ------------- `ServerMessage` 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: type alias `Entry` is never used [INFO] [stdout] --> src/sstable.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Entry = (Vec, Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSTable` is never constructed [INFO] [stdout] --> src/sstable.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SSTable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_sorted_iter`, `from_file`, and `at` are never used [INFO] [stdout] --> src/sstable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SSTable { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_sorted_iter<'a, P>(path: P, iter: impl Iterator) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_file>(path: P) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn at(&self, offset: u64) -> io::Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSTableCursor` is never constructed [INFO] [stdout] --> src/sstable.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct SSTableCursor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_next` are never used [INFO] [stdout] --> src/sstable.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl SSTableCursor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 97 | fn new(reader: BufReader) -> SSTableCursor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn read_next(&mut self) -> io::Result, Vec)>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/store.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | .unwrap_or_else(|| datadir.join(&format!("{:08}", 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{:08}", 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/store.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let offset = w.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `w.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] = note: `#[warn(clippy::seek_from_current)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/store.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let offset = self.file.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `self.file.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/sstable.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for &(ref key, ref value) in iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 39 - for &(ref key, ref value) in iter { [INFO] [stdout] 39 + for (key, value) in iter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/sstable.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | Err(io::Error::new(io::ErrorKind::Other, "empty iterator")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 49 - Err(io::Error::new(io::ErrorKind::Other, "empty iterator")) [INFO] [stdout] 49 + Err(io::Error::other("empty iterator")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/sstable.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | ... let offsets: io::Result> = iter::repeat_with(|| { Ok(reader.read_u64::()?) }).take(count as usize).collec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 76 - let offsets: io::Result> = iter::repeat_with(|| { Ok(reader.read_u64::()?) }).take(count as usize).collect(); [INFO] [stdout] 76 + let offsets: io::Result> = iter::repeat_with(|| { reader.read_u64::() }).take(count as usize).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/bin/caveyd.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` 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/store.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LogRecord` [INFO] [stdout] 17 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 18 | pub enum LogRecord { [INFO] [stdout] | --------- `LogRecord` 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: `#[warn(non_local_definitions)]` on by default [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/store.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LogRecord` [INFO] [stdout] 17 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 18 | pub enum LogRecord { [INFO] [stdout] | --------- `LogRecord` 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/protocol.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClientMessage` [INFO] [stdout] 5 | #[serde(rename_all="snake_case")] [INFO] [stdout] 6 | pub(crate) enum ClientMessage { [INFO] [stdout] | ------------- `ClientMessage` 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/protocol.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ClientMessage` [INFO] [stdout] 5 | #[serde(rename_all="snake_case")] [INFO] [stdout] 6 | pub(crate) enum ClientMessage { [INFO] [stdout] | ------------- `ClientMessage` 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/protocol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ServerMessage` [INFO] [stdout] 13 | #[serde(rename_all="snake_case")] [INFO] [stdout] 14 | pub(crate) enum ServerMessage { [INFO] [stdout] | ------------- `ServerMessage` 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/protocol.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ServerMessage` [INFO] [stdout] 13 | #[serde(rename_all="snake_case")] [INFO] [stdout] 14 | pub(crate) enum ServerMessage { [INFO] [stdout] | ------------- `ServerMessage` 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: this import is redundant [INFO] [stdout] --> src/bin/caveyd.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> benches/benches.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | if !val.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `val.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .args(&["get"]) [INFO] [stdout] | ^^^^^^^^ help: change this to: `["get"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | .args(&["get", "extra", "field"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["get", "extra", "field"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | .args(&["--addr", "invalid-addr", "get", "key"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", "invalid-addr", "get", "key"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | .args(&["get", "key", "--unknown-flag"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["get", "key", "--unknown-flag"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | .args(&["put"]) [INFO] [stdout] | ^^^^^^^^ help: change this to: `["put"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | .args(&["put", "missing_field"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["put", "missing_field"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | .args(&["put", "key", "value", "extra_field"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["put", "key", "value", "extra_field"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | .args(&["--addr", "invalid-addr", "put", "key", "value"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", "invalid-addr", "put", "key", "value"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | .args(&["get", "key", "--unknown-flag"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["get", "key", "--unknown-flag"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | .args(&["rm"]) [INFO] [stdout] | ^^^^^^^ help: change this to: `["rm"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | .args(&["rm", "extra", "field"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["rm", "extra", "field"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | .args(&["--addr", "invalid-addr", "rm", "key"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", "invalid-addr", "rm", "key"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | .args(&["rm", "key", "--unknown-flag"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["rm", "key", "--unknown-flag"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | .args(&["unknown"]) [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `["unknown"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | cmd.args(&["-V"]) [INFO] [stdout] | ^^^^^^^ help: change this to: `["-V"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | cmd.args(&["-V"]) [INFO] [stdout] | ^^^^^^^ help: change this to: `["-V"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> tests/cli.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | let mut child = cmd [INFO] [stdout] | _____________________^ [INFO] [stdout] 160 | | .args(&["--engine", "kvs", "--addr", "127.0.0.1:4001"]) [INFO] [stdout] 161 | | .current_dir(&temp_dir) [INFO] [stdout] 162 | | .stderr(File::create(&stderr_path).unwrap()) [INFO] [stdout] 163 | | .spawn() [INFO] [stdout] 164 | | .unwrap(); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider calling `.wait()` [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] = note: `#[warn(clippy::zombie_processes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | .args(&["--engine", "kvs", "--addr", "127.0.0.1:4001"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", "kvs", "--addr", "127.0.0.1:4001"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> tests/cli.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let mut child = cmd [INFO] [stdout] | _________________________^ [INFO] [stdout] 181 | | .args(&["--engine", "sled", "--addr", "127.0.0.1:4002"]) [INFO] [stdout] 182 | | .current_dir(&temp_dir) [INFO] [stdout] 183 | | .spawn() [INFO] [stdout] 184 | | .unwrap(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider calling `.wait()` [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .args(&["--engine", "sled", "--addr", "127.0.0.1:4002"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", "sled", "--addr", "127.0.0.1:4002"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bin/caveyd.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | Info { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 26 | #[structopt(short = "V", long = "version")] [INFO] [stdout] 27 | version: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsB` has a derived impl for the trait `Debug`, 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: fields `addr` and `engine_name` are never read [INFO] [stdout] --> src/bin/caveyd.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | Normal { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 30 | #[structopt(short = "a", long = "addr", default_value="[::1]:4000")] [INFO] [stdout] 31 | addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | engine_name: String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | cmd.args(&["--engine", "kvs", "--addr", "127.0.0.1:4003"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", "kvs", "--addr", "127.0.0.1:4003"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> tests/cli.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let mut child = cmd [INFO] [stdout] | _________________________^ [INFO] [stdout] 200 | | .args(&["--engine", "kvs", "--addr", "127.0.0.1:4002"]) [INFO] [stdout] 201 | | .current_dir(&temp_dir) [INFO] [stdout] 202 | | .spawn() [INFO] [stdout] 203 | | .unwrap(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider calling `.wait()` [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .args(&["--engine", "kvs", "--addr", "127.0.0.1:4002"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", "kvs", "--addr", "127.0.0.1:4002"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | cmd.args(&["--engine", "sled", "--addr", "127.0.0.1:4003"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", "sled", "--addr", "127.0.0.1:4003"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> tests/cli.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut child = server [INFO] [stdout] | _____________________^ [INFO] [stdout] 220 | | .args(&["--engine", engine, "--addr", addr]) [INFO] [stdout] 221 | | .current_dir(&temp_dir) [INFO] [stdout] 222 | | .spawn() [INFO] [stdout] 223 | | .unwrap(); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider calling `.wait()` [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | .args(&["--engine", engine, "--addr", addr]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", engine, "--addr", addr]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | .args(&["--addr", addr, "put", "key1", "value1"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "put", "key1", "value1"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | .args(&["--addr", addr, "get", "key1"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key1"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | .args(&["--addr", addr, "put", "key1", "value2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "put", "key1", "value2"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | .args(&["--addr", addr, "get", "key1"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key1"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | .args(&["--addr", addr, "get", "key2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key2"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | .args(&["--addr", addr, "rm", "key2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "rm", "key2"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | .args(&["--addr", addr, "put", "key2", "value3"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "put", "key2", "value3"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 288 | .args(&["--addr", addr, "rm", "key1"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "rm", "key1"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | .args(&["--addr", addr, "get", "key2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key2"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> tests/cli.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut child = server [INFO] [stdout] | _____________________^ [INFO] [stdout] 311 | | .args(&["--engine", engine, "--addr", addr]) [INFO] [stdout] 312 | | .current_dir(&temp_dir) [INFO] [stdout] 313 | | .spawn() [INFO] [stdout] 314 | | .unwrap(); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider calling `.wait()` [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 311 | .args(&["--engine", engine, "--addr", addr]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--engine", engine, "--addr", addr]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | .args(&["--addr", addr, "get", "key2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key2"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/cli.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | .args(&["--addr", addr, "get", "key1"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["--addr", addr, "get", "key1"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/bin/caveyd.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | Info { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 26 | #[structopt(short = "V", long = "version")] [INFO] [stdout] 27 | version: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsB` has a derived impl for the trait `Debug`, 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: fields `addr` and `engine_name` are never read [INFO] [stdout] --> src/bin/caveyd.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | Normal { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 30 | #[structopt(short = "a", long = "addr", default_value="[::1]:4000")] [INFO] [stdout] 31 | addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | engine_name: String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11, pagecache v0.17.0 [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" "dcf8b1ec7ab90cbbd2038884138ef49864d7b55e606a8783766ceb3c8f1779d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf8b1ec7ab90cbbd2038884138ef49864d7b55e606a8783766ceb3c8f1779d6", kill_on_drop: false }` [INFO] [stdout] dcf8b1ec7ab90cbbd2038884138ef49864d7b55e606a8783766ceb3c8f1779d6