[INFO] fetching crate autosar-data 0.14.0... [INFO] checking autosar-data-0.14.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate autosar-data 0.14.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate autosar-data 0.14.0 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 autosar-data 0.14.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate autosar-data 0.14.0 [INFO] tweaked toml for crates.io crate autosar-data 0.14.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate autosar-data 0.14.0 already has a lockfile, it will not be regenerated [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] 68569174672dc807e95b0a4ec7de7c0d835d36a97c6d058f66df722b19334fc1 [INFO] running `Command { std: "docker" "start" "-a" "68569174672dc807e95b0a4ec7de7c0d835d36a97c6d058f66df722b19334fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68569174672dc807e95b0a4ec7de7c0d835d36a97c6d058f66df722b19334fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68569174672dc807e95b0a4ec7de7c0d835d36a97c6d058f66df722b19334fc1", kill_on_drop: false }` [INFO] [stdout] 68569174672dc807e95b0a4ec7de7c0d835d36a97c6d058f66df722b19334fc1 [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] 6d258e76e6d1991b368f5c602b619837e997e8a689c2ba77ac62f62eb8f70603 [INFO] running `Command { std: "docker" "start" "-a" "6d258e76e6d1991b368f5c602b619837e997e8a689c2ba77ac62f62eb8f70603", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking autosar-data-specification v0.14.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking autosar-data v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 176 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let version = self.min_version()?; [INFO] [stdout] 178 | self.0.write().set_item_name(new_name, &model, version) [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 424 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | let version = self.min_version()?; [INFO] [stdout] 426 | / self.0 [INFO] [stdout] 427 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 468 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | let version = self.min_version()?; [INFO] [stdout] 470 | / self.0 [INFO] [stdout] 471 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 521 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | let version = self.min_version()?; [INFO] [stdout] 523 | / self.0 [INFO] [stdout] 524 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 575 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | let version = self.min_version()?; [INFO] [stdout] 577 | / self.0 [INFO] [stdout] 578 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 619 | let model_src = move_element.model()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 620 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 629 | / self.0 [INFO] [stdout] 630 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 672 | let model_src = move_element.model()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 673 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | / self.0 [INFO] [stdout] 683 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 715 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 716 | self.0.write().remove_sub_element(sub_element, &model) [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 176 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let version = self.min_version()?; [INFO] [stdout] 178 | self.0.write().set_item_name(new_name, &model, version) [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 424 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | let version = self.min_version()?; [INFO] [stdout] 426 | / self.0 [INFO] [stdout] 427 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 468 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | let version = self.min_version()?; [INFO] [stdout] 470 | / self.0 [INFO] [stdout] 471 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 521 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | let version = self.min_version()?; [INFO] [stdout] 523 | / self.0 [INFO] [stdout] 524 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 575 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | let version = self.min_version()?; [INFO] [stdout] 577 | / self.0 [INFO] [stdout] 578 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 619 | let model_src = move_element.model()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 620 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 629 | / self.0 [INFO] [stdout] 630 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 672 | let model_src = move_element.model()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 673 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | / self.0 [INFO] [stdout] 683 | | .write() [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 `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, ElementRaw>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 715 | let model = self.model()?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 716 | self.0.write().remove_sub_element(sub_element, &model) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autosar-data` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `parser::ArxmlParser<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:883:17 [INFO] [stdout] | [INFO] [stdout] 869 | let mut parser = ArxmlParser::new(PathBuf::from("test_buffer.arxml"), buffer, true); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | let result = parser.parse_arxml(); [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] ... [INFO] [stdout] 883 | let mut parser = ArxmlParser::new(PathBuf::from("test_buffer.arxml"), buffer, false); [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autosar-data` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "6d258e76e6d1991b368f5c602b619837e997e8a689c2ba77ac62f62eb8f70603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d258e76e6d1991b368f5c602b619837e997e8a689c2ba77ac62f62eb8f70603", kill_on_drop: false }` [INFO] [stdout] 6d258e76e6d1991b368f5c602b619837e997e8a689c2ba77ac62f62eb8f70603