[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] checking PoorlyDefinedBehaviour/kv_store against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PoorlyDefinedBehaviour/kv_store on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic-build v0.7.2 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded crc-catalog v2.1.0 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded tracing-tree v0.2.1 [INFO] [stderr] Downloaded crc v3.0.0 [INFO] [stderr] Downloaded tokio-byteorder v0.3.0 [INFO] [stderr] Downloaded prost-derive v0.10.1 [INFO] [stderr] Downloaded tracing-appender v0.2.2 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded proptest-derive v0.3.0 [INFO] [stderr] Downloaded prettyplease v0.1.16 [INFO] [stderr] Downloaded tonic v0.7.2 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded axum v0.5.13 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.3 [INFO] [stderr] Downloaded tokio v1.20.0 [INFO] [stderr] Downloaded prost-build v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 521b160a48f571a8019445f454a7ced67eed4d8f05b83768317e67c7718d23d3 [INFO] running `Command { std: "docker" "start" "-a" "521b160a48f571a8019445f454a7ced67eed4d8f05b83768317e67c7718d23d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "521b160a48f571a8019445f454a7ced67eed4d8f05b83768317e67c7718d23d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521b160a48f571a8019445f454a7ced67eed4d8f05b83768317e67c7718d23d3", kill_on_drop: false }` [INFO] [stdout] 521b160a48f571a8019445f454a7ced67eed4d8f05b83768317e67c7718d23d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5962f7da9b6e11a881a5352618b84312795561159af49b167fc81494c67009 [INFO] running `Command { std: "docker" "start" "-a" "6f5962f7da9b6e11a881a5352618b84312795561159af49b167fc81494c67009", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking fragile v1.2.1 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking predicates v2.1.1 [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] Checking async-stream v0.3.3 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.3 [INFO] [stderr] Checking tracing-appender v0.2.2 [INFO] [stderr] Checking tracing-tree v0.2.1 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-byteorder v0.3.0 [INFO] [stderr] Checking mockall v0.11.1 [INFO] [stderr] Compiling distributed_kv_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "6f5962f7da9b6e11a881a5352618b84312795561159af49b167fc81494c67009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5962f7da9b6e11a881a5352618b84312795561159af49b167fc81494c67009", kill_on_drop: false }` [INFO] [stdout] 6f5962f7da9b6e11a881a5352618b84312795561159af49b167fc81494c67009