[INFO] fetching crate aichat 0.22.0... [INFO] checking aichat-0.22.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate aichat 0.22.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate aichat 0.22.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aichat 0.22.0 [INFO] finished tweaking crates.io crate aichat 0.22.0 [INFO] tweaked toml for crates.io crate aichat 0.22.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate aichat 0.22.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa4285ea88460fdb7f22e07bcbdde4b74d5a8dbe813ca7d8bb5127403a323039 [INFO] running `Command { std: "docker" "start" "-a" "fa4285ea88460fdb7f22e07bcbdde4b74d5a8dbe813ca7d8bb5127403a323039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa4285ea88460fdb7f22e07bcbdde4b74d5a8dbe813ca7d8bb5127403a323039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4285ea88460fdb7f22e07bcbdde4b74d5a8dbe813ca7d8bb5127403a323039", kill_on_drop: false }` [INFO] [stdout] fa4285ea88460fdb7f22e07bcbdde4b74d5a8dbe813ca7d8bb5127403a323039 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4fa5ff08b44901d5cf137d82d038aeeffd8c6910d1863a06cc97219a77421d [INFO] running `Command { std: "docker" "start" "-a" "5a4fa5ff08b44901d5cf137d82d038aeeffd8c6910d1863a06cc97219a77421d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.20.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling quick-xml v0.36.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking unicase v2.7.0 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking aws-smithy-types v1.2.6 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.5 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking ansi_colours v1.2.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [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 html5ever v0.27.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking anndists v0.1.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking tokio-graceful v0.1.6 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [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.6 [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 xml5ever v0.18.1 [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 markup5ever_rcdom v0.3.0 [INFO] [stderr] Checking scraper v0.20.0 [INFO] [stderr] Checking html_to_markdown v0.1.0 [INFO] [stderr] Checking tree_magic_mini v3.1.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking reedline v0.34.0 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking wl-clipboard-rs v0.8.1 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking aichat v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `spinner::Spinner` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let spinner = create_spinner("Searching").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 317 | let ret = tokio::select! { [INFO] [stdout] | ___________________- [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] 318 | | ret = self.hybird_search(text, top_k, min_score_vector_search, min_score_keyword_search, rerank_model) => { [INFO] [stdout] 319 | | ret [INFO] [stdout] 320 | | } [INFO] [stdout] ... | [INFO] [stdout] 323 | | }, [INFO] [stdout] 324 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/spinner.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | async fn run_spinner(message: String, mut rx: mpsc::UnboundedReceiver) -> Result<()> { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut spinner = SpinnerInner::new(&message); [INFO] [stdout] 105 | let mut interval = interval(Duration::from_millis(50)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | loop { [INFO] [stdout] 107 | / tokio::select! { [INFO] [stdout] 108 | | _ = interval.tick() => { [INFO] [stdout] 109 | | let _ = spinner.step(); [INFO] [stdout] 110 | | } [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `spinner::Spinner` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let spinner = create_spinner("Searching").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 317 | let ret = tokio::select! { [INFO] [stdout] | ___________________- [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] 318 | | ret = self.hybird_search(text, top_k, min_score_vector_search, min_score_keyword_search, rerank_model) => { [INFO] [stdout] 319 | | ret [INFO] [stdout] 320 | | } [INFO] [stdout] ... | [INFO] [stdout] 323 | | }, [INFO] [stdout] 324 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/spinner.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | async fn run_spinner(message: String, mut rx: mpsc::UnboundedReceiver) -> Result<()> { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut spinner = SpinnerInner::new(&message); [INFO] [stdout] 105 | let mut interval = interval(Duration::from_millis(50)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | loop { [INFO] [stdout] 107 | / tokio::select! { [INFO] [stdout] 108 | | _ = interval.tick() => { [INFO] [stdout] 109 | | let _ = spinner.step(); [INFO] [stdout] 110 | | } [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `rag::Rag` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut rag = Self::create(config, name, save_path, data)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / tokio::select! { [INFO] [stdout] 91 | | ret = rag.sync_documents(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 92 | | spinner.stop(); [INFO] [stdout] 93 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 98 | | }, [INFO] [stdout] 99 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `rag::Rag` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut rag = Self::create(config, name, save_path, data)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / tokio::select! { [INFO] [stdout] 91 | | ret = rag.sync_documents(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 92 | | spinner.stop(); [INFO] [stdout] 93 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 98 | | }, [INFO] [stdout] 99 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `spinner::Spinner` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let spinner = create_spinner("Starting").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | let paths = self.data.document_paths.clone(); [INFO] [stdout] 139 | / tokio::select! { [INFO] [stdout] 140 | | ret = self.sync_documents(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 141 | | spinner.stop(); [INFO] [stdout] 142 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 147 | | }, [INFO] [stdout] 148 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `spinner::Spinner` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let spinner = create_spinner("Starting").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | let paths = self.data.document_paths.clone(); [INFO] [stdout] 139 | / tokio::select! { [INFO] [stdout] 140 | | ret = self.sync_documents(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 141 | | spinner.stop(); [INFO] [stdout] 142 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 147 | | }, [INFO] [stdout] 148 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `client::stream::SseHandler` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | let mut handler = SseHandler::new(tx, abort.clone()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 431 | [INFO] [stdout] 432 | let (send_ret, render_ret) = tokio::join!( [INFO] [stdout] | __________________________________- [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] 433 | | client.chat_completions_streaming(input, &mut handler), [INFO] [stdout] 434 | | render_stream(rx, config, abort.clone()), [INFO] [stdout] 435 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `client::stream::SseHandler` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/common.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | let mut handler = SseHandler::new(tx, abort.clone()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 431 | [INFO] [stdout] 432 | let (send_ret, render_ret) = tokio::join!( [INFO] [stdout] | __________________________________- [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] 433 | | client.chat_completions_streaming(input, &mut handler), [INFO] [stdout] 434 | | render_stream(rx, config, abort.clone()), [INFO] [stdout] 435 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/client/macros.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | if unsafe { ALL_CLIENT_MODELS.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / register_client!( [INFO] [stdout] 18 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 19 | | ( [INFO] [stdout] 20 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 37 | | (ernie, "ernie", ErnieConfig, ErnieClient), [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/client/macros.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { ALL_CLIENT_MODELS.as_ref().unwrap().iter().collect() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / register_client!( [INFO] [stdout] 18 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 19 | | ( [INFO] [stdout] 20 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 37 | | (ernie, "ernie", ErnieConfig, ErnieClient), [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aichat` (bin "aichat") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/client/macros.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | if unsafe { ALL_CLIENT_MODELS.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / register_client!( [INFO] [stdout] 18 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 19 | | ( [INFO] [stdout] 20 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 37 | | (ernie, "ernie", ErnieConfig, ErnieClient), [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/client/macros.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { ALL_CLIENT_MODELS.as_ref().unwrap().iter().collect() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / register_client!( [INFO] [stdout] 18 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 19 | | ( [INFO] [stdout] 20 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 37 | | (ernie, "ernie", ErnieConfig, ErnieClient), [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `register_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aichat` (bin "aichat" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a4fa5ff08b44901d5cf137d82d038aeeffd8c6910d1863a06cc97219a77421d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4fa5ff08b44901d5cf137d82d038aeeffd8c6910d1863a06cc97219a77421d", kill_on_drop: false }` [INFO] [stdout] 5a4fa5ff08b44901d5cf137d82d038aeeffd8c6910d1863a06cc97219a77421d