[INFO] cloning repository https://github.com/caibirdme/kvstore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caibirdme/kvstore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaibirdme%2Fkvstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaibirdme%2Fkvstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f365ad42529a930278b581b9e7db1e76efc9ca7c [INFO] testing caibirdme/kvstore against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaibirdme%2Fkvstore" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caibirdme/kvstore [INFO] finished tweaking git repo https://github.com/caibirdme/kvstore [INFO] tweaked toml for git repo https://github.com/caibirdme/kvstore written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caibirdme/kvstore on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caibirdme/kvstore 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e [INFO] running `Command { std: "docker" "start" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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 `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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut writer = Self::new_log_file(last_id, file_path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut writer = Self::new_log_file(fid, path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut t = r.take(len); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut writer = Self::new_log_file(2, self.file_path.as_path(), &mut self.readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut fd = OpenOptions::new() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut writer = BufWriter::new(fd); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut r = OpenOptions::new().read(true).open(p)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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: `#[warn(non_local_definitions)]` on by default [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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [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_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` 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: unused import: `kvs::err::KvError::KeyNotFound` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use kvs::err::KvError::KeyNotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cfg = App::from_yaml(yaml).version(env!("CARGO_PKG_VERSION")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 32.17s [INFO] running `Command { std: "docker" "inspect" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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 `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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut writer = Self::new_log_file(last_id, file_path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut writer = Self::new_log_file(fid, path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut t = r.take(len); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut writer = Self::new_log_file(2, self.file_path.as_path(), &mut self.readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut fd = OpenOptions::new() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut writer = BufWriter::new(fd); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut r = OpenOptions::new().read(true).open(p)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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: `#[warn(non_local_definitions)]` on by default [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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [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_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` 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: unused import: `kvs::err::KvError::KeyNotFound` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use kvs::err::KvError::KeyNotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cfg = App::from_yaml(yaml).version(env!("CARGO_PKG_VERSION")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kvs::err::KvError::KeyNotFound` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use kvs::err::KvError::KeyNotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cfg = App::from_yaml(yaml).version(env!("CARGO_PKG_VERSION")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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 `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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [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] = 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut writer = Self::new_log_file(last_id, file_path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut writer = Self::new_log_file(fid, path.as_path(), &mut readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut t = r.take(len); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut writer = Self::new_log_file(2, self.file_path.as_path(), &mut self.readers)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut fd = OpenOptions::new() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut writer = BufWriter::new(fd); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut r = OpenOptions::new().read(true).open(p)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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: `#[warn(non_local_definitions)]` on by default [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/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Operation` [INFO] [stdout] 67 | enum Operation { [INFO] [stdout] | --------- `Operation` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` 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/err.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [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_KvError` [INFO] [stdout] 5 | pub enum KvError { [INFO] [stdout] | ------- `KvError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 21.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: escargot v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] extern crate failure; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut writer = Self::new_log_file(last_id, file_path.as_path(), &mut readers)?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | let mut writer = Self::new_log_file(fid, path.as_path(), &mut readers)?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:137:21 [INFO] [stderr] | [INFO] [stderr] 137 | let mut t = r.take(len); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | let mut writer = Self::new_log_file(2, self.file_path.as_path(), &mut self.readers)?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let mut fd = OpenOptions::new() [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 225 | let mut writer = BufWriter::new(fd); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | let mut r = OpenOptions::new().read(true).open(p)?; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Operation` [INFO] [stderr] 67 | enum Operation { [INFO] [stderr] | --------- `Operation` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Operation` [INFO] [stderr] 67 | enum Operation { [INFO] [stderr] | --------- `Operation` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/err.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvError` [INFO] [stderr] 5 | pub enum KvError { [INFO] [stderr] | ------- `KvError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/err.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvError` [INFO] [stderr] 5 | pub enum KvError { [INFO] [stderr] | ------- `KvError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kvs` (lib) generated 14 warnings (run `cargo fix --lib -p kvs` to apply 7 suggestions) [INFO] [stderr] warning: unused import: `kvs::err::KvError::KeyNotFound` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use kvs::err::KvError::KeyNotFound; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let mut cfg = App::from_yaml(yaml).version(env!("CARGO_PKG_VERSION")); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kvs` (bin "kvs") generated 2 warnings (run `cargo fix --bin "kvs" -p kvs` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> tests/tests.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kvs` (bin "kvs" test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `kvs` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: `kvs` (test "tests") generated 1 warning (run `cargo fix --test "tests" -p kvs` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: escargot v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/kvs/ef94890b5ef34c9f/out/kvs-ef94890b5ef34c9f) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/kvs/cb5ba0b7812b20e7/out/kvs-cb5ba0b7812b20e7) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/tests-9a775864bededc86) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test cli_invalid_set ... FAILED [INFO] [stdout] test cli_version ... FAILED [INFO] [stdout] test cli_get_non_existent_key ... FAILED [INFO] [stdout] test get_stored_value ... ok [INFO] [stdout] test cli_invalid_get ... FAILED [INFO] [stdout] test test_sort_log ... ok [INFO] [stdout] test cli_get_stored ... FAILED [INFO] [stdout] test remove_key ... ok [INFO] [stdout] test overwrite_value ... ok [INFO] [stdout] test remove_non_existent_key ... ok [INFO] [stdout] test cli_invalid_subcommand ... FAILED [INFO] [stdout] test cli_invalid_rm ... FAILED [INFO] [stdout] test cli_set ... FAILED [INFO] [stdout] test get_non_existent_value ... ok [INFO] [stdout] test cli_no_args ... FAILED [INFO] [stdout] test cli_rm_non_existent_key ... FAILED [INFO] [stdout] test cli_rm_stored ... FAILED [INFO] [stdout] test compaction ... ok [INFO] [stderr] error: test failed, to rerun pass `--test tests` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cli_invalid_set stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_invalid_set' (1309) panicked at tests/tests.rs:151:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac13f4b - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_version stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_version' (1315) panicked at tests/tests.rs:32:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac1263d - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_get_non_existent_key stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_get_non_existent_key' (1305) panicked at tests/tests.rs:43:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac162b0 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_invalid_get stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_invalid_get' (1307) panicked at tests/tests.rs:136:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac13c6f - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_get_stored stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_get_stored' (1306) panicked at tests/tests.rs:87:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac13757 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_invalid_subcommand stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_invalid_subcommand' (1310) panicked at tests/tests.rs:187:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac15678 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_invalid_rm stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_invalid_rm' (1308) panicked at tests/tests.rs:172:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac13a4f - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_set stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_set' (1314) panicked at tests/tests.rs:69:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac16566 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_no_args stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_no_args' (1311) panicked at tests/tests.rs:25:31: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac1247a - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_rm_non_existent_key stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_rm_non_existent_key' (1312) panicked at tests/tests.rs:56:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac15dc0 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cli_rm_stored stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_rm_stored' (1313) panicked at tests/tests.rs:115:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/kvs/9a775864bededc86/out/kvs" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61af7acb2d11 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61af7acc8fea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x61af7acb85dc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61af7ac8cc56 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61af7acaa5f9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x61af7ac278f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x61af7acaa7b2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61af7ac8cd02 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61af7ac857c9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61af7ac8d9fd - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x61af7acc971c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x61af7acc94f2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x61af7ac12b94 - >::call_once [INFO] [stdout] 13: 0x61af7ac1ad3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x61af7ac27f15 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x61af7ac21804 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x61af7ac2afa2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x61af7acb24ef - ::new::thread_start [INFO] [stdout] 18: 0x7d3e67fe2dfa - [INFO] [stdout] 19: 0x7d3e680763d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cli_get_non_existent_key [INFO] [stdout] cli_get_stored [INFO] [stdout] cli_invalid_get [INFO] [stdout] cli_invalid_rm [INFO] [stdout] cli_invalid_set [INFO] [stdout] cli_invalid_subcommand [INFO] [stdout] cli_no_args [INFO] [stdout] cli_rm_non_existent_key [INFO] [stdout] cli_rm_stored [INFO] [stdout] cli_set [INFO] [stdout] cli_version [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e", kill_on_drop: false }` [INFO] [stdout] 756098c71a3807bb7b5f5c5f203ab92986f2dfb265dd8c6b5698e63d501e381e