[INFO] cloning repository https://github.com/xieshuaihu/kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xieshuaihu/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bca954cb889889fd8e8264ed7e6b5a14542b4eea [INFO] checking xieshuaihu/kvs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xieshuaihu/kvs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xieshuaihu/kvs [INFO] finished tweaking git repo https://github.com/xieshuaihu/kvs [INFO] tweaked toml for git repo https://github.com/xieshuaihu/kvs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/xieshuaihu/kvs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5a4c24599529d94977625a431025ef5639f65c160db37344f5e0ec4ae734c79 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e5a4c24599529d94977625a431025ef5639f65c160db37344f5e0ec4ae734c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5a4c24599529d94977625a431025ef5639f65c160db37344f5e0ec4ae734c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a4c24599529d94977625a431025ef5639f65c160db37344f5e0ec4ae734c79", kill_on_drop: false }` [INFO] [stdout] e5a4c24599529d94977625a431025ef5639f65c160db37344f5e0ec4ae734c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c471bb55bd8307634c88621bd5c3e8c8605e387a980472150f8713225f5f162 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c471bb55bd8307634c88621bd5c3e8c8605e387a980472150f8713225f5f162", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking escargot v0.4.0 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/engine.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | fn get(&mut self, key: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn remove(&mut self, key: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/engine.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn get(&mut self, key: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn remove(&mut self, key: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/bin/kvs-client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/bin/kvs-client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/engine.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | fn get(&mut self, key: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn remove(&mut self, key: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/engine.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(&mut self, key: String, value: String) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn get(&mut self, key: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn remove(&mut self, key: String) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `KvStore` in the current scope [INFO] [stdout] --> tests/kv_store.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let mut store = KvStore::open(temp_dir.path())?; [INFO] [stdout] | ^^^^ function or associated item not found in `KvStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KvsEngine` [INFO] [stdout] --> tests/kv_store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::{KvStore, KvsEngine, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6c471bb55bd8307634c88621bd5c3e8c8605e387a980472150f8713225f5f162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c471bb55bd8307634c88621bd5c3e8c8605e387a980472150f8713225f5f162", kill_on_drop: false }` [INFO] [stdout] 6c471bb55bd8307634c88621bd5c3e8c8605e387a980472150f8713225f5f162