[INFO] cloning repository https://github.com/zkazj98/rust-kv
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zkazj98/rust-kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkazj98%2Frust-kv", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkazj98%2Frust-kv'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6d0056bfa740a949e3cd40c9c1b2a9cc1e511e7
[INFO] checking zkazj98/rust-kv against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkazj98%2Frust-kv" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zkazj98/rust-kv
[INFO] finished tweaking git repo https://github.com/zkazj98/rust-kv
[INFO] tweaked toml for git repo https://github.com/zkazj98/rust-kv written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zkazj98/rust-kv on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zkazj98/rust-kv 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_more v2.0.1
[INFO] [stderr]   Downloaded crossbeam-skiplist v0.1.3
[INFO] [stderr]   Downloaded derive_more-impl v2.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ebc6937715c2d44e8ec424293441f46b08282d44721b7e352b2fdfdb398f0d71
[INFO] running `Command { std: "docker" "start" "-a" "ebc6937715c2d44e8ec424293441f46b08282d44721b7e352b2fdfdb398f0d71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebc6937715c2d44e8ec424293441f46b08282d44721b7e352b2fdfdb398f0d71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebc6937715c2d44e8ec424293441f46b08282d44721b7e352b2fdfdb398f0d71", kill_on_drop: false }`
[INFO] [stdout] ebc6937715c2d44e8ec424293441f46b08282d44721b7e352b2fdfdb398f0d71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9869f78758cc671a7b346e333640e810f3dc0b6cc4ca55e5a4671349f142962
[INFO] running `Command { std: "docker" "start" "-a" "a9869f78758cc671a7b346e333640e810f3dc0b6cc4ca55e5a4671349f142962", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking toml_writer v1.0.4
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking mock_instant v0.6.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking fs_extra v1.3.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking crossbeam-skiplist v0.1.3
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking thread-id v5.0.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking toml_parser v1.0.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking serde_spanned v1.0.3
[INFO] [stderr]     Checking toml_datetime v0.7.3
[INFO] [stderr]     Checking toml v0.9.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking prost v0.13.5
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking log4rs v1.4.0
[INFO] [stderr]     Checking RustKv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/fio/file_io.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 |      fs::{File, OpenOptions}, io::Write, os::windows::fs::FileExt, path::PathBuf, sync::Arc
[INFO] [stdout]   |                                              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/fio/file_io.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 |      fs::{File, OpenOptions}, io::Write, os::windows::fs::FileExt, path::PathBuf, sync::Arc
[INFO] [stdout]   |                                              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/fio/file_io.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/fio/mmap.rs:61:43
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn write(&self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout]    |                                           ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -     fn write(&self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout] 61 +     fn write(&self, buf: &[u8]) -> Result<usize > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::DecodeError`
[INFO] [stdout]  --> src/common/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use prost::DecodeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `decode_length_delimiter`
[INFO] [stdout]  --> src/file/log_record.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use prost::{decode_length_delimiter, encode_length_delimiter, length_delimiter_len};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/file/data_file.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, fs, ops::Add, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/file/data_file.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encode_length_delimiter`
[INFO] [stdout]  --> src/file/data_file.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use prost::{bytes::{Buf, BytesMut}, decode_length_delimiter, encode_length_delimiter, length_delimiter_len};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Options`
[INFO] [stdout]  --> src/file/data_file.rs:8:75
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{common::{error::{Errors, Result}, option::{IOType, IndexType, Options}}, file::log_record::{LogRecord, LogRecordPos, LogR...
[INFO] [stdout]   |                                                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/memtable.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/sstable.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/fio/file_io.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/index/sstable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DATA_FILE_PREFIX` and `DATA_FILE_SUFFIX`
[INFO] [stdout]  --> src/index/sstable.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{common::error::Errors, file::{data_file::{DATA_FILE_PREFIX, DATA_FILE_SUFFIX}, log_record::LogRecordPos}, index::SstableI...
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/mod.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::BTreeMap, path::PathBuf};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/index/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fio::IOManager`
[INFO] [stdout]  --> src/index/mod.rs:8:102
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{common::{error::Result, option::IndexType}, file::log_record::{LogRecord, LogRecordPos}, fio::IOManager, index::{memtable...
[INFO] [stdout]   |                                                                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/fio/mmap.rs:61:43
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn write(&self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout]    |                                           ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -     fn write(&self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout] 61 +     fn write(&self, buf: &[u8]) -> Result<usize > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/engine.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet, HashMap}, fs, mem::replace, path::PathBuf, sync::{Arc, atomic::{AtomicU64, Ordering}}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CopyOptions` and `copy`
[INFO] [stdout]  --> src/engine.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fs_extra::dir::{CopyOptions, copy};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/engine.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{error, info};
[INFO] [stdout]   |           ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::DecodeError`
[INFO] [stdout]  --> src/common/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use prost::DecodeError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogRecordPos`
[INFO] [stdout]  --> src/engine.rs:7:142
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...{self, DataFile, list_data_files}, log_record::{LogRecord, LogRecordPos, LogRecordType}, wal::{self, WalManager}}, index::{Memtabl...
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `decode_length_delimiter`
[INFO] [stdout]  --> src/file/log_record.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use prost::{decode_length_delimiter, encode_length_delimiter, length_delimiter_len};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]    --> src/file/wal.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 454 |     use std::fs;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/file/data_file.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, fs, ops::Add, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/file/data_file.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encode_length_delimiter`
[INFO] [stdout]  --> src/file/data_file.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use prost::{bytes::{Buf, BytesMut}, decode_length_delimiter, encode_length_delimiter, length_delimiter_len};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Options`
[INFO] [stdout]  --> src/file/data_file.rs:8:75
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{common::{error::{Errors, Result}, option::{IOType, IndexType, Options}}, file::log_record::{LogRecord, LogRecordPos, LogR...
[INFO] [stdout]   |                                                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/memtable.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/sstable.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/index/sstable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DATA_FILE_PREFIX` and `DATA_FILE_SUFFIX`
[INFO] [stdout]  --> src/index/sstable.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{common::error::Errors, file::{data_file::{DATA_FILE_PREFIX, DATA_FILE_SUFFIX}, log_record::LogRecordPos}, index::SstableI...
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/index/mod.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::BTreeMap, path::PathBuf};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/index/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fio::IOManager`
[INFO] [stdout]  --> src/index/mod.rs:8:102
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{common::{error::Result, option::IndexType}, file::log_record::{LogRecord, LogRecordPos}, fio::IOManager, index::{memtable...
[INFO] [stdout]   |                                                                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/engine.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet, HashMap}, fs, mem::replace, path::PathBuf, sync::{Arc, atomic::{AtomicU64, Ordering}}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CopyOptions` and `copy`
[INFO] [stdout]  --> src/engine.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fs_extra::dir::{CopyOptions, copy};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/engine.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{error, info};
[INFO] [stdout]   |           ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogRecordPos`
[INFO] [stdout]  --> src/engine.rs:7:142
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...{self, DataFile, list_data_files}, log_record::{LogRecord, LogRecordPos, LogRecordType}, wal::{self, WalManager}}, index::{Memtabl...
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs` and `time::Duration`
[INFO] [stdout]    --> src/engine.rs:639:15
[INFO] [stdout]     |
[INFO] [stdout] 639 |     use std::{fs, time::Duration};
[INFO] [stdout]     |               ^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `seek_read` found for struct `parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, std::fs::File>` in the current scope
[INFO] [stdout]   --> src/fio/file_io.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match read_guard.seek_read(buf, offset) {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `seek_relative` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/io/mod.rs:2182:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `seek_read` found for struct `parking_lot::lock_api::RwLockReadGuard<'_, parking_lot::RawRwLock, std::fs::File>` in the current scope
[INFO] [stdout]   --> src/fio/file_io.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match read_guard.seek_read(buf, offset) {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `seek_relative` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/cf79d034aa3d8f396d407aafce6f1ccd818e710e/library/std/src/io/mod.rs:2182:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file/data_file.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let mut skp_map = SkipMap::new();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super`
[INFO] [stdout]    --> src/engine.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use super::*;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/index/memtable.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut write_guard = self.index.write();
[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/index/memtable.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut write_guard = self.index.write();
[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/index/sstable.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut write_guard = self.index.write();
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]   --> src/fio/mod.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let written = io.write(data).unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/engine.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut active_file = self.active_file.lock();
[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/engine.rs:453:25
[INFO] [stdout]     |
[INFO] [stdout] 453 |                     let mut new_data_file = DataFile::new(
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustKv` (lib) due to 2 previous errors; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file/wal.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 |         let mut manager = WalManager::new(wal_path_3.clone(), SyncStrategy::Never, IOType::FileIo);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/file/data_file.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let mut skp_map = SkipMap::new();
[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/index/memtable.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut write_guard = self.index.write();
[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/index/memtable.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut write_guard = self.index.write();
[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/index/sstable.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut write_guard = self.index.write();
[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/engine.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut active_file = self.active_file.lock();
[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/engine.rs:453:25
[INFO] [stdout]     |
[INFO] [stdout] 453 |                     let mut new_data_file = DataFile::new(
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustKv` (lib test) due to 2 previous errors; 30 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a9869f78758cc671a7b346e333640e810f3dc0b6cc4ca55e5a4671349f142962", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9869f78758cc671a7b346e333640e810f3dc0b6cc4ca55e5a4671349f142962", kill_on_drop: false }`
[INFO] [stdout] a9869f78758cc671a7b346e333640e810f3dc0b6cc4ca55e5a4671349f142962
