[INFO] fetching crate azure-pim-cli 0.5.0... [INFO] checking azure-pim-cli-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate azure-pim-cli 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate azure-pim-cli 0.5.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 azure-pim-cli 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate azure-pim-cli 0.5.0 [INFO] tweaked toml for crates.io crate azure-pim-cli 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate azure-pim-cli 0.5.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 21a8b70345a60411d2dd6c141c4daf0e32d061cc2c4fb310c8a6cde3cd7cddfb [INFO] running `Command { std: "docker" "start" "-a" "21a8b70345a60411d2dd6c141c4daf0e32d061cc2c4fb310c8a6cde3cd7cddfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21a8b70345a60411d2dd6c141c4daf0e32d061cc2c4fb310c8a6cde3cd7cddfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a8b70345a60411d2dd6c141c4daf0e32d061cc2c4fb310c8a6cde3cd7cddfb", kill_on_drop: false }` [INFO] [stdout] 21a8b70345a60411d2dd6c141c4daf0e32d061cc2c4fb310c8a6cde3cd7cddfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 75daf6f0b659a81c0cf6311e7adfaf7a77b4a8f27d04f36272f4947af99b602f [INFO] running `Command { std: "docker" "start" "-a" "75daf6f0b659a81c0cf6311e7adfaf7a77b4a8f27d04f36272f4947af99b602f", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling derive_setters v0.1.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking clap_complete v4.5.24 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking retry v2.0.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking azure-pim-cli v0.5.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:96:12 [INFO] [stdout] | [INFO] [stdout] 93 | let backend = Backend::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | backend, [INFO] [stdout] 98 | | object_cache, [INFO] [stdout] 99 | | role_definitions_cache, [INFO] [stdout] 100 | | }) [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:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | |entry| match self.activate_role_assignment(entry, justification, duration) { [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:420:32 [INFO] [stdout] | [INFO] [stdout] 420 | .map(|entry| match self.deactivate_role_assignment(entry) { [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/backend.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | extract_oid(&mgmt_token).context("unable to obtain the current user") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/expiring.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn insert(&mut self, key: K, value: V) -> Option { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | self.cleanup(); [INFO] [stdout] 36 | / self.data [INFO] [stdout] 37 | | .insert(key, Value::new(value, Instant::now() + self.duration)) [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/latest.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Version::parse(&as_str).context("unable to parse cache file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azure-pim-cli` (lib) due to 7 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/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 93 | let backend = Backend::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | backend, [INFO] [stdout] 98 | | object_cache, [INFO] [stdout] 99 | | role_definitions_cache, [INFO] [stdout] 100 | | }) [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:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | |entry| match self.activate_role_assignment(entry, justification, duration) { [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:420:32 [INFO] [stdout] | [INFO] [stdout] 420 | .map(|entry| match self.deactivate_role_assignment(entry) { [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/backend.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | extract_oid(&mgmt_token).context("unable to obtain the current user") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/expiring.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn insert(&mut self, key: K, value: V) -> Option { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | self.cleanup(); [INFO] [stdout] 36 | / self.data [INFO] [stdout] 37 | | .insert(key, Value::new(value, Instant::now() + self.duration)) [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/latest.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Version::parse(&as_str).context("unable to parse cache file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azure-pim-cli` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "75daf6f0b659a81c0cf6311e7adfaf7a77b4a8f27d04f36272f4947af99b602f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75daf6f0b659a81c0cf6311e7adfaf7a77b4a8f27d04f36272f4947af99b602f", kill_on_drop: false }` [INFO] [stdout] 75daf6f0b659a81c0cf6311e7adfaf7a77b4a8f27d04f36272f4947af99b602f