[INFO] cloning repository https://github.com/misakimei123/bitcask [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misakimei123/bitcask" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisakimei123%2Fbitcask", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisakimei123%2Fbitcask'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 556626940f749bceaae71d167275cb42e0cea7e7 [INFO] checking misakimei123/bitcask against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisakimei123%2Fbitcask" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/misakimei123/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/misakimei123/bitcask [INFO] finished tweaking git repo https://github.com/misakimei123/bitcask [INFO] tweaked toml for git repo https://github.com/misakimei123/bitcask written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/misakimei123/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 98b6dda736d3fe206c4ca76b29db9a52e0be2809dd829683f388f3249889a680 [INFO] running `Command { std: "docker" "start" "-a" "98b6dda736d3fe206c4ca76b29db9a52e0be2809dd829683f388f3249889a680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98b6dda736d3fe206c4ca76b29db9a52e0be2809dd829683f388f3249889a680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b6dda736d3fe206c4ca76b29db9a52e0be2809dd829683f388f3249889a680", kill_on_drop: false }` [INFO] [stdout] 98b6dda736d3fe206c4ca76b29db9a52e0be2809dd829683f388f3249889a680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bb5708da39ad1d85b935203cd1b115d9b49dc6587b536bcbcc9a3376602e9a5e [INFO] running `Command { std: "docker" "start" "-a" "bb5708da39ad1d85b935203cd1b115d9b49dc6587b536bcbcc9a3376602e9a5e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking ciborium v0.2.2 [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 import: `IndexType` [INFO] [stdout] --> src/db.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | option::{IOType, IndexType, Options}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexType` [INFO] [stdout] --> src/db.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | option::{IOType, IndexType, Options}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut engine = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_path` [INFO] [stdout] --> src/index/mod.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_indexer(index_type: IndexType, dir_path: PathBuf) -> Box> [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> src/data/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait LogPosition { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn get_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_size` is never used [INFO] [stdout] --> src/data/data_file.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_seq_no` is never used [INFO] [stdout] --> src/db.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn load_seq_no(&self) -> (bool, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/fileio/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IOManager: Sync + Send { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn size(&self) -> u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | self.engine.sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = self.engine.sync(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut engine = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_path` [INFO] [stdout] --> src/index/mod.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_indexer(index_type: IndexType, dir_path: PathBuf) -> Box> [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/kv_bench.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | engine.get(get_test_key(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = engine.get(get_test_key(i)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> src/data/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait LogPosition { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn get_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_size` is never used [INFO] [stdout] --> src/data/data_file.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_seq_no` is never used [INFO] [stdout] --> src/db.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn load_seq_no(&self) -> (bool, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | self.engine.sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = self.engine.sync(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.45s [INFO] running `Command { std: "docker" "inspect" "bb5708da39ad1d85b935203cd1b115d9b49dc6587b536bcbcc9a3376602e9a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5708da39ad1d85b935203cd1b115d9b49dc6587b536bcbcc9a3376602e9a5e", kill_on_drop: false }` [INFO] [stdout] bb5708da39ad1d85b935203cd1b115d9b49dc6587b536bcbcc9a3376602e9a5e [INFO] checking misakimei123/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%2Fmisakimei123%2Fbitcask" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/misakimei123/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/misakimei123/bitcask [INFO] finished tweaking git repo https://github.com/misakimei123/bitcask [INFO] tweaked toml for git repo https://github.com/misakimei123/bitcask written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/misakimei123/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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 618d7c9fd614fb28e0adb7292ec242b0eacc777709baa05306b664e3faf38875 [INFO] running `Command { std: "docker" "start" "-a" "618d7c9fd614fb28e0adb7292ec242b0eacc777709baa05306b664e3faf38875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "618d7c9fd614fb28e0adb7292ec242b0eacc777709baa05306b664e3faf38875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618d7c9fd614fb28e0adb7292ec242b0eacc777709baa05306b664e3faf38875", kill_on_drop: false }` [INFO] [stdout] 618d7c9fd614fb28e0adb7292ec242b0eacc777709baa05306b664e3faf38875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] c6e1f9cc103dabdd60d2a186279e745c6414d46901ce6a28b23b3a1a26c027dd [INFO] running `Command { std: "docker" "start" "-a" "c6e1f9cc103dabdd60d2a186279e745c6414d46901ce6a28b23b3a1a26c027dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking anstyle v1.0.7 [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.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking ciborium v0.2.2 [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 import: `IndexType` [INFO] [stdout] --> src/db.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | option::{IOType, IndexType, Options}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexType` [INFO] [stdout] --> src/db.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | option::{IOType, IndexType, Options}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut engine = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_path` [INFO] [stdout] --> src/index/mod.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_indexer(index_type: IndexType, dir_path: PathBuf) -> Box> [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> src/data/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait LogPosition { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn get_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_size` is never used [INFO] [stdout] --> src/data/data_file.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_seq_no` is never used [INFO] [stdout] --> src/db.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn load_seq_no(&self) -> (bool, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/fileio/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IOManager: Sync + Send { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn size(&self) -> u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | self.engine.sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = self.engine.sync(); [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/data_file.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 43 | let io_manager = new_io_manager(file_name, io_type); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | file_id: Arc::new(RwLock::new(file_id)), [INFO] [stdout] 47 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 48 | | io_manager, [INFO] [stdout] 49 | | }) [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/data_file.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 59 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 60 | | io_manager, [INFO] [stdout] 61 | | }) [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/data_file.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 71 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 72 | | io_manager, [INFO] [stdout] 73 | | }) [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/data_file.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | [INFO] [stdout] 81 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 83 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 84 | | io_manager, [INFO] [stdout] 85 | | }) [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/db.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 317 | let active_file = self.active_file.read(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | let oldre_files = self.older_files.read(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok(log_record.value.into()) [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/fileio/file_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(FileIO { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | fd: Arc::new(RwLock::new(file)), [INFO] [stdout] 34 | | }) [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/fileio/file_io.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 40 | let read_guard = self.fd.read(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match read_guard.read_at(buf, offset) { [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/fileio/file_io.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 51 | let mut write_guard = self.fd.write(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | match write_guard.write(buf) { [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/fileio/file_io.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | let read_guard = self.fd.read(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | read_guard.metadata().unwrap().len() [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/fileio/mmap.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let map = unsafe { Mmap::map(&file).expect("failed to map the file") }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | Ok(MMapIO { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | map: Arc::new(Mutex::new(map)), [INFO] [stdout] 27 | | }) [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: aborting due to 10 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcask` (lib) due to 11 previous errors; 9 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/db.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut engine = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_path` [INFO] [stdout] --> src/index/mod.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_indexer(index_type: IndexType, dir_path: PathBuf) -> Box> [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> src/data/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait LogPosition { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn get_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_size` is never used [INFO] [stdout] --> src/data/data_file.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_seq_no` is never used [INFO] [stdout] --> src/db.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn load_seq_no(&self) -> (bool, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = self.engine.append_log_record(&mut finish_record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/batch.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | self.engine.sync(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = self.engine.sync(); [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/data_file.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 43 | let io_manager = new_io_manager(file_name, io_type); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | file_id: Arc::new(RwLock::new(file_id)), [INFO] [stdout] 47 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 48 | | io_manager, [INFO] [stdout] 49 | | }) [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/data_file.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 59 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 60 | | io_manager, [INFO] [stdout] 61 | | }) [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/data_file.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 71 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 72 | | io_manager, [INFO] [stdout] 73 | | }) [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/data_file.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | let io_manager = new_io_manager(file_name, IOType::StandardFIO); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | [INFO] [stdout] 81 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 83 | | write_off: Arc::new(RwLock::new(0)), [INFO] [stdout] 84 | | io_manager, [INFO] [stdout] 85 | | }) [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/db.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 317 | let active_file = self.active_file.read(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | let oldre_files = self.older_files.read(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok(log_record.value.into()) [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/fileio/file_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(FileIO { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | fd: Arc::new(RwLock::new(file)), [INFO] [stdout] 34 | | }) [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/fileio/file_io.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 40 | let read_guard = self.fd.read(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match read_guard.read_at(buf, offset) { [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/fileio/file_io.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 51 | let mut write_guard = self.fd.write(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | match write_guard.write(buf) { [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/fileio/file_io.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | let read_guard = self.fd.read(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | read_guard.metadata().unwrap().len() [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/fileio/mmap.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let map = unsafe { Mmap::map(&file).expect("failed to map the file") }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | Ok(MMapIO { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | map: Arc::new(Mutex::new(map)), [INFO] [stdout] 27 | | }) [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: 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" "c6e1f9cc103dabdd60d2a186279e745c6414d46901ce6a28b23b3a1a26c027dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e1f9cc103dabdd60d2a186279e745c6414d46901ce6a28b23b3a1a26c027dd", kill_on_drop: false }` [INFO] [stdout] c6e1f9cc103dabdd60d2a186279e745c6414d46901ce6a28b23b3a1a26c027dd