[INFO] fetching crate rclrust-msg-gen 0.0.2... [INFO] checking rclrust-msg-gen-0.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rclrust-msg-gen 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rclrust-msg-gen 0.0.2 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 crates.io crate rclrust-msg-gen 0.0.2 [INFO] finished tweaking crates.io crate rclrust-msg-gen 0.0.2 [INFO] tweaked toml for crates.io crate rclrust-msg-gen 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.7.15 (latest: v1.1.3) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bitvec v0.19.6 (latest: v1.0.1) [INFO] [stderr] Adding funty v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding memchr v2.3.4 (latest: v2.7.4) [INFO] [stderr] Adding nom v6.2.2 (latest: v7.1.3) [INFO] [stderr] Adding radium v0.5.3 (latest: v1.1.0) [INFO] [stderr] Adding regex v1.4.6 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wyz v0.2.0 (latest: v0.6.1) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 83c95011b62fb3be12fb45c15af194655dd1f22f93e4b9c67545900cd2c285ab [INFO] running `Command { std: "docker" "start" "-a" "83c95011b62fb3be12fb45c15af194655dd1f22f93e4b9c67545900cd2c285ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c95011b62fb3be12fb45c15af194655dd1f22f93e4b9c67545900cd2c285ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c95011b62fb3be12fb45c15af194655dd1f22f93e4b9c67545900cd2c285ab", kill_on_drop: false }` [INFO] [stdout] 83c95011b62fb3be12fb45c15af194655dd1f22f93e4b9c67545900cd2c285ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4e2502a5bb32d96ada95af1137bcfb2084c863e4878c4bb993a13b4ac9d9ae42 [INFO] running `Command { std: "docker" "start" "-a" "4e2502a5bb32d96ada95af1137bcfb2084c863e4878c4bb993a13b4ac9d9ae42", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking anyhow v1.0.86 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking rclrust-msg-gen v0.0.2 (/opt/rustwide/workdir) [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/parser/action.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_action_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_action_string( [INFO] [stdout] 17 | | pkg_name, [INFO] [stdout] 18 | | interface_file [INFO] [stdout] 19 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 24 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 25 | | ) [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] --> src/parser/literal.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | map_res(integer_literal, |v| T::try_from(v).map(|v| v.to_string()))(s) [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] --> src/parser/literal.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Box::new(move |s| verify(string_literal, |s: &str| s.len() <= max_size)(s)) [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] --> src/parser/message.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_message_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_message_string( [INFO] [stdout] 17 | | pkg_name, [INFO] [stdout] 18 | | interface_file [INFO] [stdout] 19 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 24 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 25 | | ) [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] --> src/parser/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_service_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / parse_service_string( [INFO] [stdout] 16 | | pkg_name, [INFO] [stdout] 17 | | interface_file [INFO] [stdout] 18 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 23 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 24 | | ) [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 `rclrust-msg-gen` (lib) due to 6 previous errors [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/parser/action.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_action_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_action_string( [INFO] [stdout] 17 | | pkg_name, [INFO] [stdout] 18 | | interface_file [INFO] [stdout] 19 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 24 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 25 | | ) [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] --> src/parser/literal.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | map_res(integer_literal, |v| T::try_from(v).map(|v| v.to_string()))(s) [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] --> src/parser/literal.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Box::new(move |s| verify(string_literal, |s: &str| s.len() <= max_size)(s)) [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] --> src/parser/message.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_message_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_message_string( [INFO] [stdout] 17 | | pkg_name, [INFO] [stdout] 18 | | interface_file [INFO] [stdout] 19 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 24 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 25 | | ) [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] --> src/parser/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_service_file>(pkg_name: &str, interface_file: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / parse_service_string( [INFO] [stdout] 16 | | pkg_name, [INFO] [stdout] 17 | | interface_file [INFO] [stdout] 18 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 23 | | fs::read_to_string(interface_file.as_ref())?.as_str(), [INFO] [stdout] 24 | | ) [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 `rclrust-msg-gen` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4e2502a5bb32d96ada95af1137bcfb2084c863e4878c4bb993a13b4ac9d9ae42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2502a5bb32d96ada95af1137bcfb2084c863e4878c4bb993a13b4ac9d9ae42", kill_on_drop: false }` [INFO] [stdout] 4e2502a5bb32d96ada95af1137bcfb2084c863e4878c4bb993a13b4ac9d9ae42