[INFO] fetching crate moonlift 0.1.0-alpha.0... [INFO] checking moonlift-0.1.0-alpha.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate moonlift 0.1.0-alpha.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate moonlift 0.1.0-alpha.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate moonlift 0.1.0-alpha.0 [INFO] finished tweaking crates.io crate moonlift 0.1.0-alpha.0 [INFO] tweaked toml for crates.io crate moonlift 0.1.0-alpha.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cranelift v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-bforest v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen-meta v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen-shared v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-control v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-entity v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-frontend v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-isle v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-jit v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-module v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding cranelift-native v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding fallible-iterator v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding gimli v0.27.3 (available: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding regalloc2 v0.9.3 (available: v0.10.2) [INFO] [stderr] Adding region v2.2.0 (available: v3.0.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding wasmtime-jit-icache-coherence v11.0.2 (available: v25.0.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f70faca9c3a1bd0fb2453ea5ead9972e57e78d5c8616ba130b15cbb3bb36c3da [INFO] running `Command { std: "docker" "start" "-a" "f70faca9c3a1bd0fb2453ea5ead9972e57e78d5c8616ba130b15cbb3bb36c3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f70faca9c3a1bd0fb2453ea5ead9972e57e78d5c8616ba130b15cbb3bb36c3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70faca9c3a1bd0fb2453ea5ead9972e57e78d5c8616ba130b15cbb3bb36c3da", kill_on_drop: false }` [INFO] [stdout] f70faca9c3a1bd0fb2453ea5ead9972e57e78d5c8616ba130b15cbb3bb36c3da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa92c16f7d584187eec7263c2fc6e4cfe06153371fbd68b8489d3c60aa316b25 [INFO] running `Command { std: "docker" "start" "-a" "fa92c16f7d584187eec7263c2fc6e4cfe06153371fbd68b8489d3c60aa316b25", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cranelift-isle v0.98.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.98.2 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking cranelift-entity v0.98.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.98.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cranelift-bforest v0.98.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking cranelift-control v0.98.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v11.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.98.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking cranelift-module v0.98.2 [INFO] [stderr] Checking cranelift-native v0.98.2 [INFO] [stderr] Checking cranelift-frontend v0.98.2 [INFO] [stderr] Checking cranelift-jit v0.98.2 [INFO] [stderr] Checking cranelift v0.98.2 [INFO] [stderr] Checking moonlift v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `lexer::Token` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 90 | let block = self.parse_block()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | match self.next_token()? { [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: this value of type `Token` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 90 | let block = self.parse_block()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | match self.next_token()? { [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: this value of type `std::result::Result, ParseError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 29 | let mut lexer = Lexer::from_bytes(bytes); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let mut parser = Parser::new(&mut lexer); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | match parser.parse() { [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: this value of type `std::result::Result, ParseError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lexer = lexer::Lexer::read(read); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let mut parser = Parser::new(&mut lexer); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | match parser.parse() { [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: this value of type `std::result::Result, ParseError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 29 | let mut lexer = Lexer::from_bytes(bytes); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let mut parser = Parser::new(&mut lexer); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | match parser.parse() { [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] warning: method `as_f64_mut` is never used [INFO] [stdout] --> src/ast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Number { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn as_f64_mut(&mut self) -> &mut f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/ast.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 80 | impl UnaryOp { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub const fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/ast.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 126 | impl InfixOp { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub const fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result, ParseError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lexer = lexer::Lexer::read(read); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let mut parser = Parser::new(&mut lexer); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | match parser.parse() { [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] warning: field `data_description` is never read [INFO] [stdout] --> src/jit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct JIT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Translator<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/lexer.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ReadSource { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn into_inner(self) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/lexer.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl> BytesSource { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_f64_mut` is never used [INFO] [stdout] --> src/ast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Number { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn as_f64_mut(&mut self) -> &mut f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/ast.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 80 | impl UnaryOp { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub const fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/ast.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 126 | impl InfixOp { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub const fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_description` is never read [INFO] [stdout] --> src/jit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct JIT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Translator<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/lexer.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ReadSource { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn into_inner(self) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/lexer.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl> BytesSource { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moonlift` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `moonlift` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa92c16f7d584187eec7263c2fc6e4cfe06153371fbd68b8489d3c60aa316b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa92c16f7d584187eec7263c2fc6e4cfe06153371fbd68b8489d3c60aa316b25", kill_on_drop: false }` [INFO] [stdout] fa92c16f7d584187eec7263c2fc6e4cfe06153371fbd68b8489d3c60aa316b25