[INFO] cloning repository https://github.com/harpsword/kvs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harpsword/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpsword%2Fkvs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpsword%2Fkvs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4df158fb1d34c830ada699c62671fed6e10ca19a
[INFO] testing harpsword/kvs against beta-2022-04-10 for beta-1.61-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpsword%2Fkvs" "/workspace/builds/worker-29/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/harpsword/kvs on toolchain beta-2022-04-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/harpsword/kvs
[INFO] finished tweaking git repo https://github.com/harpsword/kvs
[INFO] tweaked toml for git repo https://github.com/harpsword/kvs written to /workspace/builds/worker-29/source/Cargo.toml
[INFO] crate git repo https://github.com/harpsword/kvs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 179722190e8aea600b7d1ee5a96698517fbf01d311157c310f52c10aa82319c1
[INFO] running `Command { std: "docker" "start" "-a" "179722190e8aea600b7d1ee5a96698517fbf01d311157c310f52c10aa82319c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "179722190e8aea600b7d1ee5a96698517fbf01d311157c310f52c10aa82319c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "179722190e8aea600b7d1ee5a96698517fbf01d311157c310f52c10aa82319c1", kill_on_drop: false }`
[INFO] [stdout] 179722190e8aea600b7d1ee5a96698517fbf01d311157c310f52c10aa82319c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a31243fbbd5af4a23bd2cab199feaee0a331be8c652b28138dceaf9ee1bc1607
[INFO] running `Command { std: "docker" "start" "-a" "a31243fbbd5af4a23bd2cab199feaee0a331be8c652b28138dceaf9ee1bc1607", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.99
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling crossbeam-utils v0.8.5
[INFO] [stderr] Compiling serde_derive v1.0.127
[INFO] [stderr] Compiling semver v1.0.4
[INFO] [stderr] Compiling serde v1.0.127
[INFO] [stderr] Compiling crossbeam-epoch v0.9.5
[INFO] [stderr] Compiling rayon-core v1.9.1
[INFO] [stderr] Compiling cc v1.0.69
[INFO] [stderr] Compiling serde_json v1.0.66
[INFO] [stderr] Compiling either v1.6.1
[INFO] [stderr] Compiling regex-automata v0.1.10
[INFO] [stderr] Compiling gimli v0.25.0
[INFO] [stderr] Compiling plotters-backend v0.3.2
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Compiling yaml-rust v0.3.5
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Compiling half v1.7.1
[INFO] [stderr] Compiling bitflags v1.3.1
[INFO] [stderr] Compiling rustc-demangle v0.1.20
[INFO] [stderr] Compiling oorandom v11.1.3
[INFO] [stderr] Compiling memoffset v0.6.4
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling rayon v1.5.1
[INFO] [stderr] Compiling instant v0.1.10
[INFO] [stderr] Compiling lock_api v0.4.4
[INFO] [stderr] Compiling walkdir v2.3.2
[INFO] [stderr] Compiling itertools v0.10.1
[INFO] [stderr] Compiling plotters-svg v0.3.1
[INFO] [stderr] Compiling plotters v0.3.1
[INFO] [stderr] Compiling crossbeam-channel v0.5.1
[INFO] [stderr] Compiling rustc_version v0.4.0
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling aho-corasick v0.7.18
[INFO] [stderr] Compiling object v0.26.0
[INFO] [stderr] Compiling csv-core v0.1.10
[INFO] [stderr] Compiling getrandom v0.2.3
[INFO] [stderr] Compiling num_cpus v1.13.0
[INFO] [stderr] Compiling parking_lot_core v0.8.3
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling fs2 v0.4.3
[INFO] [stderr] Compiling crossbeam-deque v0.8.1
[INFO] [stderr] Compiling clap v2.33.3
[INFO] [stderr] Compiling rand_core v0.6.3
[INFO] [stderr] Compiling cast v0.2.7
[INFO] [stderr] Compiling parking_lot v0.11.1
[INFO] [stderr] Compiling backtrace v0.3.61
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling sled v0.34.6
[INFO] [stderr] Compiling rand v0.8.4
[INFO] [stderr] Compiling criterion-plot v0.4.4
[INFO] [stderr] Compiling regex v1.5.4
[INFO] [stderr] Compiling addr2line v0.16.0
[INFO] [stderr] Compiling synstructure v0.12.5
[INFO] [stderr] Compiling failure v0.1.8
[INFO] [stderr] Compiling bstr v0.2.16
[INFO] [stderr] Compiling serde_cbor v0.11.2
[INFO] [stderr] Compiling csv v1.1.6
[INFO] [stderr] Compiling tinytemplate v1.2.1
[INFO] [stderr] Compiling criterion v0.3.5
[INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::Result`
[INFO] [stdout] --> src/common.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::Result;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::env::current_dir`
[INFO] [stdout] --> src/kv.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | use std::env::current_dir;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/kv.rs:176:43
[INFO] [stdout] |
[INFO] [stdout] 176 | if let Command::Set { key, value } = serde_json::from_reader(reader2)? {
[INFO] [stdout] | ^^^ help: try ignoring the field: `key: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `Log`
[INFO] [stdout] --> src/command.rs:44:12
[INFO] [stdout] |
[INFO] [stdout] 44 | pub struct Log {
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> src/bin/kvs-server.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout] --> src/bin/kvs-server.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::io::Read;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/bin/kvs-client.rs:65:13
[INFO] [stdout] |
[INFO] [stdout] 65 | let mut stream = TcpStream::connect(self.addr.clone())?;
[INFO] [stdout] | ----^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/bin/kvs-client.rs:67:13
[INFO] [stdout] |
[INFO] [stdout] 67 | let mut buf_writer = BufWriter::new(stream);
[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/bin/kvs-server.rs:84:37
[INFO] [stdout] |
[INFO] [stdout] 84 | pub fn handle_client(&mut self, mut tcp: TcpStream) -> Result<()> {
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `engine`
[INFO] [stdout] --> src/bin/kvs-server.rs:51:5
[INFO] [stdout] |
[INFO] [stdout] 51 | engine: Engine,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `addr`
[INFO] [stdout] --> src/bin/kvs-client.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | addr: String,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout] --> src/bin/kvs-client.rs:63:12
[INFO] [stdout] |
[INFO] [stdout] 63 | pub fn run(&self, cmd: &Command) -> Result