[INFO] fetching crate mol-cargo 0.3.0... [INFO] checking mol-cargo-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mol-cargo 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mol-cargo 0.3.0 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 mol-cargo 0.3.0 [INFO] finished tweaking crates.io crate mol-cargo 0.3.0 [INFO] tweaked toml for crates.io crate mol-cargo 0.3.0 written to /workspace/builds/worker-2-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 115 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding async-recursion v0.3.2 (latest: v1.1.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding dashmap v4.0.2 (latest: v6.0.1) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding kstring v1.0.6 (latest: v2.0.2) [INFO] [stderr] Adding libloading v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.10.1 (latest: v0.22.20) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 985b629e368b0bcb28961c9adacadb105ad3c9575cf0dbd7468dc9f647a27968 [INFO] running `Command { std: "docker" "start" "-a" "985b629e368b0bcb28961c9adacadb105ad3c9575cf0dbd7468dc9f647a27968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "985b629e368b0bcb28961c9adacadb105ad3c9575cf0dbd7468dc9f647a27968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985b629e368b0bcb28961c9adacadb105ad3c9575cf0dbd7468dc9f647a27968", kill_on_drop: false }` [INFO] [stdout] 985b629e368b0bcb28961c9adacadb105ad3c9575cf0dbd7468dc9f647a27968 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 77aeffd1feca4f292baa0c822b796fc1d05ddeb46c7ccc422e4807f8d5881089 [INFO] running `Command { std: "docker" "start" "-a" "77aeffd1feca4f292baa0c822b796fc1d05ddeb46c7ccc422e4807f8d5881089", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling mol-core v0.3.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_edit v0.10.1 [INFO] [stderr] Checking mol-cargo v0.3.0 (/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/lib.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 158 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | ) -> anyhow::Result>> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 160 | | let mut result = Vec::new(); [INFO] [stdout] 161 | | let (crate_path, document) = self.load_document(crate_path).await?; [INFO] [stdout] ... | [INFO] [stdout] 233 | | Ok(result) [INFO] [stdout] 234 | | } [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/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 277 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | build_args: Vec, [INFO] [stdout] 279 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 280 | | self [INFO] [stdout] 281 | | .run_command( [INFO] [stdout] 282 | | "build", [INFO] [stdout] ... | [INFO] [stdout] 286 | | .await [INFO] [stdout] 287 | | } [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/lib.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 291 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 295 | | let args = if dry_run { [INFO] [stdout] 296 | | vec!["--dry-run"] [INFO] [stdout] 297 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 304 | | self.run_command("publish", crate_path, args).await [INFO] [stdout] 305 | | } [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/lib.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 309 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | version: &str, [INFO] [stdout] 311 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 312 | | let (crate_path, mut document) = self.load_document(crate_path).await?; [INFO] [stdout] 313 | | [INFO] [stdout] 314 | | if document.contains_key("package") { [INFO] [stdout] ... | [INFO] [stdout] 320 | | Ok(()) [INFO] [stdout] 321 | | } [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/lib.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 325 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 329 | | let (crate_path, mut document) = self.load_document(crate_path).await?; [INFO] [stdout] 330 | | [INFO] [stdout] 331 | | if document.contains_key("dependencies") { [INFO] [stdout] ... | [INFO] [stdout] 343 | | Ok(()) [INFO] [stdout] 344 | | } [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] [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/lib.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 158 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | ) -> anyhow::Result>> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 160 | | let mut result = Vec::new(); [INFO] [stdout] 161 | | let (crate_path, document) = self.load_document(crate_path).await?; [INFO] [stdout] ... | [INFO] [stdout] 233 | | Ok(result) [INFO] [stdout] 234 | | } [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/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 277 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | build_args: Vec, [INFO] [stdout] 279 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 280 | | self [INFO] [stdout] 281 | | .run_command( [INFO] [stdout] 282 | | "build", [INFO] [stdout] ... | [INFO] [stdout] 286 | | .await [INFO] [stdout] 287 | | } [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/lib.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 291 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 295 | | let args = if dry_run { [INFO] [stdout] 296 | | vec!["--dry-run"] [INFO] [stdout] 297 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 304 | | self.run_command("publish", crate_path, args).await [INFO] [stdout] 305 | | } [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/lib.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 309 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | version: &str, [INFO] [stdout] 311 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 312 | | let (crate_path, mut document) = self.load_document(crate_path).await?; [INFO] [stdout] 313 | | [INFO] [stdout] 314 | | if document.contains_key("package") { [INFO] [stdout] ... | [INFO] [stdout] 320 | | Ok(()) [INFO] [stdout] 321 | | } [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/lib.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 325 | crate_path: T, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | ) -> anyhow::Result<()> { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 329 | | let (crate_path, mut document) = self.load_document(crate_path).await?; [INFO] [stdout] 330 | | [INFO] [stdout] 331 | | if document.contains_key("dependencies") { [INFO] [stdout] ... | [INFO] [stdout] 343 | | Ok(()) [INFO] [stdout] 344 | | } [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 `mol-cargo` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mol-cargo` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "77aeffd1feca4f292baa0c822b796fc1d05ddeb46c7ccc422e4807f8d5881089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77aeffd1feca4f292baa0c822b796fc1d05ddeb46c7ccc422e4807f8d5881089", kill_on_drop: false }` [INFO] [stdout] 77aeffd1feca4f292baa0c822b796fc1d05ddeb46c7ccc422e4807f8d5881089