[INFO] cloning repository https://github.com/Terryxxx/copilot-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Terryxxx/copilot-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerryxxx%2Fcopilot-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerryxxx%2Fcopilot-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67f022bd60a6d86ca6c2f12740809d56c8f45b2e [INFO] fixing Terryxxx/copilot-gateway against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerryxxx%2Fcopilot-gateway" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Terryxxx/copilot-gateway [INFO] finished tweaking git repo https://github.com/Terryxxx/copilot-gateway [INFO] tweaked toml for git repo https://github.com/Terryxxx/copilot-gateway written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Terryxxx/copilot-gateway on toolchain 622891a4e29178280638a6b63a8908bde2c0c854 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Terryxxx/copilot-gateway 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" "+622891a4e29178280638a6b63a8908bde2c0c854" "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/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354 [INFO] running `Command { std: "docker" "start" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354", 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" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354", 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" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "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 quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking litemap v0.8.2 [INFO] [stderr] Checking writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking uuid v1.23.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tiktoken-rs v0.6.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking copilot-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/github/copilot_token.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 53 | tokio::time::sleep(Duration::from_secs(wait)).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] 54 | [INFO] [stdout] 55 | match fetch_copilot_token(&http, &github_token).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` 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 `#2` [INFO] [stdout] | | `#2` 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] | up until Edition 2021 `#6` 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] 56 | Ok(resp) => { [INFO] [stdout] 57 | *copilot_token.write().await = resp.token; [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 `#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] ... [INFO] [stdout] 61 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `err` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [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] = 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] = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server/messages.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | while let Some(item) = es.next().await { [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] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `item` calls a custom destructor [INFO] [stdout] | `item` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | if tx.send(Ok(ev)).await.is_err() { [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 `#2` [INFO] [stdout] | `#2` 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] 104 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let _ = tx [INFO] [stdout] | _____________________________- [INFO] [stdout] 108 | | .send(Ok(Event::default().event(ev.event).data(ev.data))) [INFO] [stdout] 109 | | .await; [INFO] [stdout] | | ----- [INFO] [stdout] | | | | [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] | |__________________________|___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] 113 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `item` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `item` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `err` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `err` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [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] = 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/github/copilot_token.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 53 | tokio::time::sleep(Duration::from_secs(wait)).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] 54 | [INFO] [stdout] 55 | match fetch_copilot_token(&http, &github_token).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` 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 `#2` [INFO] [stdout] | | `#2` 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] | up until Edition 2021 `#6` 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] 56 | Ok(resp) => { [INFO] [stdout] 57 | *copilot_token.write().await = resp.token; [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 `#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] ... [INFO] [stdout] 61 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / impl $(< [INFO] [stdout] 1318 | | $( $lifetime $(: $lifetime_bound)? ,)* [INFO] [stdout] 1319 | | $( $generics [INFO] [stdout] 1320 | | $(: $generics_bound)? [INFO] [stdout] ... | [INFO] [stdout] 1323 | | ),* [INFO] [stdout] 1324 | | >)? $crate::__private::Drop for $self_ty [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/time/entry.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pin_project! { [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `err` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/error.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | impl Drop for Error { [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] = 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] = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server/messages.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | while let Some(item) = es.next().await { [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] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `item` calls a custom destructor [INFO] [stdout] | `item` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | if tx.send(Ok(ev)).await.is_err() { [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 `#2` [INFO] [stdout] | `#2` 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] 104 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let _ = tx [INFO] [stdout] | _____________________________- [INFO] [stdout] 108 | | .send(Ok(Event::default().event(ev.event).data(ev.data))) [INFO] [stdout] 109 | | .await; [INFO] [stdout] | | ----- [INFO] [stdout] | | | | [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] | |__________________________|___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] 113 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `item` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `item` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `err` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `err` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes_mut.rs:1126:1 [INFO] [stdout] | [INFO] [stdout] 1126 | impl Drop for BytesMut { [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/translation.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] crater-edition-check: copilot-gateway v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024 [INFO] [stderr] Checking copilot-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] crater-edition-check all packages now at latest edition [INFO] [stderr] crater-edition-check: all finished [INFO] running `Command { std: "docker" "inspect" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354", kill_on_drop: false }` [INFO] [stdout] 6c12f9108038c5cd2a82216fece189124b73f9d0728f3b19712a45604249f354