[INFO] cloning repository https://github.com/PoorlyDefinedBehaviour/kv_store [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PoorlyDefinedBehaviour/kv_store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3946e28694fce4ae15d8db7f5d7285ca13ebfdbb [INFO] testing PoorlyDefinedBehaviour/kv_store against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PoorlyDefinedBehaviour/kv_store on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PoorlyDefinedBehaviour/kv_store [INFO] finished tweaking git repo https://github.com/PoorlyDefinedBehaviour/kv_store [INFO] tweaked toml for git repo https://github.com/PoorlyDefinedBehaviour/kv_store written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PoorlyDefinedBehaviour/kv_store 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d1357e256ce3759e3affe73d00afdec41075633c49e6dd479455956c28c3353 [INFO] running `Command { std: "docker" "start" "-a" "6d1357e256ce3759e3affe73d00afdec41075633c49e6dd479455956c28c3353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1357e256ce3759e3affe73d00afdec41075633c49e6dd479455956c28c3353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1357e256ce3759e3affe73d00afdec41075633c49e6dd479455956c28c3353", kill_on_drop: false }` [INFO] [stdout] 6d1357e256ce3759e3affe73d00afdec41075633c49e6dd479455956c28c3353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 299b6e16bed375f37ccce56d8cb226241104b5e7cdf7452181dab27da1be6bb5 [INFO] running `Command { std: "docker" "start" "-a" "299b6e16bed375f37ccce56d8cb226241104b5e7cdf7452181dab27da1be6bb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tracing-tree v0.2.1 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.3 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling distributed_kv_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-byteorder v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.5.13 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stdout] warning: associated items `new`, `create_data_file`, `get_latest_data_file_id`, and `flush` are never used [INFO] [stdout] --> src/commit_log.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl CommitLog { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 30 | pub async fn new(dir: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn create_data_file(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn get_latest_data_file_id(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn flush(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_index_files` is never used [INFO] [stdout] --> src/fs.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn list_index_files(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(kv: Kv) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "299b6e16bed375f37ccce56d8cb226241104b5e7cdf7452181dab27da1be6bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299b6e16bed375f37ccce56d8cb226241104b5e7cdf7452181dab27da1be6bb5", kill_on_drop: false }` [INFO] [stdout] 299b6e16bed375f37ccce56d8cb226241104b5e7cdf7452181dab27da1be6bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989ec64367f8c155a3f10269f3c961235e34f384447f0b0eb227ded81711f09c [INFO] running `Command { std: "docker" "start" "-a" "989ec64367f8c155a3f10269f3c961235e34f384447f0b0eb227ded81711f09c", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.3 [INFO] [stderr] Compiling mockall v0.11.1 [INFO] [stderr] Compiling tracing-tree v0.2.1 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Compiling distributed_kv_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, proptest_derive::Arbitrary)] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stdout] 71 | enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 51.05s [INFO] running `Command { std: "docker" "inspect" "989ec64367f8c155a3f10269f3c961235e34f384447f0b0eb227ded81711f09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989ec64367f8c155a3f10269f3c961235e34f384447f0b0eb227ded81711f09c", kill_on_drop: false }` [INFO] [stdout] 989ec64367f8c155a3f10269f3c961235e34f384447f0b0eb227ded81711f09c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25e290cb9c09e1f52888ac1c9934969841a0e298a28a7870a73ee1593a6588cf [INFO] running `Command { std: "docker" "start" "-a" "25e290cb9c09e1f52888ac1c9934969841a0e298a28a7870a73ee1593a6588cf", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/server.rs:70:26 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, Clone, proptest_derive::Arbitrary)] [INFO] [stderr] | ^------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stderr] 71 | enum Action { [INFO] [stderr] | ------ `Action` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `distributed_kv_store` (bin "distributed_kv_store" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/distributed_kv_store-c569d11eb4271d96) [INFO] [stdout] running 22 tests [INFO] [stdout] test commit_log::delete_tests::returns_the_offset_of_the_new_entry ... ok [INFO] [stdout] test commit_log::put_tests::returns_the_position_where_the_new_entry_starts ... ok [INFO] [stdout] test kv::delete_tests::appends_deletion_to_commit_log ... ok [INFO] [stdout] test kv::flush_memtable_to_disk_tests::creates_ss_table_and_index_files_with_monotonically_increasing_ids ... ok [INFO] [stdout] test kv::delete_tests::returns_false_when_key_does_not_exist ... ok [INFO] [stdout] test commit_log::delete_tests::deleted_entries_have_a_tombstone_value_length ... ok [INFO] [stdout] test kv::delete_tests::returns_true_if_key_was_in_the_memtable_when_deletion_happened ... ok [INFO] [stdout] test kv::delete_tests::returns_true_if_key_was_in_the_index_but_no_in_the_memtable_when_deletion_happened ... ok [INFO] [stdout] test commit_log::new_tests::creates_a_new_data_file_on_disk ... ok [INFO] [stdout] test kv::flush_memtable_to_disk_tests::mem_table_is_empty_after_ss_table_is_written_to_disk ... ok [INFO] [stdout] test kv::flush_memtable_to_disk_tests::writes_ss_table_to_disk ... ok [INFO] [stdout] test kv::flush_memtable_to_disk_tests::ss_tables_are_merged_after_some_amount_of_time ... ok [INFO] [stdout] test kv::get_tests::reads_value_from_ss_table_if_it_is_not_in_the_memtable ... ok [INFO] [stdout] test kv::put_tests::stores_entry_in_commit_log ... ok [INFO] [stdout] test kv::put_tests::new_entries_are_added_to_the_index ... ok [INFO] [stdout] test kv::get_latest_ss_table_id_tests::returns_the_id_of_the_newest_ss_table_on_disk ... ok [INFO] [stdout] test kv::merge_ss_index_files_tests::can_get_key_values_after_index_files_are_merged ... ok [INFO] [stdout] test kv::get_tests::returns_value_associated_to_key ... ok [INFO] [stdout] test commit_log::put_tests::writes_entries_to_disk ... ok [INFO] [stdout] test kv::flush_memtable_to_disk_tests::index_file_contains_offsets_pointing_to_the_ss_table ... ok [INFO] [stdout] test kv::get_tests::returns_none_when_key_is_not_found ... ok [INFO] [stdout] test server::tests::smoke ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 49.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25e290cb9c09e1f52888ac1c9934969841a0e298a28a7870a73ee1593a6588cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e290cb9c09e1f52888ac1c9934969841a0e298a28a7870a73ee1593a6588cf", kill_on_drop: false }` [INFO] [stdout] 25e290cb9c09e1f52888ac1c9934969841a0e298a28a7870a73ee1593a6588cf