[INFO] fetching crate kv-rs 0.0.6... [INFO] checking kv-rs-0.0.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate kv-rs 0.0.6 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kv-rs 0.0.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 221 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding config v0.14.1 (available: v0.15.14) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding fs4 v0.7.0 (available: v0.13.1) [INFO] [stderr] Adding gnuplot v0.0.42 (available: v0.0.46) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serial_test v2.0.0 (available: v3.2.0) [INFO] [stderr] Adding tempfile v3.9.0 (available: v3.21.0) [INFO] [stderr] Adding tokio v1.35.1 (available: v1.47.1) [INFO] [stderr] Adding tokio-macros v2.2.0 (available: v2.5.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2d48a4cf9e8d3b4e5f850f0e39156fac40ca381bc95a9fd4726594813349f2d [INFO] running `Command { std: "docker" "start" "-a" "d2d48a4cf9e8d3b4e5f850f0e39156fac40ca381bc95a9fd4726594813349f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d48a4cf9e8d3b4e5f850f0e39156fac40ca381bc95a9fd4726594813349f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d48a4cf9e8d3b4e5f850f0e39156fac40ca381bc95a9fd4726594813349f2d", kill_on_drop: false }` [INFO] [stdout] d2d48a4cf9e8d3b4e5f850f0e39156fac40ca381bc95a9fd4726594813349f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbe9f706f8f39c5e66ef8a7850c8d56c738ea877a99edca437178306e8051e18 [INFO] running `Command { std: "docker" "start" "-a" "fbe9f706f8f39c5e66ef8a7850c8d56c738ea877a99edca437178306e8051e18", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking whosly v0.1.8 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking fs4 v0.7.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking toml v0.8.23 [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: 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: 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] error[E0599]: the method `is_empty` exists for mutable reference `&mut std::io::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 std::io::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 std::io::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 std::io::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: 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] [stderr] error: could not compile `kv-rs` (lib) due to 3 previous errors; 8 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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 `std::io::Cursor<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut std::io::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 std::io::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 `std::io::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 `std::io::Cursor<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for mutable reference `&mut std::io::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 std::io::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 `std::io::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 `std::io::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; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbe9f706f8f39c5e66ef8a7850c8d56c738ea877a99edca437178306e8051e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe9f706f8f39c5e66ef8a7850c8d56c738ea877a99edca437178306e8051e18", kill_on_drop: false }` [INFO] [stdout] fbe9f706f8f39c5e66ef8a7850c8d56c738ea877a99edca437178306e8051e18