[INFO] fetching crate aimo 0.1.12... [INFO] checking aimo-0.1.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate aimo 0.1.12 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate aimo 0.1.12 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 crates.io crate aimo 0.1.12 [INFO] finished tweaking crates.io crate aimo 0.1.12 [INFO] tweaked toml for crates.io crate aimo 0.1.12 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate aimo 0.1.12 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef40c3810a2c225c618fdd769cd3e77e6334b74e0ad2bb20c7f05df986d2ca2 [INFO] running `Command { std: "docker" "start" "-a" "1ef40c3810a2c225c618fdd769cd3e77e6334b74e0ad2bb20c7f05df986d2ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef40c3810a2c225c618fdd769cd3e77e6334b74e0ad2bb20c7f05df986d2ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef40c3810a2c225c618fdd769cd3e77e6334b74e0ad2bb20c7f05df986d2ca2", kill_on_drop: false }` [INFO] [stdout] 1ef40c3810a2c225c618fdd769cd3e77e6334b74e0ad2bb20c7f05df986d2ca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 57fd077ef0f0210e981beab602786803671985cd923131662072fea82f9b8006 [INFO] running `Command { std: "docker" "start" "-a" "57fd077ef0f0210e981beab602786803671985cd923131662072fea82f9b8006", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [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 getrandom v0.2.15 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking line-wrap v0.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking nu-ansi-term v0.50.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking futures-timer v3.0.3 [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 is-terminal v0.4.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking tree_magic_mini v3.1.4 [INFO] [stderr] Checking aws-smithy-types v1.1.9 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.4 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking tokio-graceful v0.1.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plist v1.6.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking minimo v0.3.36 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking reedline v0.32.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking wl-clipboard-rs v0.8.1 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking aimo v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/client/ollama.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> src/client/ollama.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutableCommand` and `QueueableCommand` [INFO] [stdout] --> src/utils/spinner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ExecutableCommand, QueueableCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SendData` and `SseEvent` [INFO] [stdout] --> src/lib.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use client::{Client, CompletionDetails, OllamaClient, SendData, SseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbortHandle`, `Abortable`, and `StreamExt` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::stream::{AbortHandle, Abortable, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::Stream` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures_util::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnboundedReceiver` and `self` [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::sync::mpsc::{self, UnboundedReceiver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/client/ollama.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> src/client/ollama.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutableCommand` and `QueueableCommand` [INFO] [stdout] --> src/utils/spinner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ExecutableCommand, QueueableCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SendData` and `SseEvent` [INFO] [stdout] --> src/lib.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use client::{Client, CompletionDetails, OllamaClient, SendData, SseEvent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbortHandle`, `Abortable`, and `StreamExt` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::stream::{AbortHandle, Abortable, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::Stream` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures_util::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnboundedReceiver` and `self` [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::sync::mpsc::{self, UnboundedReceiver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSG_OPTIONAL` is never used [INFO] [stdout] --> src/utils/prompt_input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MSG_OPTIONAL: &str = "Optional field - Press ↵ to skip"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ollama(host: impl AsRef, model: impl AsRef) -> Aimo { [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] 37 | let config = Self::get_default_config(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let client = OllamaClient::new(host, model, config.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Aimo::new(Some(Box::new(client))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | let cfg = Config::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Arc::new(RwLock::new(cfg)) [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:53:18 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, serde::Deserialize)] [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] 52 | #[serde(tag = "type")] [INFO] [stdout] 53 | pub enum ClientModel { [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] ::: 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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:53:18 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, serde::Deserialize)] [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] 52 | #[serde(tag = "type")] [INFO] [stdout] 53 | pub enum ClientModel { [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] ::: 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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:85:26 [INFO] [stdout] | [INFO] [stdout] 75 | let model = global_config.read().model.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | 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] 85 | Some(Box::new(Self { [INFO] [stdout] | __________________________^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 86 | | global_config: global_config.clone(), [INFO] [stdout] 87 | | config, [INFO] [stdout] 88 | | model, [INFO] [stdout] 89 | | })) [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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:329:75 [INFO] [stdout] | [INFO] [stdout] 327 | 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] 328 | let data = global_config.read().prepare_send_data(&input, true)?; [INFO] [stdout] 329 | self.send_message_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] | [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:391:8 [INFO] [stdout] | [INFO] [stdout] 385 | 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] 386 | | "type": client, [INFO] [stdout] 387 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | 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] 391 | 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/ollama.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(url: impl AsRef , model: impl AsRef, global_config: GlobalConfig) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let model = model.as_ref(); [INFO] [stdout] 184 | let config = OllamaConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | OllamaClient{global_config: global_config, config: config, model: Model::new("ollama", model)} [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:434:5 [INFO] [stdout] | [INFO] [stdout] 431 | 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] 434 | 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/qianwen.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 137 | let input = if is_vl { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | 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] 163 | / json!({ [INFO] [stdout] 164 | | "messages": messages, [INFO] [stdout] 165 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | } else { [INFO] [stdout] 167 | / json!({ [INFO] [stdout] 168 | | "messages": messages, [INFO] [stdout] 169 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | 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] 187 | 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] 188 | | "model": &model.name, [INFO] [stdout] 189 | | "input": input, [INFO] [stdout] 190 | | "parameters": parameters [INFO] [stdout] 191 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | 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:253:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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] 253 | 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:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | / OpenOptions::new() [INFO] [stdout] 910 | | .create(true) [INFO] [stdout] 911 | | .append(true) [INFO] [stdout] 912 | | .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/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/utils/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|v| cl100k_base_singleton().lock().decode_bytes(vec![v])) [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:151:13 [INFO] [stdout] | [INFO] [stdout] 150 | .filter_map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | 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: 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/tiktoken.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn decode_async(bpe: Arc>, tokens: Vec) -> Result { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | task::spawn_blocking(move || bpe.lock().decode(tokens)).await? [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/tiktoken.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn encode_async(bpe: Arc>, text: &str) -> Result> { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let text = text.to_string(); [INFO] [stdout] 56 | let r = task::spawn_blocking(move || bpe.lock().encode_with_special_tokens(&text)).await?; [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/tiktoken.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 407 | let regex = Regex::new(pattern)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | [INFO] [stdout] 409 | let special_regex = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | Ok(CoreBPE { [INFO] [stdout] | ____________^ [INFO] [stdout] 432 | | encoder, [INFO] [stdout] 433 | | special_tokens_encoder, [INFO] [stdout] 434 | | decoder, [INFO] [stdout] ... | [INFO] [stdout] 438 | | sorted_token_bytes, [INFO] [stdout] 439 | | }) [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: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aimo` (lib) due to 19 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `MSG_OPTIONAL` is never used [INFO] [stdout] --> src/utils/prompt_input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MSG_OPTIONAL: &str = "Optional field - Press ↵ to skip"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ollama(host: impl AsRef, model: impl AsRef) -> Aimo { [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] 37 | let config = Self::get_default_config(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let client = OllamaClient::new(host, model, config.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Aimo::new(Some(Box::new(client))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | let cfg = Config::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Arc::new(RwLock::new(cfg)) [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:53:18 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, serde::Deserialize)] [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] 52 | #[serde(tag = "type")] [INFO] [stdout] 53 | pub enum ClientModel { [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] ::: 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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:53:18 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, serde::Deserialize)] [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] 52 | #[serde(tag = "type")] [INFO] [stdout] 53 | pub enum ClientModel { [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] ::: 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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:85:26 [INFO] [stdout] | [INFO] [stdout] 75 | let model = global_config.read().model.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | 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] 85 | Some(Box::new(Self { [INFO] [stdout] | __________________________^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 86 | | global_config: global_config.clone(), [INFO] [stdout] 87 | | config, [INFO] [stdout] 88 | | model, [INFO] [stdout] 89 | | })) [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] 45 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 46 | | ); [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:329:75 [INFO] [stdout] | [INFO] [stdout] 327 | 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] 328 | let data = global_config.read().prepare_send_data(&input, true)?; [INFO] [stdout] 329 | self.send_message_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] | [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:391:8 [INFO] [stdout] | [INFO] [stdout] 385 | 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] 386 | | "type": client, [INFO] [stdout] 387 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | 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] 391 | 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/ollama.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(url: impl AsRef , model: impl AsRef, global_config: GlobalConfig) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let model = model.as_ref(); [INFO] [stdout] 184 | let config = OllamaConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | OllamaClient{global_config: global_config, config: config, model: Model::new("ollama", model)} [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:434:5 [INFO] [stdout] | [INFO] [stdout] 431 | 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] 434 | 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/qianwen.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 137 | let input = if is_vl { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | 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] 163 | / json!({ [INFO] [stdout] 164 | | "messages": messages, [INFO] [stdout] 165 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | } else { [INFO] [stdout] 167 | / json!({ [INFO] [stdout] 168 | | "messages": messages, [INFO] [stdout] 169 | | }) [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | 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] 187 | 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] 188 | | "model": &model.name, [INFO] [stdout] 189 | | "input": input, [INFO] [stdout] 190 | | "parameters": parameters [INFO] [stdout] 191 | | }); [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | 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:253:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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] 253 | 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:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | / OpenOptions::new() [INFO] [stdout] 910 | | .create(true) [INFO] [stdout] 911 | | .append(true) [INFO] [stdout] 912 | | .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/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/utils/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|v| cl100k_base_singleton().lock().decode_bytes(vec![v])) [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:151:13 [INFO] [stdout] | [INFO] [stdout] 150 | .filter_map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | 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: 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/tiktoken.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn decode_async(bpe: Arc>, tokens: Vec) -> Result { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | task::spawn_blocking(move || bpe.lock().decode(tokens)).await? [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/tiktoken.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn encode_async(bpe: Arc>, text: &str) -> Result> { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let text = text.to_string(); [INFO] [stdout] 56 | let r = task::spawn_blocking(move || bpe.lock().encode_with_special_tokens(&text)).await?; [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/tiktoken.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 407 | let regex = Regex::new(pattern)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | [INFO] [stdout] 409 | let special_regex = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | Ok(CoreBPE { [INFO] [stdout] | ____________^ [INFO] [stdout] 432 | | encoder, [INFO] [stdout] 433 | | special_tokens_encoder, [INFO] [stdout] 434 | | decoder, [INFO] [stdout] ... | [INFO] [stdout] 438 | | sorted_token_bytes, [INFO] [stdout] 439 | | }) [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: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aimo` (lib test) due to 19 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57fd077ef0f0210e981beab602786803671985cd923131662072fea82f9b8006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fd077ef0f0210e981beab602786803671985cd923131662072fea82f9b8006", kill_on_drop: false }` [INFO] [stdout] 57fd077ef0f0210e981beab602786803671985cd923131662072fea82f9b8006