[INFO] cloning repository https://github.com/jiamingluuu/smallDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiamingluuu/smallDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiamingluuu%2FsmallDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiamingluuu%2FsmallDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2df0d65801838fea08788b8424fbf4ea6be15f2 [INFO] checking jiamingluuu/smallDB against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiamingluuu%2FsmallDB" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiamingluuu/smallDB 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/jiamingluuu/smallDB [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/jiamingluuu/smallDB [INFO] tweaked toml for git repo https://github.com/jiamingluuu/smallDB written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jiamingluuu/smallDB 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 jammdb v0.11.0 [INFO] [stderr] Downloaded fs4 v0.7.0 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 01148c5d6d9933df8e2600449356b24e7a04da7c00d09a0d8da830ee3ffb00ba [INFO] running `Command { std: "docker" "start" "-a" "01148c5d6d9933df8e2600449356b24e7a04da7c00d09a0d8da830ee3ffb00ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01148c5d6d9933df8e2600449356b24e7a04da7c00d09a0d8da830ee3ffb00ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01148c5d6d9933df8e2600449356b24e7a04da7c00d09a0d8da830ee3ffb00ba", kill_on_drop: false }` [INFO] [stdout] 01148c5d6d9933df8e2600449356b24e7a04da7c00d09a0d8da830ee3ffb00ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f19642c6d4edff57791f9c0a3f1341998408accde674d77a44a3879e130dc191 [INFO] running `Command { std: "docker" "start" "-a" "f19642c6d4edff57791f9c0a3f1341998408accde674d77a44a3879e130dc191", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking fs4 v0.7.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking jammdb v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Checking prost v0.13.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking smallDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fio/mmap.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn write(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `io_type` is never read [INFO] [stdout] --> src/db.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | io_type: IOType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_num`, `data_file_num`, `reclaim_size`, and `disk_size` are never read [INFO] [stdout] --> src/db.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Stat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | /// Number of keys in the engine. [INFO] [stdout] 77 | key_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | data_file_num: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | reclaim_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | disk_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `smallDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `small_db` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fio/mmap.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn write(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `io_type` is never read [INFO] [stdout] --> src/db.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | io_type: IOType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_num`, `data_file_num`, and `disk_size` are never read [INFO] [stdout] --> src/db.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Stat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | /// Number of keys in the engine. [INFO] [stdout] 77 | key_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | data_file_num: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | disk_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.04s [INFO] running `Command { std: "docker" "inspect" "f19642c6d4edff57791f9c0a3f1341998408accde674d77a44a3879e130dc191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19642c6d4edff57791f9c0a3f1341998408accde674d77a44a3879e130dc191", kill_on_drop: false }` [INFO] [stdout] f19642c6d4edff57791f9c0a3f1341998408accde674d77a44a3879e130dc191 [INFO] checking jiamingluuu/smallDB 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%2Fjiamingluuu%2FsmallDB" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiamingluuu/smallDB 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/jiamingluuu/smallDB [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/jiamingluuu/smallDB [INFO] tweaked toml for git repo https://github.com/jiamingluuu/smallDB written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jiamingluuu/smallDB 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b7a6d14870e3dadd10153972d95aea5ac9246a6e7ef88a9108785f836a9775fa [INFO] running `Command { std: "docker" "start" "-a" "b7a6d14870e3dadd10153972d95aea5ac9246a6e7ef88a9108785f836a9775fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a6d14870e3dadd10153972d95aea5ac9246a6e7ef88a9108785f836a9775fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a6d14870e3dadd10153972d95aea5ac9246a6e7ef88a9108785f836a9775fa", kill_on_drop: false }` [INFO] [stdout] b7a6d14870e3dadd10153972d95aea5ac9246a6e7ef88a9108785f836a9775fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2f4b0bf469517b34b726039e8ce6fef4e25f41ee577c8002702930047b0f8313 [INFO] running `Command { std: "docker" "start" "-a" "2f4b0bf469517b34b726039e8ce6fef4e25f41ee577c8002702930047b0f8313", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking fs4 v0.7.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking jammdb v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Checking prost v0.13.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking smallDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fio/mmap.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn write(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `io_type` is never read [INFO] [stdout] --> src/db.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | io_type: IOType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_num`, `data_file_num`, `reclaim_size`, and `disk_size` are never read [INFO] [stdout] --> src/db.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Stat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | /// Number of keys in the engine. [INFO] [stdout] 77 | key_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | data_file_num: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | reclaim_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | disk_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `smallDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `small_db` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 43 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | file_id: Arc::new(RwLock::new(file_id)), [INFO] [stdout] 45 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 46 | | io_manager, [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] = 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:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 53 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 54 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 55 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 56 | | io_manager, [INFO] [stdout] 57 | | }) [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:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 64 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 65 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 66 | | io_manager, [INFO] [stdout] 67 | | }) [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:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 73 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 75 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 76 | | io_manager, [INFO] [stdout] 77 | | }) [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:318:12 [INFO] [stdout] | [INFO] [stdout] 298 | let active_file = self.active_file.read().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | let old_files = self.old_files.read().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 318 | 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/fio/file_io.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | file.read_at(buf, ofs) [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/fio/file_io.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut file = self.file.write().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | file.write(buf).map_err(|_| Errors::FailedToWriteToDataFile) [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/fio/file_io.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | file.sync_all().map_err(|_| Errors::FailedToSyncToDataFile) [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/fio/file_io.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | file.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/index/bptree.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 24 | let bptree = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | DB::open(dir_path.join(BPTREE_INDEX_FILE_NAME)).expect("failed to open bptree"); [INFO] [stdout] 26 | let tree = Arc::new(bptree); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let tx = tree.tx(true).expect("failed to begin tx"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Self { tree: tree.clone() } [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/index/bptree.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | let tx = self.tree.tx(false).expect("failed to begin tx"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let bucket = tx.get_bucket(BPTREE_BUCKET_NAME).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | / bucket [INFO] [stdout] 59 | | .get_kv(key) [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 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smallDB` (lib) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fio/mmap.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn write(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `io_type` is never read [INFO] [stdout] --> src/db.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | io_type: IOType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_num`, `data_file_num`, and `disk_size` are never read [INFO] [stdout] --> src/db.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Stat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | /// Number of keys in the engine. [INFO] [stdout] 77 | key_num: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | data_file_num: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | disk_size: u64, [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:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 43 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | file_id: Arc::new(RwLock::new(file_id)), [INFO] [stdout] 45 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 46 | | io_manager, [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] = 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:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 53 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 54 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 55 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 56 | | io_manager, [INFO] [stdout] 57 | | }) [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:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 64 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 65 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 66 | | io_manager, [INFO] [stdout] 67 | | }) [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:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 73 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | file_id: Arc::new(RwLock::new(0)), [INFO] [stdout] 75 | | write_ofs: Arc::new(RwLock::new(0)), [INFO] [stdout] 76 | | io_manager, [INFO] [stdout] 77 | | }) [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:318:12 [INFO] [stdout] | [INFO] [stdout] 298 | let active_file = self.active_file.read().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | let old_files = self.old_files.read().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 318 | 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/fio/file_io.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | file.read_at(buf, ofs) [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/fio/file_io.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut file = self.file.write().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | file.write(buf).map_err(|_| Errors::FailedToWriteToDataFile) [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/fio/file_io.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | file.sync_all().map_err(|_| Errors::FailedToSyncToDataFile) [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/fio/file_io.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | let file = self.file.read().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | file.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/index/bptree.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 24 | let bptree = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | DB::open(dir_path.join(BPTREE_INDEX_FILE_NAME)).expect("failed to open bptree"); [INFO] [stdout] 26 | let tree = Arc::new(bptree); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let tx = tree.tx(true).expect("failed to begin tx"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Self { tree: tree.clone() } [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/index/bptree.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | let tx = self.tree.tx(false).expect("failed to begin tx"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let bucket = tx.get_bucket(BPTREE_BUCKET_NAME).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | / bucket [INFO] [stdout] 59 | | .get_kv(key) [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 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smallDB` (lib test) due to 12 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f4b0bf469517b34b726039e8ce6fef4e25f41ee577c8002702930047b0f8313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4b0bf469517b34b726039e8ce6fef4e25f41ee577c8002702930047b0f8313", kill_on_drop: false }` [INFO] [stdout] 2f4b0bf469517b34b726039e8ce6fef4e25f41ee577c8002702930047b0f8313