[INFO] cloning repository https://github.com/Anivie/gpt-cat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anivie/gpt-cat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnivie%2Fgpt-cat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnivie%2Fgpt-cat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0334ab2792a717d36aa29e122f89f97b1a1b39c [INFO] checking Anivie/gpt-cat/c0334ab2792a717d36aa29e122f89f97b1a1b39c against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnivie%2Fgpt-cat" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anivie/gpt-cat on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Anivie/gpt-cat [INFO] finished tweaking git repo https://github.com/Anivie/gpt-cat [INFO] tweaked toml for git repo https://github.com/Anivie/gpt-cat written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Anivie/gpt-cat 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42e694b24f76576654e7d14cba3028e9fd80cbe9a93aa645c47499da4ad6cca0 [INFO] running `Command { std: "docker" "start" "-a" "42e694b24f76576654e7d14cba3028e9fd80cbe9a93aa645c47499da4ad6cca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42e694b24f76576654e7d14cba3028e9fd80cbe9a93aa645c47499da4ad6cca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e694b24f76576654e7d14cba3028e9fd80cbe9a93aa645c47499da4ad6cca0", kill_on_drop: false }` [INFO] [stdout] 42e694b24f76576654e7d14cba3028e9fd80cbe9a93aa645c47499da4ad6cca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bfab0b2285aea61e3c885008d29138ee50004f4981077257cc9f19e5f17625 [INFO] running `Command { std: "docker" "start" "-a" "a8bfab0b2285aea61e3c885008d29138ee50004f4981077257cc9f19e5f17625", 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 unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling aws-lc-rs v1.9.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.21.2 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking fancy-regex v0.12.0 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling macro-utils v0.1.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling cat-macro v0.1.0 (/tmp/fixit/cat-macro) [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand_core v0.9.0-alpha.2 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.0-alpha.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [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 smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking tiktoken-rs v0.5.9 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Checking fastdate v0.3.33 [INFO] [stderr] Checking dark-std v0.2.16 [INFO] [stderr] Checking fast_log v1.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking ntex-rt v0.4.17 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking ntex-util v2.3.0 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking ntex-io v2.5.0 [INFO] [stderr] Checking ntex-tokio v0.5.2 [INFO] [stderr] Checking ntex-net v2.3.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 [INFO] [stderr] Checking ntex-server v2.4.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking ntex-tls v2.1.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking ntex v2.5.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking ntex-cors v2.0.0 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking gpt-cat v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gpt_cat` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr_2021, $handler:expr, $sender:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/http/client/specific_responder/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr_2021, $sender:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/pre_handler/command/handlers/template.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if let Err(sqlx::Error::RowNotFound) = private_command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/pre_handler/command/handlers/template.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | }else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match private_command { Err(sqlx::Error::RowNotFound) => { [INFO] [stdout] 108 | let public_command: Result = sqlx::query_as!( [INFO] [stdout] ... [INFO] [stdout] 125 | apply_template(context, public_command.prompt.as_str())?; [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | let private_command = private_command.map_err(|e| { [INFO] [stdout] ... [INFO] [stdout] 132 | apply_template(context, private_command.prompt.as_str())?; [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/after_handler/token_meter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(price) = context [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ______________________________| [INFO] [stdout] 47 | || .data [INFO] [stdout] 48 | || .model_price [INFO] [stdout] 49 | || .read() [INFO] [stdout] | ||___________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 50 | | .get(&context.sender.request.model) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/after_handler/token_meter.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match context [INFO] [stdout] 47 | .data [INFO] [stdout] ... [INFO] [stdout] 50 | .get(&context.sender.request.model) [INFO] [stdout] 51 ~ { Some(price) => { [INFO] [stdout] 52 | info!( [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | error!("Model not found: {}", context.sender.request.model); [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/web/enum_response.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | while let Some(message) = receiver.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/web/enum_response.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/openai_responder.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | if let Err(e) = sender.send_json(String::from_utf8_lossy(response).as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/openai_responder.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match sender.send_json(String::from_utf8_lossy(response).as_ref()).await { Err(e) => { [INFO] [stdout] 46 | return Err(ResponderError::Response(format!( [INFO] [stdout] ... [INFO] [stdout] 49 | ))); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | while let Some(item) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/openai_responder.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | process_stream!(stream, OpenAIResponderParser::default(), sender); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/openai_responder.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | process_stream!(stream, OpenAIResponderParser::default(), sender); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | while let Some(item) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/qianwen_responder.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | process_stream!(stream, QianWenResponderParser::default(), sender); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/qianwen_responder.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | process_stream!(stream, QianWenResponderParser::default(), sender); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/util/counter/concurrency_pool.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | ... if let Err(_) = receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/util/counter/concurrency_pool.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match receiver.try_recv() { Err(_) => { [INFO] [stdout] 79 | break; [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commandline/handlers/command_listener.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | ... if let Err(err) = x.execute(global_data, &args).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commandline/handlers/command_listener.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match x.execute(global_data, &args).await { Err(err) => { [INFO] [stdout] 64 | error!("Error when execute command: {}", err); [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commandline/hot_reload.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(path) = event.paths.first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commandline/hot_reload.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match event.paths.first() { Some(path) => { [INFO] [stdout] 36 | if let Some(path) = path.file_name() [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gpt_cat` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/http/client/specific_responder/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/http/client/specific_responder/macros.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | ($request:expr_2021, $handler:expr_2021, $sender:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr_2021, $handler:expr, $sender:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr_2021, $sender:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($request:expr, $handler:expr, $sender:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/pre_handler/command/handlers/template.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if let Err(sqlx::Error::RowNotFound) = private_command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/pre_handler/command/handlers/template.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | }else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match private_command { Err(sqlx::Error::RowNotFound) => { [INFO] [stdout] 108 | let public_command: Result = sqlx::query_as!( [INFO] [stdout] ... [INFO] [stdout] 125 | apply_template(context, public_command.prompt.as_str())?; [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | let private_command = private_command.map_err(|e| { [INFO] [stdout] ... [INFO] [stdout] 132 | apply_template(context, private_command.prompt.as_str())?; [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/after_handler/token_meter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(price) = context [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ______________________________| [INFO] [stdout] 47 | || .data [INFO] [stdout] 48 | || .model_price [INFO] [stdout] 49 | || .read() [INFO] [stdout] | ||___________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 50 | | .get(&context.sender.request.model) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/after_handler/token_meter.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match context [INFO] [stdout] 47 | .data [INFO] [stdout] ... [INFO] [stdout] 50 | .get(&context.sender.request.model) [INFO] [stdout] 51 ~ { Some(price) => { [INFO] [stdout] 52 | info!( [INFO] [stdout] ... [INFO] [stdout] 79 | ); [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | error!("Model not found: {}", context.sender.request.model); [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/server/web/enum_response.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | while let Some(message) = receiver.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/server/web/enum_response.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/openai_responder.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | if let Err(e) = sender.send_json(String::from_utf8_lossy(response).as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/openai_responder.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match sender.send_json(String::from_utf8_lossy(response).as_ref()).await { Err(e) => { [INFO] [stdout] 46 | return Err(ResponderError::Response(format!( [INFO] [stdout] ... [INFO] [stdout] 49 | ))); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | while let Some(item) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/openai_responder.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | process_stream!(stream, OpenAIResponderParser::default(), sender); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/openai_responder.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | process_stream!(stream, OpenAIResponderParser::default(), sender); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | while let Some(item) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/qianwen_responder.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | process_stream!(stream, QianWenResponderParser::default(), sender); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/specific_responder/macros.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/http/client/specific_responder/qianwen_responder.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | process_stream!(stream, QianWenResponderParser::default(), sender); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/client/util/counter/concurrency_pool.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | ... if let Err(_) = receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/http/client/util/counter/concurrency_pool.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match receiver.try_recv() { Err(_) => { [INFO] [stdout] 79 | break; [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commandline/handlers/command_listener.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | ... if let Err(err) = x.execute(global_data, &args).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commandline/handlers/command_listener.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match x.execute(global_data, &args).await { Err(err) => { [INFO] [stdout] 64 | error!("Error when execute command: {}", err); [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commandline/hot_reload.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(path) = event.paths.first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commandline/hot_reload.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match event.paths.first() { Some(path) => { [INFO] [stdout] 36 | if let Some(path) = path.file_name() [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.35s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gpt-cat v0.1.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "a8bfab0b2285aea61e3c885008d29138ee50004f4981077257cc9f19e5f17625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bfab0b2285aea61e3c885008d29138ee50004f4981077257cc9f19e5f17625", kill_on_drop: false }` [INFO] [stdout] a8bfab0b2285aea61e3c885008d29138ee50004f4981077257cc9f19e5f17625