[INFO] fetching crate kv-rs 0.0.6...
[INFO] checking kv-rs-0.0.6 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate kv-rs 0.0.6 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate kv-rs 0.0.6 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate kv-rs 0.0.6
[INFO] finished tweaking crates.io crate kv-rs 0.0.6
[INFO] tweaked toml for crates.io crate kv-rs 0.0.6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 209 packages to latest compatible versions
[INFO] [stderr]       Adding fs4 v0.7.0 (available: v0.11.1)
[INFO] [stderr]       Adding gnuplot v0.0.42 (available: v0.0.44)
[INFO] [stderr]       Adding serial_test v2.0.0 (available: v3.2.0)
[INFO] [stderr]       Adding tempfile v3.9.0 (available: v3.14.0)
[INFO] [stderr]       Adding tokio v1.35.1 (available: v1.41.1)
[INFO] [stderr]       Adding tokio-macros v2.2.0 (available: v2.4.0)
[INFO] [stderr]       Adding tokio-serde v0.8.0 (available: v0.9.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs4 v0.7.0
[INFO] [stderr]   Downloaded tokio-serde v0.8.0
[INFO] [stderr]   Downloaded educe v0.4.23
[INFO] [stderr]   Downloaded whosly v0.1.8
[INFO] [stderr]   Downloaded gnuplot v0.0.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 718de78b3f27c30b68583683216442be4dafcc502d337b5bcdb3204f91977457
[INFO] running `Command { std: "docker" "start" "-a" "718de78b3f27c30b68583683216442be4dafcc502d337b5bcdb3204f91977457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "718de78b3f27c30b68583683216442be4dafcc502d337b5bcdb3204f91977457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "718de78b3f27c30b68583683216442be4dafcc502d337b5bcdb3204f91977457", kill_on_drop: false }`
[INFO] [stdout] 718de78b3f27c30b68583683216442be4dafcc502d337b5bcdb3204f91977457
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faa3c2409e47570743fa0c514aa13437e1b6bda8167657bbc599230a86e6dc1c
[INFO] running `Command { std: "docker" "start" "-a" "faa3c2409e47570743fa0c514aa13437e1b6bda8167657bbc599230a86e6dc1c", kill_on_drop: false }`
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking allocator-api2 v0.2.20
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking serde v1.0.215
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking clap_lex v0.7.3
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking clap_builder v4.5.21
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling serial_test_derive v2.0.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pest v2.7.14
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking fs_extra v1.3.0
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking clap v4.5.21
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]     Checking rustix v0.38.41
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]    Compiling pest_meta v2.7.14
[INFO] [stderr]    Compiling enum-ordinalize v3.1.15
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking serial_test v2.0.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]    Compiling educe v0.4.23
[INFO] [stderr]    Compiling pest_generator v2.7.14
[INFO] [stderr]     Checking tokio-serde v0.8.0
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking whosly v0.1.8
[INFO] [stderr]    Compiling pest_derive v2.7.14
[INFO] [stderr]     Checking toml v0.8.19
[INFO] [stderr]     Checking fs4 v0.7.0
[INFO] [stderr]     Checking tempfile v3.9.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking gnuplot v0.0.42
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking kv-rs v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/storage/log_cask.rs:120:34
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn scan_dyn<'a>(
[INFO] [stdout]     |                 -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 120 |     ) -> Box<dyn ScanIteratorT + '_> {
[INFO] [stdout]     |                                  ^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/codec/json_codec.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/codec/json_codec.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de, Deserialize};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]  --> src/codec/json_codec.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::codec::bytes_codec::BytesCodec`
[INFO] [stdout]  --> src/codec/bytes_codec2.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::codec::bytes_codec::BytesCodec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `is_terminal` has been stable since 1.70.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(is_terminal)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `cursor_remaining`
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(cursor_remaining)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/storage/log_cask.rs:120:34
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn scan_dyn<'a>(
[INFO] [stdout]     |                 -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 120 |     ) -> Box<dyn ScanIteratorT + '_> {
[INFO] [stdout]     |                                  ^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::codec::json_codec::JsonCodec`
[INFO] [stdout]    --> src/storage/log_cask.rs:268:9
[INFO] [stdout]     |
[INFO] [stdout] 268 |     use crate::codec::json_codec::JsonCodec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Codec`
[INFO] [stdout]    --> src/storage/log_cask.rs:269:24
[INFO] [stdout]     |
[INFO] [stdout] 269 |     use crate::codec::{Codec,};
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/codec/json_codec.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/codec/json_codec.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de, Deserialize};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]  --> src/codec/json_codec.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::codec::bytes_codec::BytesCodec`
[INFO] [stdout]  --> src/codec/bytes_codec2.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::codec::bytes_codec::BytesCodec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `is_terminal` has been stable since 1.70.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(is_terminal)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `cursor_remaining`
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(cursor_remaining)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut Cursor<&[u8]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/codec/bytes_codec.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if cursor.is_empty() {
[INFO] [stdout]    |                   ^^^^^^^^ method cannot be called on `&mut Cursor<&[u8]>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut Cursor<&[u8]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/codec/bytes_codec2.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if cursor.is_empty() {
[INFO] [stdout]    |                   ^^^^^^^^ method cannot be called on `&mut Cursor<&[u8]>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bytes` is never read
[INFO] [stdout]   --> src/codec/bytes_codec.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut bytes = Vec::new();
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]    --> src/storage/log_cask.rs:583:23
[INFO] [stdout]     |
[INFO] [stdout] 583 |             if cursor.is_empty() {
[INFO] [stdout]     |                       ^^^^^^^^ method not found in `Cursor<&[u8]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bytes` is never read
[INFO] [stdout]   --> src/codec/bytes_codec2.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut bytes = Vec::new();
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]  --> src/info.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let size = if status.is_ok() {
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv-rs` (lib) due to 3 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut Cursor<&[u8]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/codec/bytes_codec.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if cursor.is_empty() {
[INFO] [stdout]    |                   ^^^^^^^^ method cannot be called on `&mut Cursor<&[u8]>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]    --> src/codec/bytes_codec.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |             if cursor.is_empty() {
[INFO] [stdout]     |                       ^^^^^^^^ method not found in `Cursor<&[u8]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]    --> src/codec/bytes_codec.rs:196:24
[INFO] [stdout]     |
[INFO] [stdout] 196 |         assert!(cursor.is_empty());
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `Cursor<&[u8]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut Cursor<&[u8]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/codec/bytes_codec2.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if cursor.is_empty() {
[INFO] [stdout]    |                   ^^^^^^^^ method cannot be called on `&mut Cursor<&[u8]>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]    --> src/codec/bytes_codec2.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |             if cursor.is_empty() {
[INFO] [stdout]     |                       ^^^^^^^^ method not found in `Cursor<&[u8]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]    --> src/codec/bytes_codec2.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |         assert!(cursor.is_empty());
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `Cursor<&[u8]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keydir`
[INFO] [stdout]    --> src/storage/log.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let keydir = log.build_keydir().unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keydir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta`
[INFO] [stdout]    --> src/storage/log.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let meta = file.metadata();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_meta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/storage/log_cask.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let rs = s.flush();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/storage/log_cask.rs:520:13
[INFO] [stdout]     |
[INFO] [stdout] 520 |         for i in 0..1024*4 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/codec/json_codec.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bytes` is never read
[INFO] [stdout]   --> src/codec/bytes_codec.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut bytes = Vec::new();
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bytes` is never read
[INFO] [stdout]   --> src/codec/bytes_codec2.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut bytes = Vec::new();
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]  --> src/info.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let size = if status.is_ok() {
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `storage_path`
[INFO] [stdout]   --> src/lib.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let storage_path = "";
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/lib.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let rs = engine.flush();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv-rs` (lib test) due to 8 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "faa3c2409e47570743fa0c514aa13437e1b6bda8167657bbc599230a86e6dc1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faa3c2409e47570743fa0c514aa13437e1b6bda8167657bbc599230a86e6dc1c", kill_on_drop: false }`
[INFO] [stdout] faa3c2409e47570743fa0c514aa13437e1b6bda8167657bbc599230a86e6dc1c
