[INFO] cloning repository https://github.com/Adeadlyi/Ai-chan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adeadlyi/Ai-chan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 341f2d994295d1b88bb849d74893d62df610150c [INFO] checking Adeadlyi/Ai-chan/341f2d994295d1b88bb849d74893d62df610150c against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adeadlyi/Ai-chan on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Adeadlyi/Ai-chan [INFO] finished tweaking git repo https://github.com/Adeadlyi/Ai-chan [INFO] tweaked toml for git repo https://github.com/Adeadlyi/Ai-chan written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Adeadlyi/Ai-chan already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d47654067d6db19b91bc58abb5117caf5f5dbdf0c64c70b413975649da82108d [INFO] running `Command { std: "docker" "start" "-a" "d47654067d6db19b91bc58abb5117caf5f5dbdf0c64c70b413975649da82108d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d47654067d6db19b91bc58abb5117caf5f5dbdf0c64c70b413975649da82108d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47654067d6db19b91bc58abb5117caf5f5dbdf0c64c70b413975649da82108d", kill_on_drop: false }` [INFO] [stdout] d47654067d6db19b91bc58abb5117caf5f5dbdf0c64c70b413975649da82108d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7c8054234fd42ee8a2c4f1be7c3379361cde16d4d9119d6cc016d23c4d57566 [INFO] running `Command { std: "docker" "start" "-a" "d7c8054234fd42ee8a2c4f1be7c3379361cde16d4d9119d6cc016d23c4d57566", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rgb v0.8.40 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking nu-ansi-term v0.50.0 [INFO] [stderr] Checking aws-smithy-types v1.2.0 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.4 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking anndists v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking tokio-graceful v0.1.6 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sysctl v0.5.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking mmap-rs v0.6.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hnsw_rs v0.3.0 [INFO] [stderr] Checking jsonptr v0.4.7 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking json-patch v2.0.0 [INFO] [stderr] Checking html2text v0.12.5 [INFO] [stderr] Checking tree_magic_mini v3.1.5 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking reedline v0.32.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wl-clipboard-rs v0.8.1 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking aichat v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:155:84 [INFO] [stdout] | [INFO] [stdout] 153 | let mut input = create_input(&config, text, file).await?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | input.use_embeddings(abort_signal.clone()).await?; [INFO] [stdout] 155 | start_directive(&config, input, cli.no_stream, cli.code, abort_signal).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 63 | let config = global_config.read().clients.iter().find_map(|client_config| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Some(Box::new(Self { [INFO] [stdout] | __________________________^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 73 | | global_config: global_config.clone(), [INFO] [stdout] 74 | | config, [INFO] [stdout] 75 | | model: model.clone(), [INFO] [stdout] 76 | | })) [INFO] [stdout] | |______________________^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | let model = model.unwrap_or_else(|| config.read().model.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:348:85 [INFO] [stdout] | [INFO] [stdout] 348 | async fn chat_completions(&self, input: Input) -> Result { [INFO] [stdout] | ______________________________________------------___________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | | if self.global_config().read().dry_run { [INFO] [stdout] 350 | | let content = input.echo_messages(); [INFO] [stdout] 351 | | return Ok(ChatCompletionsOutput::new(&content)); [INFO] [stdout] ... | [INFO] [stdout] 357 | | .with_context(|| "Failed to call chat-completions api") [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:380:79 [INFO] [stdout] | [INFO] [stdout] 378 | let client = self.build_client()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | let data = input.prepare_completion_data(self.model(), true)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | self.chat_completions_streaming_inner(&client, handler, data).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 551 | let mut config = json!({ [INFO] [stdout] | _____________------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | | "type": client, [INFO] [stdout] 553 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | let clients = json!(vec![config]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | Ok((model, clients)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/stream.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(sender: UnboundedSender, abort: AbortSignal) -> Self { [INFO] [stdout] | --------------------------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | tool_calls: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / impl_client_trait!( [INFO] [stdout] 289 | | OpenAIClient, [INFO] [stdout] 290 | | openai_chat_completions, [INFO] [stdout] 291 | | openai_chat_completions_streaming, [INFO] [stdout] 292 | | openai_embeddings [INFO] [stdout] 293 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / impl_client_trait!( [INFO] [stdout] 289 | | OpenAIClient, [INFO] [stdout] 290 | | openai_chat_completions, [INFO] [stdout] 291 | | openai_chat_completions_streaming, [INFO] [stdout] 292 | | openai_embeddings [INFO] [stdout] 293 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai_compatible.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl_client_trait!( [INFO] [stdout] 130 | | OpenAICompatibleClient, [INFO] [stdout] 131 | | openai_chat_completions, [INFO] [stdout] 132 | | openai_chat_completions_streaming, [INFO] [stdout] 133 | | openai_embeddings, [INFO] [stdout] 134 | | rag_dedicated_rerank [INFO] [stdout] 135 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai_compatible.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl_client_trait!( [INFO] [stdout] 130 | | OpenAICompatibleClient, [INFO] [stdout] 131 | | openai_chat_completions, [INFO] [stdout] 132 | | openai_chat_completions_streaming, [INFO] [stdout] 133 | | openai_embeddings, [INFO] [stdout] 134 | | rag_dedicated_rerank [INFO] [stdout] 135 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/rag_dedicated.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / impl_client_trait!( [INFO] [stdout] 100 | | RagDedicatedClient, [INFO] [stdout] 101 | | no_chat_completions, [INFO] [stdout] 102 | | no_chat_completions_streaming, [INFO] [stdout] 103 | | openai_embeddings, [INFO] [stdout] 104 | | rag_dedicated_rerank [INFO] [stdout] 105 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/rag_dedicated.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / impl_client_trait!( [INFO] [stdout] 100 | | RagDedicatedClient, [INFO] [stdout] 101 | | no_chat_completions, [INFO] [stdout] 102 | | no_chat_completions_streaming, [INFO] [stdout] 103 | | openai_embeddings, [INFO] [stdout] 104 | | rag_dedicated_rerank [INFO] [stdout] 105 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/gemini.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl_client_trait!( [INFO] [stdout] 83 | | GeminiClient, [INFO] [stdout] 84 | | gemini_chat_completions, [INFO] [stdout] 85 | | gemini_chat_completions_streaming, [INFO] [stdout] 86 | | gemini_embeddings [INFO] [stdout] 87 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/gemini.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl_client_trait!( [INFO] [stdout] 83 | | GeminiClient, [INFO] [stdout] 84 | | gemini_chat_completions, [INFO] [stdout] 85 | | gemini_chat_completions_streaming, [INFO] [stdout] 86 | | gemini_embeddings [INFO] [stdout] 87 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:200:72 [INFO] [stdout] | [INFO] [stdout] 199 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 201 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 202 | | $chat_completions(builder).await [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/claude.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_client_trait!( [INFO] [stdout] 51 | | ClaudeClient, [INFO] [stdout] 52 | | claude_chat_completions, [INFO] [stdout] 53 | | claude_chat_completions_streaming [INFO] [stdout] 54 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 209 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 211 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 212 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/claude.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_client_trait!( [INFO] [stdout] 51 | | ClaudeClient, [INFO] [stdout] 52 | | claude_chat_completions, [INFO] [stdout] 53 | | claude_chat_completions_streaming [INFO] [stdout] 54 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cohere.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl_client_trait!( [INFO] [stdout] 91 | | CohereClient, [INFO] [stdout] 92 | | chat_completions, [INFO] [stdout] 93 | | chat_completions_streaming, [INFO] [stdout] 94 | | embeddings, [INFO] [stdout] 95 | | rag_dedicated_rerank [INFO] [stdout] 96 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cohere.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl_client_trait!( [INFO] [stdout] 91 | | CohereClient, [INFO] [stdout] 92 | | chat_completions, [INFO] [stdout] 93 | | chat_completions_streaming, [INFO] [stdout] 94 | | embeddings, [INFO] [stdout] 95 | | rag_dedicated_rerank [INFO] [stdout] 96 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/ollama.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl_client_trait!( [INFO] [stdout] 85 | | OllamaClient, [INFO] [stdout] 86 | | chat_completions, [INFO] [stdout] 87 | | chat_completions_streaming, [INFO] [stdout] 88 | | embeddings [INFO] [stdout] 89 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/ollama.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl_client_trait!( [INFO] [stdout] 85 | | OllamaClient, [INFO] [stdout] 86 | | chat_completions, [INFO] [stdout] 87 | | chat_completions_streaming, [INFO] [stdout] 88 | | embeddings [INFO] [stdout] 89 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/azure_openai.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / impl_client_trait!( [INFO] [stdout] 84 | | AzureOpenAIClient, [INFO] [stdout] 85 | | openai_chat_completions, [INFO] [stdout] 86 | | openai_chat_completions_streaming, [INFO] [stdout] 87 | | openai_embeddings [INFO] [stdout] 88 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/azure_openai.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / impl_client_trait!( [INFO] [stdout] 84 | | AzureOpenAIClient, [INFO] [stdout] 85 | | openai_chat_completions, [INFO] [stdout] 86 | | openai_chat_completions_streaming, [INFO] [stdout] 87 | | openai_embeddings [INFO] [stdout] 88 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 96 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 98 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 99 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 100 | | gemini_chat_completions(builder).await [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 107 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 109 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 110 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 111 | | gemini_chat_completions_streaming(builder, handler).await [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai_claude.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 69 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 71 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 72 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 73 | | claude_chat_completions(builder).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai_claude.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 80 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 82 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 83 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 84 | | claude_chat_completions_streaming(builder, handler).await [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 42 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 44 | | let model_category = ModelCategory::from_str(self.model.name())?; [INFO] [stdout] 45 | | let builder = self.chat_completions_builder(client, data, &model_category)?; [INFO] [stdout] 46 | | chat_completions(builder, &model_category).await [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 53 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 55 | | let model_category = ModelCategory::from_str(self.model.name())?; [INFO] [stdout] 56 | | let builder = self.chat_completions_builder(client, data, &model_category)?; [INFO] [stdout] 57 | | chat_completions_streaming(builder, handler, &model_category).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(ChatCompletionsOutput::new(text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 444 | let data = serde_json::from_slice::(data).ok()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | serde_json::from_slice(&data).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cloudflare.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl_client_trait!( [INFO] [stdout] 79 | | CloudflareClient, [INFO] [stdout] 80 | | chat_completions, [INFO] [stdout] 81 | | chat_completions_streaming, [INFO] [stdout] 82 | | embeddings [INFO] [stdout] 83 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cloudflare.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl_client_trait!( [INFO] [stdout] 79 | | CloudflareClient, [INFO] [stdout] 80 | | chat_completions, [INFO] [stdout] 81 | | chat_completions_streaming, [INFO] [stdout] 82 | | embeddings [INFO] [stdout] 83 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/cloudflare.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(ChatCompletionsOutput::new(text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/replicate.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 55 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 57 | | let api_key = self.get_api_key()?; [INFO] [stdout] 58 | | let builder = self.chat_completions_builder(client, data, &api_key)?; [INFO] [stdout] 59 | | chat_completions(client, builder, &api_key).await [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/replicate.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 66 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | let api_key = self.get_api_key()?; [INFO] [stdout] 69 | | let builder = self.chat_completions_builder(client, data, &api_key)?; [INFO] [stdout] 70 | | chat_completions_streaming(client, builder, handler).await [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/ernie.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 135 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 137 | | self.prepare_access_token().await?; [INFO] [stdout] 138 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 139 | | chat_completions(builder).await [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/ernie.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 148 | | self.prepare_access_token().await?; [INFO] [stdout] 149 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 150 | | chat_completions_streaming(builder, handler).await [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 108 | mut data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 110 | | let api_key = self.get_api_key()?; [INFO] [stdout] 111 | | patch_messages(self.model.name(), &api_key, &mut data.messages).await?; [INFO] [stdout] 112 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 113 | | chat_completions(builder, &self.model).await [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 120 | mut data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | let api_key = self.get_api_key()?; [INFO] [stdout] 123 | | patch_messages(self.model.name(), &api_key, &mut data.messages).await?; [INFO] [stdout] 124 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 125 | | chat_completions_streaming(builder, handler, &self.model).await [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn build_chat_completions_body(data: ChatCompletionsData, model: &Model) -> Result<(Value, bool)> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let ChatCompletionsData { [INFO] [stdout] 198 | messages, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | functions, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let input = if model.supports_vision() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let messages: Vec = messages [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | / json!({ [INFO] [stdout] 236 | | "messages": messages, [INFO] [stdout] 237 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | } else { [INFO] [stdout] 239 | let messages: Vec = messages [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | / json!({ [INFO] [stdout] 288 | | "messages": messages, [INFO] [stdout] 289 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let mut parameters = json!({}); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | let body = json!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | | "model": &model.name(), [INFO] [stdout] 318 | | "input": input, [INFO] [stdout] 319 | | "parameters": parameters [INFO] [stdout] 320 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | [INFO] [stdout] 322 | Ok((body, has_upload)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1030:25 [INFO] [stdout] | [INFO] [stdout] 1030 | .or_else(|| config.read().agent_prelude.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1458 | let mut input = input.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1468 | let mut file = self.open_message_file()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1491 | file.write_all(output.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | / OpenOptions::new() [INFO] [stdout] 1499 | | .create(true) [INFO] [stdout] 1500 | | .append(true) [INFO] [stdout] 1501 | | .open(&path) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/input.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 212 | let messages = self.build_messages()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let functions = self.config.read().select_functions(model, self.role()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Ok(ChatCompletionsData { [INFO] [stdout] | ____________^ [INFO] [stdout] 218 | | messages, [INFO] [stdout] 219 | | temperature, [INFO] [stdout] 220 | | top_p, [INFO] [stdout] 221 | | functions, [INFO] [stdout] 222 | | stream, [INFO] [stdout] 223 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/session.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 399 | let messages = self.build_messages(input); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | serde_yaml::to_string(&messages).unwrap_or_else(|_| "Unable to echo message".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 57 | let declarations: Vec = if declarations_path.exists() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(Self { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:617:23 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn new>(page_content: S) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | metadata: IndexMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/bm25.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut indexed_scores: Vec<(T, f64)> = scores [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | / indexed_scores [INFO] [stdout] 78 | | .into_iter() [INFO] [stdout] 79 | | .take(top_k) [INFO] [stdout] 80 | | .map(|(id, _)| id) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/loader.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 95 | let mut metadata: RagMetadata = Default::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok((contents, metadata)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/render/markdown.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 35 | let syntax_set: SyntaxSet = bincode::deserialize_from(SYNTAXES) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let md_syntax = syntax_set.find_syntax_by_extension("md").unwrap().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | syntax_set, [INFO] [stdout] 62 | | code_color, [INFO] [stdout] 63 | | md_syntax, [INFO] [stdout] ... | [INFO] [stdout] 67 | | options, [INFO] [stdout] 68 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repl/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 159 | let editor = Self::create_editor(config)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | let prompt = ReplPrompt::new(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let abort_signal = create_abort_signal(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | config: config.clone(), [INFO] [stdout] 166 | | editor, [INFO] [stdout] 167 | | prompt, [INFO] [stdout] 168 | | abort_signal, [INFO] [stdout] 169 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 104 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | tokio::spawn(async move { [INFO] [stdout] 106 | let shutdown = Shutdown::new(async { rx.await.unwrap_or_default() }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 117 | let server = self.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | shutdown.spawn_task(async move { [INFO] [stdout] 119 | let hyper_service = service_fn(move |request: hyper::Request| { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | server.clone().handle(request) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 481 | let (delta, finish_reason) = if done { [INFO] [stdout] | ----- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 484 | let delta = if content.is_empty() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 485 | json!({ "role": "assistant", "content": content }) [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | } else { [INFO] [stdout] 487 | json!({ "content": content }) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let value = json!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | | "id": id, [INFO] [stdout] 493 | | "object": "chat.completion.chunk", [INFO] [stdout] 494 | | "created": created, [INFO] [stdout] ... | [INFO] [stdout] 502 | | ], [INFO] [stdout] 503 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | | Frame::data(Bytes::from(output)) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 542 | fn ret_err(err: T) -> AppResponse { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let data = json!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | | "error": { [INFO] [stdout] 545 | | "message": err.to_string(), [INFO] [stdout] 546 | | "type": "invalid_request_error", [INFO] [stdout] 547 | | }, [INFO] [stdout] 548 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | / Response::builder() [INFO] [stdout] 550 | .header("Content-Type", "application/json") [INFO] [stdout] 551 | | .body(Full::new(Bytes::from(data.to_string())).boxed()) [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 81 | .filter_map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | m.ok() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aichat` (bin "aichat") due to 58 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:155:84 [INFO] [stdout] | [INFO] [stdout] 153 | let mut input = create_input(&config, text, file).await?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | input.use_embeddings(abort_signal.clone()).await?; [INFO] [stdout] 155 | start_directive(&config, input, cli.no_stream, cli.code, abort_signal).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 63 | let config = global_config.read().clients.iter().find_map(|client_config| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Some(Box::new(Self { [INFO] [stdout] | __________________________^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 73 | | global_config: global_config.clone(), [INFO] [stdout] 74 | | config, [INFO] [stdout] 75 | | model: model.clone(), [INFO] [stdout] 76 | | })) [INFO] [stdout] | |______________________^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | let model = model.unwrap_or_else(|| config.read().model.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:348:85 [INFO] [stdout] | [INFO] [stdout] 348 | async fn chat_completions(&self, input: Input) -> Result { [INFO] [stdout] | ______________________________________------------___________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | | if self.global_config().read().dry_run { [INFO] [stdout] 350 | | let content = input.echo_messages(); [INFO] [stdout] 351 | | return Ok(ChatCompletionsOutput::new(&content)); [INFO] [stdout] ... | [INFO] [stdout] 357 | | .with_context(|| "Failed to call chat-completions api") [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:380:79 [INFO] [stdout] | [INFO] [stdout] 378 | let client = self.build_client()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | let data = input.prepare_completion_data(self.model(), true)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | self.chat_completions_streaming_inner(&client, handler, data).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 551 | let mut config = json!({ [INFO] [stdout] | _____________------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | | "type": client, [INFO] [stdout] 553 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | let clients = json!(vec![config]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | Ok((model, clients)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/stream.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(sender: UnboundedSender, abort: AbortSignal) -> Self { [INFO] [stdout] | --------------------------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | tool_calls: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/stream.rs:259:64 [INFO] [stdout] | [INFO] [stdout] 259 | .map(|chunk| Ok::<_, std::convert::Infallible>(Bytes::from(chunk))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | assert_json_stream!(data, data); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `assert_json_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/stream.rs:259:64 [INFO] [stdout] | [INFO] [stdout] 259 | .map(|chunk| Ok::<_, std::convert::Infallible>(Bytes::from(chunk))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | assert_json_stream!(input, output); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `assert_json_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / impl_client_trait!( [INFO] [stdout] 289 | | OpenAIClient, [INFO] [stdout] 290 | | openai_chat_completions, [INFO] [stdout] 291 | | openai_chat_completions_streaming, [INFO] [stdout] 292 | | openai_embeddings [INFO] [stdout] 293 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / impl_client_trait!( [INFO] [stdout] 289 | | OpenAIClient, [INFO] [stdout] 290 | | openai_chat_completions, [INFO] [stdout] 291 | | openai_chat_completions_streaming, [INFO] [stdout] 292 | | openai_embeddings [INFO] [stdout] 293 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai_compatible.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl_client_trait!( [INFO] [stdout] 130 | | OpenAICompatibleClient, [INFO] [stdout] 131 | | openai_chat_completions, [INFO] [stdout] 132 | | openai_chat_completions_streaming, [INFO] [stdout] 133 | | openai_embeddings, [INFO] [stdout] 134 | | rag_dedicated_rerank [INFO] [stdout] 135 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/openai_compatible.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl_client_trait!( [INFO] [stdout] 130 | | OpenAICompatibleClient, [INFO] [stdout] 131 | | openai_chat_completions, [INFO] [stdout] 132 | | openai_chat_completions_streaming, [INFO] [stdout] 133 | | openai_embeddings, [INFO] [stdout] 134 | | rag_dedicated_rerank [INFO] [stdout] 135 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/rag_dedicated.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / impl_client_trait!( [INFO] [stdout] 100 | | RagDedicatedClient, [INFO] [stdout] 101 | | no_chat_completions, [INFO] [stdout] 102 | | no_chat_completions_streaming, [INFO] [stdout] 103 | | openai_embeddings, [INFO] [stdout] 104 | | rag_dedicated_rerank [INFO] [stdout] 105 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/rag_dedicated.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / impl_client_trait!( [INFO] [stdout] 100 | | RagDedicatedClient, [INFO] [stdout] 101 | | no_chat_completions, [INFO] [stdout] 102 | | no_chat_completions_streaming, [INFO] [stdout] 103 | | openai_embeddings, [INFO] [stdout] 104 | | rag_dedicated_rerank [INFO] [stdout] 105 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/gemini.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl_client_trait!( [INFO] [stdout] 83 | | GeminiClient, [INFO] [stdout] 84 | | gemini_chat_completions, [INFO] [stdout] 85 | | gemini_chat_completions_streaming, [INFO] [stdout] 86 | | gemini_embeddings [INFO] [stdout] 87 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/gemini.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl_client_trait!( [INFO] [stdout] 83 | | GeminiClient, [INFO] [stdout] 84 | | gemini_chat_completions, [INFO] [stdout] 85 | | gemini_chat_completions_streaming, [INFO] [stdout] 86 | | gemini_embeddings [INFO] [stdout] 87 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:200:72 [INFO] [stdout] | [INFO] [stdout] 199 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 201 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 202 | | $chat_completions(builder).await [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/claude.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_client_trait!( [INFO] [stdout] 51 | | ClaudeClient, [INFO] [stdout] 52 | | claude_chat_completions, [INFO] [stdout] 53 | | claude_chat_completions_streaming [INFO] [stdout] 54 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 209 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 211 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 212 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/claude.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_client_trait!( [INFO] [stdout] 51 | | ClaudeClient, [INFO] [stdout] 52 | | claude_chat_completions, [INFO] [stdout] 53 | | claude_chat_completions_streaming [INFO] [stdout] 54 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:259:72 [INFO] [stdout] | [INFO] [stdout] 258 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 260 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 261 | | $chat_completions(builder).await [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cohere.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl_client_trait!( [INFO] [stdout] 91 | | CohereClient, [INFO] [stdout] 92 | | chat_completions, [INFO] [stdout] 93 | | chat_completions_streaming, [INFO] [stdout] 94 | | embeddings, [INFO] [stdout] 95 | | rag_dedicated_rerank [INFO] [stdout] 96 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 268 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 270 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 271 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cohere.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl_client_trait!( [INFO] [stdout] 91 | | CohereClient, [INFO] [stdout] 92 | | chat_completions, [INFO] [stdout] 93 | | chat_completions_streaming, [INFO] [stdout] 94 | | embeddings, [INFO] [stdout] 95 | | rag_dedicated_rerank [INFO] [stdout] 96 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/ollama.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl_client_trait!( [INFO] [stdout] 85 | | OllamaClient, [INFO] [stdout] 86 | | chat_completions, [INFO] [stdout] 87 | | chat_completions_streaming, [INFO] [stdout] 88 | | embeddings [INFO] [stdout] 89 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/ollama.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl_client_trait!( [INFO] [stdout] 85 | | OllamaClient, [INFO] [stdout] 86 | | chat_completions, [INFO] [stdout] 87 | | chat_completions_streaming, [INFO] [stdout] 88 | | embeddings [INFO] [stdout] 89 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/azure_openai.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / impl_client_trait!( [INFO] [stdout] 84 | | AzureOpenAIClient, [INFO] [stdout] 85 | | openai_chat_completions, [INFO] [stdout] 86 | | openai_chat_completions_streaming, [INFO] [stdout] 87 | | openai_embeddings [INFO] [stdout] 88 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/azure_openai.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / impl_client_trait!( [INFO] [stdout] 84 | | AzureOpenAIClient, [INFO] [stdout] 85 | | openai_chat_completions, [INFO] [stdout] 86 | | openai_chat_completions_streaming, [INFO] [stdout] 87 | | openai_embeddings [INFO] [stdout] 88 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 96 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 98 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 99 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 100 | | gemini_chat_completions(builder).await [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 107 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 109 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 110 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 111 | | gemini_chat_completions_streaming(builder, handler).await [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai_claude.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 69 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 71 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 72 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 73 | | claude_chat_completions(builder).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/vertexai_claude.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 80 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 82 | | prepare_gcloud_access_token(client, self.name(), &self.config.adc_file).await?; [INFO] [stdout] 83 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 84 | | claude_chat_completions_streaming(builder, handler).await [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 42 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 44 | | let model_category = ModelCategory::from_str(self.model.name())?; [INFO] [stdout] 45 | | let builder = self.chat_completions_builder(client, data, &model_category)?; [INFO] [stdout] 46 | | chat_completions(builder, &model_category).await [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 53 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 55 | | let model_category = ModelCategory::from_str(self.model.name())?; [INFO] [stdout] 56 | | let builder = self.chat_completions_builder(client, data, &model_category)?; [INFO] [stdout] 57 | | chat_completions_streaming(builder, handler, &model_category).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(ChatCompletionsOutput::new(text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/bedrock.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 444 | let data = serde_json::from_slice::(data).ok()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | serde_json::from_slice(&data).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 224 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | ) -> anyhow::Result<$crate::client::ChatCompletionsOutput> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 226 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 227 | | $chat_completions(builder).await [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cloudflare.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl_client_trait!( [INFO] [stdout] 79 | | CloudflareClient, [INFO] [stdout] 80 | | chat_completions, [INFO] [stdout] 81 | | chat_completions_streaming, [INFO] [stdout] 82 | | embeddings [INFO] [stdout] 83 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 234 | data: $crate::client::ChatCompletionsData, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ) -> Result<()> { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 236 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 237 | | $chat_completions_streaming(builder, handler).await [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/client/cloudflare.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl_client_trait!( [INFO] [stdout] 79 | | CloudflareClient, [INFO] [stdout] 80 | | chat_completions, [INFO] [stdout] 81 | | chat_completions_streaming, [INFO] [stdout] 82 | | embeddings [INFO] [stdout] 83 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_client_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/cloudflare.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(ChatCompletionsOutput::new(text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/replicate.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 55 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 57 | | let api_key = self.get_api_key()?; [INFO] [stdout] 58 | | let builder = self.chat_completions_builder(client, data, &api_key)?; [INFO] [stdout] 59 | | chat_completions(client, builder, &api_key).await [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/replicate.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 66 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | let api_key = self.get_api_key()?; [INFO] [stdout] 69 | | let builder = self.chat_completions_builder(client, data, &api_key)?; [INFO] [stdout] 70 | | chat_completions_streaming(client, builder, handler).await [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/ernie.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 135 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 137 | | self.prepare_access_token().await?; [INFO] [stdout] 138 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 139 | | chat_completions(builder).await [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/ernie.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 148 | | self.prepare_access_token().await?; [INFO] [stdout] 149 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 150 | | chat_completions_streaming(builder, handler).await [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 108 | mut data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 110 | | let api_key = self.get_api_key()?; [INFO] [stdout] 111 | | patch_messages(self.model.name(), &api_key, &mut data.messages).await?; [INFO] [stdout] 112 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 113 | | chat_completions(builder, &self.model).await [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 120 | mut data: ChatCompletionsData, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | let api_key = self.get_api_key()?; [INFO] [stdout] 123 | | patch_messages(self.model.name(), &api_key, &mut data.messages).await?; [INFO] [stdout] 124 | | let builder = self.chat_completions_builder(client, data)?; [INFO] [stdout] 125 | | chat_completions_streaming(builder, handler, &self.model).await [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/qianwen.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn build_chat_completions_body(data: ChatCompletionsData, model: &Model) -> Result<(Value, bool)> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let ChatCompletionsData { [INFO] [stdout] 198 | messages, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | functions, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let input = if model.supports_vision() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let messages: Vec = messages [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | / json!({ [INFO] [stdout] 236 | | "messages": messages, [INFO] [stdout] 237 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | } else { [INFO] [stdout] 239 | let messages: Vec = messages [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | / json!({ [INFO] [stdout] 288 | | "messages": messages, [INFO] [stdout] 289 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let mut parameters = json!({}); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | let body = json!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | | "model": &model.name(), [INFO] [stdout] 318 | | "input": input, [INFO] [stdout] 319 | | "parameters": parameters [INFO] [stdout] 320 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | [INFO] [stdout] 322 | Ok((body, has_upload)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1030:25 [INFO] [stdout] | [INFO] [stdout] 1030 | .or_else(|| config.read().agent_prelude.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1458 | let mut input = input.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1468 | let mut file = self.open_message_file()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1491 | file.write_all(output.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | / OpenOptions::new() [INFO] [stdout] 1499 | | .create(true) [INFO] [stdout] 1500 | | .append(true) [INFO] [stdout] 1501 | | .open(&path) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/input.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 212 | let messages = self.build_messages()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let functions = self.config.read().select_functions(model, self.role()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Ok(ChatCompletionsData { [INFO] [stdout] | ____________^ [INFO] [stdout] 218 | | messages, [INFO] [stdout] 219 | | temperature, [INFO] [stdout] 220 | | top_p, [INFO] [stdout] 221 | | functions, [INFO] [stdout] 222 | | stream, [INFO] [stdout] 223 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/session.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 399 | let messages = self.build_messages(input); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | serde_yaml::to_string(&messages).unwrap_or_else(|_| "Unable to echo message".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 57 | let declarations: Vec = if declarations_path.exists() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(Self { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:617:23 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn new>(page_content: S) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | metadata: IndexMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/bm25.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut indexed_scores: Vec<(T, f64)> = scores [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | / indexed_scores [INFO] [stdout] 78 | | .into_iter() [INFO] [stdout] 79 | | .take(top_k) [INFO] [stdout] 80 | | .map(|(id, _)| id) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/loader.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 95 | let mut metadata: RagMetadata = Default::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok((contents, metadata)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/render/markdown.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 35 | let syntax_set: SyntaxSet = bincode::deserialize_from(SYNTAXES) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let md_syntax = syntax_set.find_syntax_by_extension("md").unwrap().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | syntax_set, [INFO] [stdout] 62 | | code_color, [INFO] [stdout] 63 | | md_syntax, [INFO] [stdout] ... | [INFO] [stdout] 67 | | options, [INFO] [stdout] 68 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repl/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 159 | let editor = Self::create_editor(config)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | let prompt = ReplPrompt::new(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let abort_signal = create_abort_signal(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | config: config.clone(), [INFO] [stdout] 166 | | editor, [INFO] [stdout] 167 | | prompt, [INFO] [stdout] 168 | | abort_signal, [INFO] [stdout] 169 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 104 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | tokio::spawn(async move { [INFO] [stdout] 106 | let shutdown = Shutdown::new(async { rx.await.unwrap_or_default() }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 117 | let server = self.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | shutdown.spawn_task(async move { [INFO] [stdout] 119 | let hyper_service = service_fn(move |request: hyper::Request| { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | server.clone().handle(request) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 481 | let (delta, finish_reason) = if done { [INFO] [stdout] | ----- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 484 | let delta = if content.is_empty() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 485 | json!({ "role": "assistant", "content": content }) [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | } else { [INFO] [stdout] 487 | json!({ "content": content }) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let value = json!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | | "id": id, [INFO] [stdout] 493 | | "object": "chat.completion.chunk", [INFO] [stdout] 494 | | "created": created, [INFO] [stdout] ... | [INFO] [stdout] 502 | | ], [INFO] [stdout] 503 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | | Frame::data(Bytes::from(output)) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/serve.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 542 | fn ret_err(err: T) -> AppResponse { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let data = json!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | | "error": { [INFO] [stdout] 545 | | "message": err.to_string(), [INFO] [stdout] 546 | | "type": "invalid_request_error", [INFO] [stdout] 547 | | }, [INFO] [stdout] 548 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | / Response::builder() [INFO] [stdout] 550 | .header("Content-Type", "application/json") [INFO] [stdout] 551 | | .body(Full::new(Bytes::from(data.to_string())).boxed()) [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 81 | .filter_map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | m.ok() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aichat` (bin "aichat" test) due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "d7c8054234fd42ee8a2c4f1be7c3379361cde16d4d9119d6cc016d23c4d57566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c8054234fd42ee8a2c4f1be7c3379361cde16d4d9119d6cc016d23c4d57566", kill_on_drop: false }` [INFO] [stdout] d7c8054234fd42ee8a2c4f1be7c3379361cde16d4d9119d6cc016d23c4d57566