[INFO] fetching crate rtlola-hir 0.5.0... [INFO] checking rtlola-hir-0.5.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rtlola-hir 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rtlola-hir 0.5.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 rtlola-hir 0.5.0 [INFO] finished tweaking crates.io crate rtlola-hir 0.5.0 [INFO] tweaked toml for crates.io crate rtlola-hir 0.5.0 written to /workspace/builds/worker-7-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] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding fixedbitset v0.2.0 (available: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.3.1 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.3.2 (available: v0.4.2) [INFO] [stderr] Adding petgraph v0.5.1 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding uom v0.31.1 (available: v0.36.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 58a2a4dc98146362f9ea4090c93056476468249e69cd2cce901756064a553808 [INFO] running `Command { std: "docker" "start" "-a" "58a2a4dc98146362f9ea4090c93056476468249e69cd2cce901756064a553808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58a2a4dc98146362f9ea4090c93056476468249e69cd2cce901756064a553808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a2a4dc98146362f9ea4090c93056476468249e69cd2cce901756064a553808", kill_on_drop: false }` [INFO] [stdout] 58a2a4dc98146362f9ea4090c93056476468249e69cd2cce901756064a553808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 38d2d22881bc5bcdd6e126a4e0c1e14f7e3ab29a7acddbde8d3c1bed4f8e48cc [INFO] running `Command { std: "docker" "start" "-a" "38d2d22881bc5bcdd6e126a4e0c1e14f7e3ab29a7acddbde8d3c1bed4f8e48cc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking rusttyc v0.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling rtlola-macros v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking uom v0.31.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rtlola-reporting v0.3.0 [INFO] [stderr] Checking rtlola-parser v0.3.2 [INFO] [stderr] Checking rtlola-hir v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modes/ast_conversion.rs:888:21 [INFO] [stdout] | [INFO] [stdout] 874 | kind: ast::ExpressionKind, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 875 | ) -> Result { [INFO] [stdout] 876 | let (name, type_param, args) = if let ast::ExpressionKind::Function(name, type_param, args) = kind { [INFO] [stdout] | ---------- ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 888 | let args: Vec = args [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 `(SemanticTypeKind, SemanticTypeKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_check/pacing_types.rs:1195:15 [INFO] [stdout] | [INFO] [stdout] 1190 | fn join(self, other: Self, literal_constructor: F) -> SemanticTypeKind [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1195 | match (self, other) { [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: methods `value_neq` and `value_neq_ignore_parameters` are never used [INFO] [stdout] --> src/hir/expression.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 586 | pub(crate) trait ValueEq { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 587 | fn value_eq(&self, other: &Self, parameter_map: &ExpressionContext) -> bool; [INFO] [stdout] 588 | fn value_neq(&self, other: &Self, parameter_map: &ExpressionContext) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | fn value_neq_ignore_parameters(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtlola-hir` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, RtLolaError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modes/ast_conversion/naming.rs:627:15 [INFO] [stdout] | [INFO] [stdout] 625 | let ast = parse(&ParserConfig::for_string(content.to_string())).unwrap_or_else(|e| panic!("{:?}", e)); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | let mut naming_analyzer = NamingAnalysis::new(); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 627 | match naming_analyzer.check(&ast) { [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modes/ast_conversion.rs:888:21 [INFO] [stdout] | [INFO] [stdout] 874 | kind: ast::ExpressionKind, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 875 | ) -> Result { [INFO] [stdout] 876 | let (name, type_param, args) = if let ast::ExpressionKind::Function(name, type_param, args) = kind { [INFO] [stdout] | ---------- ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 888 | let args: Vec = args [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 `Result, RtLolaError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_check/pacing_ast_climber.rs:1151:15 [INFO] [stdout] | [INFO] [stdout] 1149 | let (spec, _) = setup_ast(spec); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1150 | let mut ltc = LolaTypeChecker::new(&spec); [INFO] [stdout] 1151 | match ltc.pacing_type_infer() { [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 `(SemanticTypeKind, SemanticTypeKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_check/pacing_types.rs:1195:15 [INFO] [stdout] | [INFO] [stdout] 1190 | fn join(self, other: Self, literal_constructor: F) -> SemanticTypeKind [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1195 | match (self, other) { [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 `Result, RtLolaError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_check/value_ast_climber.rs:978:15 [INFO] [stdout] | [INFO] [stdout] 976 | let test_box = setup_hir(spec); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 977 | let ltc = LolaTypeChecker::new(&test_box.hir); [INFO] [stdout] 978 | match ltc.value_type_infer() { [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtlola-hir` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "38d2d22881bc5bcdd6e126a4e0c1e14f7e3ab29a7acddbde8d3c1bed4f8e48cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d2d22881bc5bcdd6e126a4e0c1e14f7e3ab29a7acddbde8d3c1bed4f8e48cc", kill_on_drop: false }` [INFO] [stdout] 38d2d22881bc5bcdd6e126a4e0c1e14f7e3ab29a7acddbde8d3c1bed4f8e48cc