[INFO] fetching crate calyx-opt 0.7.1... [INFO] checking calyx-opt-0.7.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate calyx-opt 0.7.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate calyx-opt 0.7.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate calyx-opt 0.7.1 [INFO] finished tweaking crates.io crate calyx-opt 0.7.1 [INFO] tweaked toml for crates.io crate calyx-opt 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding string-interner v0.14.0 (available: v0.17.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d107428ddfa72c528f5f2628adc5690c8a174dbcec674635127dc3aa78d45ba [INFO] running `Command { std: "docker" "start" "-a" "0d107428ddfa72c528f5f2628adc5690c8a174dbcec674635127dc3aa78d45ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d107428ddfa72c528f5f2628adc5690c8a174dbcec674635127dc3aa78d45ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d107428ddfa72c528f5f2628adc5690c8a174dbcec674635127dc3aa78d45ba", kill_on_drop: false }` [INFO] [stdout] 0d107428ddfa72c528f5f2628adc5690c8a174dbcec674635127dc3aa78d45ba [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2abfc73c4253be951d595e28bf976a5ef2af54e2121f2f56fe6e60f734d2c60 [INFO] running `Command { std: "docker" "start" "-a" "c2abfc73c4253be951d595e28bf976a5ef2af54e2121f2f56fe6e60f734d2c60", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking symbol_table v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking pest_consume v1.1.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking calyx-utils v0.7.1 [INFO] [stderr] Checking calyx-frontend v0.7.1 [INFO] [stderr] Checking calyx-ir v0.7.1 [INFO] [stderr] Checking calyx-opt v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/passes/component_iniliner.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 343 | rewrite.port_map.into_iter().map(move |(cp, pr)| { [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] 344 | let ir::Canonical { port: p, .. } = cp; [INFO] [stdout] 345 | let port = pr.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | port.cell_parent().borrow().get(np), [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/passes/component_iniliner.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 343 | rewrite.port_map.into_iter().map(move |(cp, pr)| { [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] 344 | let ir::Canonical { port: p, .. } = cp; [INFO] [stdout] 345 | let port = pr.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | port.cell_parent().borrow().get(np), [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/analysis/compaction_analysis.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut total_order = ControlOrder::::get_dependency_graph_seq( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let mut par_control_threads: Vec = Vec::new(); [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/compaction_analysis.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut total_order = ControlOrder::::get_dependency_graph_seq( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let mut par_control_threads: Vec = Vec::new(); [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/dataflow_order.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | let port = pr.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | match &port.cell_parent().borrow().prototype { [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/dataflow_order.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | let port = pr.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | match &port.cell_parent().borrow().prototype { [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/live_range_analysis.rs:925:26 [INFO] [stdout] | [INFO] [stdout] 924 | .map(|cell| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 925 | (cell.borrow().prototype.clone(), cell.borrow().name()) [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/live_range_analysis.rs:963:26 [INFO] [stdout] | [INFO] [stdout] 962 | .map(|cell| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 963 | (cell.borrow().prototype.clone(), cell.borrow().name()) [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/live_range_analysis.rs:925:26 [INFO] [stdout] | [INFO] [stdout] 924 | .map(|cell| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 925 | (cell.borrow().prototype.clone(), cell.borrow().name()) [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 `Ref<'_, calyx_ir::Cell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/live_range_analysis.rs:963:26 [INFO] [stdout] | [INFO] [stdout] 962 | .map(|cell| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 963 | (cell.borrow().prototype.clone(), cell.borrow().name()) [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 `Ref<'_, calyx_ir::Group>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/promotion_analysis.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 37 | group: ir::RRC, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | if let Some(s_name) = self.static_group_name.get(&group.borrow().name()) [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 `Ref<'_, calyx_ir::Group>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis/promotion_analysis.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 37 | group: ir::RRC, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | if let Some(s_name) = self.static_group_name.get(&group.borrow().name()) [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>>, calyx_utils::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/passes/compile_invoke.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_go_port(cell_ref: ir::RRC) -> CalyxResult> { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let cell = cell_ref.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match cell.find_unique_with_attr(ir::NumAttr::Go) { [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>>, calyx_utils::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/passes/compile_invoke.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_go_port(cell_ref: ir::RRC) -> CalyxResult> { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let cell = cell_ref.borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match cell.find_unique_with_attr(ir::NumAttr::Go) { [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calyx-opt` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `calyx-opt` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c2abfc73c4253be951d595e28bf976a5ef2af54e2121f2f56fe6e60f734d2c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2abfc73c4253be951d595e28bf976a5ef2af54e2121f2f56fe6e60f734d2c60", kill_on_drop: false }` [INFO] [stdout] c2abfc73c4253be951d595e28bf976a5ef2af54e2121f2f56fe6e60f734d2c60