[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] checking kekecc/bitcask against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kekecc/bitcask on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.13 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded fake v2.9.2 [INFO] [stderr] Downloaded clap_builder v4.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd75526546a557513e54181c5bbd95c554bfe2faaa5edb0d8a23ac190363313 [INFO] running `Command { std: "docker" "start" "-a" "5bd75526546a557513e54181c5bbd95c554bfe2faaa5edb0d8a23ac190363313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd75526546a557513e54181c5bbd95c554bfe2faaa5edb0d8a23ac190363313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd75526546a557513e54181c5bbd95c554bfe2faaa5edb0d8a23ac190363313", kill_on_drop: false }` [INFO] [stdout] 5bd75526546a557513e54181c5bbd95c554bfe2faaa5edb0d8a23ac190363313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7a8e19893a62dd49cc18b4fecc8b3b9de646f9de102f970ade20cf2ec6ac8f [INFO] running `Command { std: "docker" "start" "-a" "0a7a8e19893a62dd49cc18b4fecc8b3b9de646f9de102f970ade20cf2ec6ac8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking fs4 v0.8.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking 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)]` on by default [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)]` 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)]` 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)]` 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: 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)]` 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)]` 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.55s [INFO] running `Command { std: "docker" "inspect" "0a7a8e19893a62dd49cc18b4fecc8b3b9de646f9de102f970ade20cf2ec6ac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7a8e19893a62dd49cc18b4fecc8b3b9de646f9de102f970ade20cf2ec6ac8f", kill_on_drop: false }` [INFO] [stdout] 0a7a8e19893a62dd49cc18b4fecc8b3b9de646f9de102f970ade20cf2ec6ac8f [INFO] checking kekecc/bitcask against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kekecc/bitcask on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdd8c2cb9784bd1b266bfcc555ee90df1808aa223eaad35462ae976e762620da [INFO] running `Command { std: "docker" "start" "-a" "cdd8c2cb9784bd1b266bfcc555ee90df1808aa223eaad35462ae976e762620da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdd8c2cb9784bd1b266bfcc555ee90df1808aa223eaad35462ae976e762620da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd8c2cb9784bd1b266bfcc555ee90df1808aa223eaad35462ae976e762620da", kill_on_drop: false }` [INFO] [stdout] cdd8c2cb9784bd1b266bfcc555ee90df1808aa223eaad35462ae976e762620da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2959f3c5e4f856d5cbefaeb741db4d78b3ab6971df2e9933b2c5eb847847ce4 [INFO] running `Command { std: "docker" "start" "-a" "e2959f3c5e4f856d5cbefaeb741db4d78b3ab6971df2e9933b2c5eb847847ce4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking fs4 v0.8.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking 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)]` on by default [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)]` 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)]` 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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: impl AsRef, file_id: u32) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | id: file_id, [INFO] [stdout] 25 | | write_offset: 0, [INFO] [stdout] 26 | | io: new_io(file_path)?, [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn hint_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | id: 0, [INFO] [stdout] 35 | | write_offset: 0, [INFO] [stdout] 36 | | io: new_io(file_path)?, [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn merge_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | id: 0, [INFO] [stdout] 45 | | write_offset: 0, [INFO] [stdout] 46 | | io: new_io(file_path)?, [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/log_record.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 222 | let box_data = buf.clone().into_boxed_slice(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | data: box_data, [INFO] [stdout] 266 | | key_value_start: index, [INFO] [stdout] 267 | | key_size: key_len as u32, [INFO] [stdout] ... | [INFO] [stdout] 270 | | batch_state, [INFO] [stdout] 271 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_io(path: impl AsRef) -> Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Box::new(SystemFile::new(path)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/system_file.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(path: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / OpenOptions::new() [INFO] [stdout] 16 | | .create(true) [INFO] [stdout] 17 | | .read(true) [INFO] [stdout] 18 | | .write(true) [INFO] [stdout] 19 | | .append(true) [INFO] [stdout] 20 | | .open(path) [INFO] [stdout] 21 | | .map(|fd| Self { fd }) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/merge.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(merge_path: impl AsRef, max_file_size: usize) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | merge_path: merge_path.as_ref().to_path_buf(), [INFO] [stdout] 31 | | max_file_size, [INFO] [stdout] 32 | | active_file: RwLock::new(DataFile::new(merge_path, 0)?), [INFO] [stdout] 33 | | old_files: Default::default(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/merge.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|key| DataFile::new(&self.opts.db_path, *key).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|id| DataFile::new(&opts.db_path, *id).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transaction/engine.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (tx, rx) = unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | let manager = TxnManager::new(storage.opts.clone(), tx)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let storage = Arc::new(storage); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let manager = Arc::new(manager); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | let storage_ = storage.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let manager_ = manager.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(Self { storage, manager }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcask` (lib) due to 11 previous errors; 8 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(path: impl AsRef, file_id: u32) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | id: file_id, [INFO] [stdout] 25 | | write_offset: 0, [INFO] [stdout] 26 | | io: new_io(file_path)?, [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn hint_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | id: 0, [INFO] [stdout] 35 | | write_offset: 0, [INFO] [stdout] 36 | | io: new_io(file_path)?, [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/datafile.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn merge_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | id: 0, [INFO] [stdout] 45 | | write_offset: 0, [INFO] [stdout] 46 | | io: new_io(file_path)?, [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/log_record.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 222 | let box_data = buf.clone().into_boxed_slice(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | data: box_data, [INFO] [stdout] 266 | | key_value_start: index, [INFO] [stdout] 267 | | key_size: key_len as u32, [INFO] [stdout] ... | [INFO] [stdout] 270 | | batch_state, [INFO] [stdout] 271 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_io(path: impl AsRef) -> Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Box::new(SystemFile::new(path)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/system_file.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(path: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / OpenOptions::new() [INFO] [stdout] 16 | | .create(true) [INFO] [stdout] 17 | | .read(true) [INFO] [stdout] 18 | | .write(true) [INFO] [stdout] 19 | | .append(true) [INFO] [stdout] 20 | | .open(path) [INFO] [stdout] 21 | | .map(|fd| Self { fd }) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/merge.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(merge_path: impl AsRef, max_file_size: usize) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | merge_path: merge_path.as_ref().to_path_buf(), [INFO] [stdout] 31 | | max_file_size, [INFO] [stdout] 32 | | active_file: RwLock::new(DataFile::new(merge_path, 0)?), [INFO] [stdout] 33 | | old_files: Default::default(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/merge.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|key| DataFile::new(&self.opts.db_path, *key).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|id| DataFile::new(&opts.db_path, *id).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transaction/engine.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(storage: Bitcask) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (tx, rx) = unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | let manager = TxnManager::new(storage.opts.clone(), tx)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let storage = Arc::new(storage); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let manager = Arc::new(manager); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | let storage_ = storage.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let manager_ = manager.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(Self { storage, manager }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcask` (lib test) due to 11 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2959f3c5e4f856d5cbefaeb741db4d78b3ab6971df2e9933b2c5eb847847ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2959f3c5e4f856d5cbefaeb741db4d78b3ab6971df2e9933b2c5eb847847ce4", kill_on_drop: false }` [INFO] [stdout] e2959f3c5e4f856d5cbefaeb741db4d78b3ab6971df2e9933b2c5eb847847ce4