[INFO] cloning repository https://github.com/kekecc/bitcask [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kekecc/bitcask" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9d66df78bb97c712844c07b3655ca98d1e89804 [INFO] testing kekecc/bitcask against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kekecc/bitcask [INFO] finished tweaking git repo https://github.com/kekecc/bitcask [INFO] tweaked toml for git repo https://github.com/kekecc/bitcask written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kekecc/bitcask on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kekecc/bitcask 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcaf03c882610a1adc42ab635b57083be65f94befda031e024412772939b81d2 [INFO] running `Command { std: "docker" "start" "-a" "fcaf03c882610a1adc42ab635b57083be65f94befda031e024412772939b81d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaf03c882610a1adc42ab635b57083be65f94befda031e024412772939b81d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaf03c882610a1adc42ab635b57083be65f94befda031e024412772939b81d2", kill_on_drop: false }` [INFO] [stdout] fcaf03c882610a1adc42ab635b57083be65f94befda031e024412772939b81d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03dce88cc223d44c4efdd535519d13c6fc4f355610d60623078e88d457a8bf3e [INFO] running `Command { std: "docker" "start" "-a" "03dce88cc223d44c4efdd535519d13c6fc4f355610d60623078e88d457a8bf3e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fake v2.9.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bitcask v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32` [INFO] [stdout] --> src/transaction/manager.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering}, [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 variable: `e` [INFO] [stdout] --> src/transaction/engine.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `padding` is never used [INFO] [stdout] --> src/data/datafile.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn padding(&mut self, max: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_record_with_size` is never used [INFO] [stdout] --> src/data/datafile.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `begin` is never used [INFO] [stdout] --> src/transaction.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Transaction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 43 | pub(crate) fn begin(storage: Arc, manager: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TxnEngine` is never constructed [INFO] [stdout] --> src/transaction/engine.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxnEngine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used [INFO] [stdout] --> src/transaction/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TxnEngine { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn close(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sync(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn begin_transaction(&self) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used [INFO] [stdout] --> src/transaction/manager.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl TxnManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn acquire_next_ts(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn add_txn(&self, version: u64) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/batch_write.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transaction/manager.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.99s [INFO] running `Command { std: "docker" "inspect" "03dce88cc223d44c4efdd535519d13c6fc4f355610d60623078e88d457a8bf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dce88cc223d44c4efdd535519d13c6fc4f355610d60623078e88d457a8bf3e", kill_on_drop: false }` [INFO] [stdout] 03dce88cc223d44c4efdd535519d13c6fc4f355610d60623078e88d457a8bf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef04f56907be669325173e3bf0b076d02522b8d6d0a3697e71c299e2e37410b [INFO] running `Command { std: "docker" "start" "-a" "fef04f56907be669325173e3bf0b076d02522b8d6d0a3697e71c299e2e37410b", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32` [INFO] [stdout] --> src/transaction/manager.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering}, [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 variable: `e` [INFO] [stdout] --> src/transaction/engine.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `padding` is never used [INFO] [stdout] --> src/data/datafile.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn padding(&mut self, max: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_record_with_size` is never used [INFO] [stdout] --> src/data/datafile.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `begin` is never used [INFO] [stdout] --> src/transaction.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Transaction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 43 | pub(crate) fn begin(storage: Arc, manager: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TxnEngine` is never constructed [INFO] [stdout] --> src/transaction/engine.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxnEngine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used [INFO] [stdout] --> src/transaction/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TxnEngine { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn close(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sync(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn begin_transaction(&self) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used [INFO] [stdout] --> src/transaction/manager.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl TxnManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn acquire_next_ts(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn add_txn(&self, version: u64) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcask v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/batch_write.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transaction/manager.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32` [INFO] [stdout] --> src/transaction/manager.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering}, [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 variable: `e` [INFO] [stdout] --> src/transaction/engine.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `padding` is never used [INFO] [stdout] --> src/data/datafile.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn padding(&mut self, max: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_record_with_size` is never used [INFO] [stdout] --> src/data/datafile.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `begin` is never used [INFO] [stdout] --> src/transaction.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Transaction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 43 | pub(crate) fn begin(storage: Arc, manager: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TxnEngine` is never constructed [INFO] [stdout] --> src/transaction/engine.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxnEngine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used [INFO] [stdout] --> src/transaction/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TxnEngine { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn close(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sync(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn begin_transaction(&self) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used [INFO] [stdout] --> src/transaction/manager.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl TxnManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn acquire_next_ts(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn add_txn(&self, version: u64) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/batch_write.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transaction/manager.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "fef04f56907be669325173e3bf0b076d02522b8d6d0a3697e71c299e2e37410b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef04f56907be669325173e3bf0b076d02522b8d6d0a3697e71c299e2e37410b", kill_on_drop: false }` [INFO] [stdout] fef04f56907be669325173e3bf0b076d02522b8d6d0a3697e71c299e2e37410b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59ac4b3a01559c39f5002b65d5086a02ec1a8f52c4623a576b7596926406e55a [INFO] running `Command { std: "docker" "start" "-a" "59ac4b3a01559c39f5002b65d5086a02ec1a8f52c4623a576b7596926406e55a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AtomicI64` and `AtomicU32` [INFO] [stderr] --> src/transaction/manager.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/transaction/engine.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `padding` is never used [INFO] [stderr] --> src/data/datafile.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl DataFile { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn padding(&mut self, max: u64) -> Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `read_record_with_size` is never used [INFO] [stderr] --> src/data/datafile.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl DataFile { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `begin` is never used [INFO] [stderr] --> src/transaction.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 42 | impl Transaction { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 43 | pub(crate) fn begin(storage: Arc, manager: Arc) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TxnEngine` is never constructed [INFO] [stderr] --> src/transaction/engine.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct TxnEngine { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used [INFO] [stderr] --> src/transaction/engine.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl TxnEngine { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn close(&self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn sync(&self) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn begin_transaction(&self) -> Transaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used [INFO] [stderr] --> src/transaction/manager.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 22 | impl TxnManager { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 23 | pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub(crate) fn acquire_next_ts(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub(crate) fn add_txn(&self, version: u64) -> HashSet { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/batch_write.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/transaction/manager.rs:56:39 [INFO] [stderr] | [INFO] [stderr] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard>>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `bitcask` (lib) generated 10 warnings (run `cargo fix --lib -p bitcask` to apply 4 suggestions) [INFO] [stderr] warning: `bitcask` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcask-7d18902cbb747fdc) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test data::log_record::tests::record_encode_and_decode ... ok [INFO] [stdout] test storage::tests::test_bitcask_put_get_delete ... ok [INFO] [stdout] test storage::tests::t ... ok [INFO] [stdout] test data::datafile::tests::new ... ok [INFO] [stdout] test data::datafile::tests::read ... ok [INFO] [stdout] test data::datafile::tests::write ... ok [INFO] [stdout] test storage::tests::test_bitcask_merge ... ok [INFO] [stdout] test batch_write::tests::test_bitcask_write_batch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.50s [INFO] [stdout] [INFO] [stderr] Doc-tests bitcask [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59ac4b3a01559c39f5002b65d5086a02ec1a8f52c4623a576b7596926406e55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ac4b3a01559c39f5002b65d5086a02ec1a8f52c4623a576b7596926406e55a", kill_on_drop: false }` [INFO] [stdout] 59ac4b3a01559c39f5002b65d5086a02ec1a8f52c4623a576b7596926406e55a