[INFO] cloning repository https://github.com/dcechano/sumatra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dcechano/sumatra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b199b8f2f0bedb788569ac16563e5b84237c460 [INFO] checking dcechano/sumatra/6b199b8f2f0bedb788569ac16563e5b84237c460 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%2Fdcechano%2Fsumatra" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 32% (9552/29216) Updating files: 33% (9642/29216) Updating files: 34% (9934/29216) Updating files: 35% (10226/29216) Updating files: 36% (10518/29216) Updating files: 37% (10810/29216) Updating files: 38% (11103/29216) Updating files: 39% (11395/29216) Updating files: 40% (11687/29216) Updating files: 41% (11979/29216) Updating files: 42% (12271/29216) Updating files: 43% (12563/29216) Updating files: 44% (12856/29216) Updating files: 45% (13148/29216) Updating files: 46% (13440/29216) Updating files: 47% (13732/29216) Updating files: 48% (14024/29216) Updating files: 49% (14316/29216) Updating files: 50% (14608/29216) Updating files: 51% (14901/29216) Updating files: 52% (15193/29216) Updating files: 53% (15485/29216) Updating files: 54% (15777/29216) Updating files: 55% (16069/29216) Updating files: 56% (16361/29216) Updating files: 57% (16654/29216) Updating files: 58% (16946/29216) Updating files: 59% (17238/29216) Updating files: 60% (17530/29216) Updating files: 61% (17822/29216) Updating files: 61% (18107/29216) Updating files: 62% (18114/29216) Updating files: 63% (18407/29216) Updating files: 64% (18699/29216) Updating files: 65% (18991/29216) Updating files: 66% (19283/29216) Updating files: 67% (19575/29216) Updating files: 68% (19867/29216) Updating files: 69% (20160/29216) Updating files: 70% (20452/29216) Updating files: 71% (20744/29216) Updating files: 72% (21036/29216) Updating files: 73% (21328/29216) Updating files: 74% (21620/29216) Updating files: 75% (21912/29216) Updating files: 76% (22205/29216) Updating files: 77% (22497/29216) Updating files: 78% (22789/29216) Updating files: 79% (23081/29216) Updating files: 80% (23373/29216) Updating files: 81% (23665/29216) Updating files: 82% (23958/29216) Updating files: 83% (24250/29216) Updating files: 84% (24542/29216) Updating files: 85% (24834/29216) Updating files: 86% (25126/29216) Updating files: 87% (25418/29216) Updating files: 88% (25711/29216) Updating files: 89% (26003/29216) Updating files: 90% (26295/29216) Updating files: 91% (26587/29216) Updating files: 92% (26879/29216) Updating files: 93% (27171/29216) Updating files: 94% (27464/29216) Updating files: 95% (27756/29216) Updating files: 95% (27794/29216) Updating files: 96% (28048/29216) Updating files: 97% (28340/29216) Updating files: 98% (28632/29216) Updating files: 99% (28924/29216) Updating files: 100% (29216/29216) Updating files: 100% (29216/29216), done. [INFO] validating manifest of git repo https://github.com/dcechano/sumatra 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/dcechano/sumatra [INFO] finished tweaking git repo https://github.com/dcechano/sumatra [INFO] tweaked toml for git repo https://github.com/dcechano/sumatra written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dcechano/sumatra 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-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6dd35c0cca7cf4df49cba7e067ab91a0e775ade6abf35dd04b3be0d43c61ff6 [INFO] running `Command { std: "docker" "start" "-a" "a6dd35c0cca7cf4df49cba7e067ab91a0e775ade6abf35dd04b3be0d43c61ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6dd35c0cca7cf4df49cba7e067ab91a0e775ade6abf35dd04b3be0d43c61ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6dd35c0cca7cf4df49cba7e067ab91a0e775ade6abf35dd04b3be0d43c61ff6", kill_on_drop: false }` [INFO] [stdout] a6dd35c0cca7cf4df49cba7e067ab91a0e775ade6abf35dd04b3be0d43c61ff6 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568d924e90cdd8ea4558c1f3de5de642968959a9d66bf6fe853725e13d510b4f [INFO] running `Command { std: "docker" "start" "-a" "568d924e90cdd8ea4558c1f3de5de642968959a9d66bf6fe853725e13d510b4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking sumatra_parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking sumatra_vm v0.1.0 (/opt/rustwide/workdir/vm) [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] --> vm/src/alloc/header.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new_array(length: usize, array_type: ArrayComp) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | array_data: Some((length, array_type)), [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] --> vm/src/lli/class_loader.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 29 | let mut file = File::open(self.class_path.join(&name))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | match ClassFile::parse_from_buffer(&contents) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vm/src/vm.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 62 | let method_area = match MethodArea::new() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Ok(method_area) => method_area, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | class_manager: ClassManager::new(jdk, c_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vm/src/vm.rs:596:24 [INFO] [stdout] | [INFO] [stdout] 583 | bail!("Expected Constant::Class while executing anewarray."); [INFO] [stdout] | ------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | self.new_array(ArrayComp::Class(class_name.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vm/src/alloc/header.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new_array(length: usize, array_type: ArrayComp) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | array_data: Some((length, array_type)), [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] --> vm/src/alloc/method_area.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut file = File::open(format!("{JAR_PATH}{OBJECT_FILE}")).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | ClassFile::parse_from_buffer(&contents).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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] --> vm/src/data_types/array.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 292 | let array = ArrayComp::prim_array(3, Primitive::Int); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let array = ArrayComp::prim_array(1, Primitive::Int); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | assert_eq!(array, ArrayComp::Int) [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] --> vm/src/data_types/array.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 304 | let array = ArrayComp::class_array(5, "java/lang/Object".to_string()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | / ArrayComp::Array(Box::new(ArrayComp::Array(Box::new(ArrayComp::Array( [INFO] [stdout] 308 | | Box::new(ArrayComp::Array(Box::new(ArrayComp::Class( [INFO] [stdout] 309 | | "java/lang/Object".to_string() [INFO] [stdout] 310 | | )))) [INFO] [stdout] 311 | | ))))) [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] --> vm/src/lli/class_loader.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 29 | let mut file = File::open(self.class_path.join(&name))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | match ClassFile::parse_from_buffer(&contents) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vm/src/vm.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 62 | let method_area = match MethodArea::new() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Ok(method_area) => method_area, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | class_manager: ClassManager::new(jdk, c_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vm/src/vm.rs:596:24 [INFO] [stdout] | [INFO] [stdout] 583 | bail!("Expected Constant::Class while executing anewarray."); [INFO] [stdout] | ------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | self.new_array(ArrayComp::Class(class_name.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sumatra_vm` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sumatra_vm` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "568d924e90cdd8ea4558c1f3de5de642968959a9d66bf6fe853725e13d510b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568d924e90cdd8ea4558c1f3de5de642968959a9d66bf6fe853725e13d510b4f", kill_on_drop: false }` [INFO] [stdout] 568d924e90cdd8ea4558c1f3de5de642968959a9d66bf6fe853725e13d510b4f