[INFO] cloning repository https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUB-Advanced-Datastructures%2F2024-sp-p2-TEMPLATE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUB-Advanced-Datastructures%2F2024-sp-p2-TEMPLATE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f7ee1e2daccec4d486d360deb38d2a65c914dbc [INFO] checking UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE/7f7ee1e2daccec4d486d360deb38d2a65c914dbc against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUB-Advanced-Datastructures%2F2024-sp-p2-TEMPLATE" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE [INFO] finished tweaking git repo https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE [INFO] tweaked toml for git repo https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/UB-Advanced-Datastructures/2024-sp-p2-TEMPLATE 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6becbc30772a23d8763cf2c36d52b22f7975b791eaf08b246755d0b86318b951 [INFO] running `Command { std: "docker" "start" "-a" "6becbc30772a23d8763cf2c36d52b22f7975b791eaf08b246755d0b86318b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6becbc30772a23d8763cf2c36d52b22f7975b791eaf08b246755d0b86318b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6becbc30772a23d8763cf2c36d52b22f7975b791eaf08b246755d0b86318b951", kill_on_drop: false }` [INFO] [stdout] 6becbc30772a23d8763cf2c36d52b22f7975b791eaf08b246755d0b86318b951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93395daa12c6c80ff6d89d5d5a66f00aae977cdd8528182443358cb192897dc9 [INFO] running `Command { std: "docker" "start" "-a" "93395daa12c6c80ff6d89d5d5a66f00aae977cdd8528182443358cb192897dc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bplus_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bplus_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bplus_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FreePage` [INFO] [stdout] --> src/bplus_tree.rs:11:59 [INFO] [stdout] | [INFO] [stdout] 11 | use super::page::{ LeafPage, DirectoryPage, MetadataPage, FreePage }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FreePage` [INFO] [stdout] --> src/bplus_tree.rs:11:59 [INFO] [stdout] | [INFO] [stdout] 11 | use super::page::{ LeafPage, DirectoryPage, MetadataPage, FreePage }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/bplus_tree.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn alloc_page(&mut self, page: &T) -> BPlusResult [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bplus_tree.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn free_page(&mut self, ptr: PagePointer) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/bplus_tree.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn alloc_page(&mut self, page: &T) -> BPlusResult [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bplus_tree.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn free_page(&mut self, ptr: PagePointer) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bplus_tree.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn put(&mut self, key: u32, value: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bplus_tree.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn put(&mut self, key: u32, value: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bplus_tree.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn delete(&mut self, key: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bplus_tree.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn put(&mut self, key: u32, value: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bplus_tree.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn put(&mut self, key: u32, value: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bplus_tree.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn delete(&mut self, key: u32) -> BPlusResult<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FreePage` is never used [INFO] [stdout] --> src/page/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub type FreePage = free_page::FreePage; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/page/free_page.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl FreePage [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | { [INFO] [stdout] 16 | pub fn init(next: PagePointer) -> FreePage [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/bplus_tree.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 43 | let mut file = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(BPlusTree { file, meta }) [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] = 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/bplus_tree.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(BPlusTree { file, meta }) [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] | 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 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bplus_tree` (bin "bplus_tree") due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/bplus_tree.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 43 | let mut file = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(BPlusTree { file, meta }) [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] = 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/bplus_tree.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(BPlusTree { file, meta }) [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] | 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 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bplus_tree` (bin "bplus_tree" test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93395daa12c6c80ff6d89d5d5a66f00aae977cdd8528182443358cb192897dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93395daa12c6c80ff6d89d5d5a66f00aae977cdd8528182443358cb192897dc9", kill_on_drop: false }` [INFO] [stdout] 93395daa12c6c80ff6d89d5d5a66f00aae977cdd8528182443358cb192897dc9