[INFO] fetching crate assay-registry 3.23.0... [INFO] fixing assay-registry-3.23.0 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate assay-registry 3.23.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate assay-registry 3.23.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate assay-registry 3.23.0 [INFO] tweaked toml for crates.io crate assay-registry 3.23.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate assay-registry 3.23.0 on toolchain 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate assay-registry 3.23.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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0 [INFO] running `Command { std: "docker" "start" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pem-rfc7468 v1.0.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking der v0.8.0 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking hybrid-array v0.4.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking spki v0.8.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs8 v0.11.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking digest v0.11.2 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serial_test_derive v3.5.0 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking serial_test v3.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking serde_jcs v0.2.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking assay-registry v3.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/auth_next/tests.rs (8 fixes) [INFO] [stderr] Fixed src/client/mod.rs (2 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache_next/read.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(name_entry) = names.next_entry().await.map_err(|e| RegistryError::Cache { [INFO] [stdout] | ---------- ------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `name_entry` calls a custom destructor [INFO] [stdout] | `name_entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut versions = fs::read_dir(&name_path) [INFO] [stdout] | _______________------------___- [INFO] [stdout] | | _____________|______________| [INFO] [stdout] | | | | [INFO] [stdout] | | | `versions` calls a custom destructor [INFO] [stdout] | | | `versions` will be dropped later as of Edition 2024 [INFO] [stdout] 123 | | | .await [INFO] [stdout] | | | ----- [INFO] [stdout] | | | | | [INFO] [stdout] | | |______________|___this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 124 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 125 | | message: format!("failed to read version directory: {}", e), [INFO] [stdout] 126 | | })?; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | while let Some(version_entry) = [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `version_entry` calls a custom destructor [INFO] [stdout] | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / versions [INFO] [stdout] 130 | | .next_entry() [INFO] [stdout] 131 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |__________________|___| [INFO] [stdout] | |__________________|___this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | up until Edition 2021 `#10` 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 `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] 132 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 133 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 134 | | })? [INFO] [stdout] | | ^ [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | |___________________up until Edition 2021 `#8` 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 `#9` [INFO] [stdout] | up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 146 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `name_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [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/cache_next/read.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | while let Some(version_entry) = [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `version_entry` calls a custom destructor [INFO] [stdout] | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / / versions [INFO] [stdout] 130 | | | .next_entry() [INFO] [stdout] 131 | | | .await [INFO] [stdout] | | | ----- [INFO] [stdout] | | | | | [INFO] [stdout] | | |__________________|___`__awaitee` calls a custom destructor [INFO] [stdout] | | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | up until Edition 2021 `#5` 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] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 132 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 133 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 134 | | })? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` 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 `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache_next/read.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(name_entry) = names.next_entry().await.map_err(|e| RegistryError::Cache { [INFO] [stdout] | ---------- ^----------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | | up until Edition 2021 `#10` 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] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | ____________________|_____________`__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | `name_entry` calls a custom destructor [INFO] [stdout] | | `name_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 113 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 114 | | })? { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | up until Edition 2021 `#8` 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 `#9` [INFO] [stdout] | up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut versions = fs::read_dir(&name_path) [INFO] [stdout] | _____________------------___- [INFO] [stdout] | _____________|______________| [INFO] [stdout] | _____________|______________| [INFO] [stdout] | _____________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | `versions` calls a custom destructor [INFO] [stdout] | | `versions` will be dropped later as of Edition 2024 [INFO] [stdout] 123 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |______________|___| [INFO] [stdout] | |______________|___this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 124 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 125 | | message: format!("failed to read version directory: {}", e), [INFO] [stdout] 126 | | })?; [INFO] [stdout] | | - [INFO] [stdout] | |_______________| [INFO] [stdout] | |_______________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | | while let Some(version_entry) = [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | `version_entry` calls a custom destructor [INFO] [stdout] | | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / versions [INFO] [stdout] 130 | | .next_entry() [INFO] [stdout] 131 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |__________________|___| [INFO] [stdout] | |__________________|___this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 147 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `name_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache_next/tests.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | while let Some(entry) = entries.next_entry().await.unwrap() { [INFO] [stdout] | ----- --------------------------^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` 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] | | | `#1` will be dropped later as of Edition 2024 [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] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `entry` calls a custom destructor [INFO] [stdout] | `entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache_next/read.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(name_entry) = names.next_entry().await.map_err(|e| RegistryError::Cache { [INFO] [stdout] | ---------- ------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `name_entry` calls a custom destructor [INFO] [stdout] | `name_entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut versions = fs::read_dir(&name_path) [INFO] [stdout] | _______________------------___- [INFO] [stdout] | | _____________|______________| [INFO] [stdout] | | | | [INFO] [stdout] | | | `versions` calls a custom destructor [INFO] [stdout] | | | `versions` will be dropped later as of Edition 2024 [INFO] [stdout] 123 | | | .await [INFO] [stdout] | | | ----- [INFO] [stdout] | | | | | [INFO] [stdout] | | |______________|___this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 124 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 125 | | message: format!("failed to read version directory: {}", e), [INFO] [stdout] 126 | | })?; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | while let Some(version_entry) = [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `version_entry` calls a custom destructor [INFO] [stdout] | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / versions [INFO] [stdout] 130 | | .next_entry() [INFO] [stdout] 131 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |__________________|___| [INFO] [stdout] | |__________________|___this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | up until Edition 2021 `#10` 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 `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] 132 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 133 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 134 | | })? [INFO] [stdout] | | ^ [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | |___________________up until Edition 2021 `#8` 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 `#9` [INFO] [stdout] | up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 146 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `name_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [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/cache_next/read.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | while let Some(version_entry) = [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `version_entry` calls a custom destructor [INFO] [stdout] | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / / versions [INFO] [stdout] 130 | | | .next_entry() [INFO] [stdout] 131 | | | .await [INFO] [stdout] | | | ----- [INFO] [stdout] | | | | | [INFO] [stdout] | | |__________________|___`__awaitee` calls a custom destructor [INFO] [stdout] | | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | up until Edition 2021 `#5` 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] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 132 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 133 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 134 | | })? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` 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 `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache_next/read.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(name_entry) = names.next_entry().await.map_err(|e| RegistryError::Cache { [INFO] [stdout] | ---------- ^----------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | | up until Edition 2021 `#10` 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] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | ____________________|_____________`__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | `name_entry` calls a custom destructor [INFO] [stdout] | | `name_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 113 | | message: format!("failed to read directory entry: {}", e), [INFO] [stdout] 114 | | })? { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | up until Edition 2021 `#8` 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 `#9` [INFO] [stdout] | up until Edition 2021 `#9` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut versions = fs::read_dir(&name_path) [INFO] [stdout] | _____________------------___- [INFO] [stdout] | _____________|______________| [INFO] [stdout] | _____________|______________| [INFO] [stdout] | _____________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | `versions` calls a custom destructor [INFO] [stdout] | | `versions` will be dropped later as of Edition 2024 [INFO] [stdout] 123 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |______________|___| [INFO] [stdout] | |______________|___this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 124 | | .map_err(|e| RegistryError::Cache { [INFO] [stdout] 125 | | message: format!("failed to read version directory: {}", e), [INFO] [stdout] 126 | | })?; [INFO] [stdout] | | - [INFO] [stdout] | |_______________| [INFO] [stdout] | |_______________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | | while let Some(version_entry) = [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | `version_entry` calls a custom destructor [INFO] [stdout] | | `version_entry` will be dropped later as of Edition 2024 [INFO] [stdout] 129 | / versions [INFO] [stdout] 130 | | .next_entry() [INFO] [stdout] 131 | | .await [INFO] [stdout] | | ----- [INFO] [stdout] | |__________________|___| [INFO] [stdout] | |__________________|___this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | | if let Some(meta) = get_metadata_impl(cache, &name, &version).await { [INFO] [stdout] | | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 147 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `name_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `versions` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/task/join.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `version_entry` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/registry_client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/resolver_production_roots.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/resolver_contracts.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] crater-edition-check: assay-registry v3.23.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024 [INFO] [stderr] Checking assay-registry v3.23.0 (/opt/rustwide/workdir) [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe { std::env::remove_var("ASSAY_REGISTRY_TOKEN") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { std::env::remove_var("ASSAY_REGISTRY_OIDC") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { std::env::set_var("ASSAY_REGISTRY_TOKEN", "env-token") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { std::env::remove_var("ASSAY_REGISTRY_TOKEN") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { std::env::remove_var("ASSAY_REGISTRY_TOKEN") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { std::env::remove_var("ASSAY_REGISTRY_OIDC") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { std::env::set_var("ASSAY_REGISTRY_TOKEN", "") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/auth_next/tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe { std::env::remove_var("ASSAY_REGISTRY_TOKEN") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/client/mod.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { std::env::remove_var("ASSAY_REGISTRY_URL") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/client/mod.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { std::env::remove_var("ASSAY_REGISTRY_TOKEN") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `assay-registry` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0", kill_on_drop: false }` [INFO] [stdout] 11b258cb7956743003a77771a56e579239a8bc6dc929dd5933d459c2ed3526b0