[INFO] fetching crate azure_identity 0.21.0... [INFO] checking azure_identity-0.21.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate azure_identity 0.21.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate azure_identity 0.21.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate azure_identity 0.21.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate azure_identity 0.21.0 [INFO] tweaked toml for crates.io crate azure_identity 0.21.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate azure_identity 0.21.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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f6e4626e16e77be21ad75c55518720e2ffcb8e8afa46887f343ec2e3259bc01 [INFO] running `Command { std: "docker" "start" "-a" "1f6e4626e16e77be21ad75c55518720e2ffcb8e8afa46887f343ec2e3259bc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f6e4626e16e77be21ad75c55518720e2ffcb8e8afa46887f343ec2e3259bc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6e4626e16e77be21ad75c55518720e2ffcb8e8afa46887f343ec2e3259bc01", kill_on_drop: false }` [INFO] [stdout] 1f6e4626e16e77be21ad75c55518720e2ffcb8e8afa46887f343ec2e3259bc01 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49b50cb6d47a2984dc11713d81f3f7233cf3a3fa9a257e0460ae4d2409ac8d2 [INFO] running `Command { std: "docker" "start" "-a" "d49b50cb6d47a2984dc11713d81f3f7233cf3a3fa9a257e0460ae4d2409ac8d2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling azure_core v0.21.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking sdd v3.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tz-rs v0.6.14 [INFO] [stderr] Checking scc v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking azure_identity v0.21.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/token_credentials/default_credentials.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/authorization_code_flow.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 88 | let oauth_http_client = Oauth2HttpClient::new(http_client.clone()); [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `oauth_http_client` calls a custom destructor [INFO] [stdout] | `oauth_http_client` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `oauth_http_client` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/device_code_flow/mod.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 126 | let http_client = self.http_client.clone().unwrap(); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `http_client` calls a custom destructor [INFO] [stdout] | `http_client` will be dropped later as of Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | match post_form(http_client.clone(), url, encoded).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `http_client` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/device_code_flow/mod.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 176 | let mut req = Request::new(url, Method::Post); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `req` calls a custom destructor [INFO] [stdout] | `req` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | http_client.execute_request(&req).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 183 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `req` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `req` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/token_credentials/azure_cli_credentials.rs (3 fixes) [INFO] [stderr] Migrating examples/environment_credentials.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/default_credentials.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/client_credentials_flow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/code_flow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/device_code_flow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/azure_cli_credentials.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/code_flow_blob.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/federated_credential.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/client_credentials_flow_blob.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.42s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking azure_identity v0.21.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "d49b50cb6d47a2984dc11713d81f3f7233cf3a3fa9a257e0460ae4d2409ac8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49b50cb6d47a2984dc11713d81f3f7233cf3a3fa9a257e0460ae4d2409ac8d2", kill_on_drop: false }` [INFO] [stdout] d49b50cb6d47a2984dc11713d81f3f7233cf3a3fa9a257e0460ae4d2409ac8d2