[INFO] cloning repository https://github.com/Adeadlyi/Ai-chan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adeadlyi/Ai-chan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 341f2d994295d1b88bb849d74893d62df610150c [INFO] checking Adeadlyi/Ai-chan/341f2d994295d1b88bb849d74893d62df610150c against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adeadlyi/Ai-chan 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 git repo https://github.com/Adeadlyi/Ai-chan [INFO] finished tweaking git repo https://github.com/Adeadlyi/Ai-chan [INFO] tweaked toml for git repo https://github.com/Adeadlyi/Ai-chan written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Adeadlyi/Ai-chan already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8fac2caef4a2a745041accdc10631a6f522d26b679757f376e58750c10d0b112 [INFO] running `Command { std: "docker" "start" "-a" "8fac2caef4a2a745041accdc10631a6f522d26b679757f376e58750c10d0b112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fac2caef4a2a745041accdc10631a6f522d26b679757f376e58750c10d0b112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fac2caef4a2a745041accdc10631a6f522d26b679757f376e58750c10d0b112", kill_on_drop: false }` [INFO] [stdout] 8fac2caef4a2a745041accdc10631a6f522d26b679757f376e58750c10d0b112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8af15d6474337e623f8584b9cc25d0ba3d38734d6cf9092c7dbe7086ac08e0b9 [INFO] running `Command { std: "docker" "start" "-a" "8af15d6474337e623f8584b9cc25d0ba3d38734d6cf9092c7dbe7086ac08e0b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking httpdate v1.0.3 [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] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rgb v0.8.40 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking aws-smithy-types v1.2.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nu-ansi-term v0.50.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking anndists v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking tokio-graceful v0.1.6 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking bitflags v2.6.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.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hnsw_rs v0.3.0 [INFO] [stderr] Checking jsonptr v0.4.7 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking html2text v0.12.5 [INFO] [stderr] Checking json-patch v2.0.0 [INFO] [stderr] Checking tree_magic_mini v3.1.5 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking reedline v0.32.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.5 [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.0 [INFO] [stderr] Checking aichat v0.19.0 (/opt/rustwide/workdir) [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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut rag = Self::create(config, name, save_path, data)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / tokio::select! { [INFO] [stdout] 65 | | ret = rag.load_paths(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 66 | | spinner.stop(); [INFO] [stdout] 67 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }; [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] | [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] | |_________- 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut rag = Self::create(config, name, save_path, data)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / tokio::select! { [INFO] [stdout] 65 | | ret = rag.load_paths(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 66 | | spinner.stop(); [INFO] [stdout] 67 | | ret?; [INFO] [stdout] ... | [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }; [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] | [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] | |_________- 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:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let spinner = create_spinner("Starting").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | let paths = self.data.document_paths.clone(); [INFO] [stdout] 116 | / tokio::select! { [INFO] [stdout] 117 | | ret = self.load_paths(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 118 | | spinner.stop(); [INFO] [stdout] 119 | | ret?; [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] | |_________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:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let spinner = create_spinner("Starting").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | let paths = self.data.document_paths.clone(); [INFO] [stdout] 116 | / tokio::select! { [INFO] [stdout] 117 | | ret = self.load_paths(loaders, &paths, Some(spinner.clone())) => { [INFO] [stdout] 118 | | spinner.stop(); [INFO] [stdout] 119 | | ret?; [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] | |_________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:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | let mut handler = SseHandler::new(tx, abort.clone()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 602 | [INFO] [stdout] 603 | let (send_ret, rend_ret) = tokio::join!( [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] | |________________________________| [INFO] [stdout] | |________________________________| [INFO] [stdout] 604 | | client.chat_completions_streaming(input, &mut handler), [INFO] [stdout] 605 | | render_stream(rx, config, abort.clone()), [INFO] [stdout] 606 | | ); [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:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | let mut handler = SseHandler::new(tx, abort.clone()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 602 | [INFO] [stdout] 603 | let (send_ret, rend_ret) = tokio::join!( [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] | |________________________________| [INFO] [stdout] | |________________________________| [INFO] [stdout] 604 | | client.chat_completions_streaming(input, &mut handler), [INFO] [stdout] 605 | | render_stream(rx, config, abort.clone()), [INFO] [stdout] 606 | | ); [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 `spinner::Spinner` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rag/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let spinner = create_spinner("Searching").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 248 | let ret = tokio::select! { [INFO] [stdout] | ___________________- [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] 249 | | ret = self.hybird_search(text, top_k, min_score_vector_search, min_score_keyword_search, rerank) => { [INFO] [stdout] 250 | | ret [INFO] [stdout] 251 | | } [INFO] [stdout] ... | [INFO] [stdout] 254 | | }, [INFO] [stdout] 255 | | }; [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] | [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:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let spinner = create_spinner("Searching").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 248 | let ret = tokio::select! { [INFO] [stdout] | ___________________- [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] | |___________________| [INFO] [stdout] 249 | | ret = self.hybird_search(text, top_k, min_score_vector_search, min_score_keyword_search, rerank) => { [INFO] [stdout] 250 | | ret [INFO] [stdout] 251 | | } [INFO] [stdout] ... | [INFO] [stdout] 254 | | }, [INFO] [stdout] 255 | | }; [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] | [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/common.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | if unsafe { ALL_CLIENT_MODELS.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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/common.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { ALL_CLIENT_MODELS.as_ref().unwrap().iter().collect() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/client/common.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | if unsafe { ALL_CLIENT_MODELS.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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/common.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { ALL_CLIENT_MODELS.as_ref().unwrap().iter().collect() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / register_client!( [INFO] [stdout] 17 | | (openai, "openai", OpenAIConfig, OpenAIClient), [INFO] [stdout] 18 | | ( [INFO] [stdout] 19 | | openai_compatible, [INFO] [stdout] ... | [INFO] [stdout] 51 | | (qianwen, "qianwen", QianwenConfig, QianwenClient), [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] [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] 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" "8af15d6474337e623f8584b9cc25d0ba3d38734d6cf9092c7dbe7086ac08e0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af15d6474337e623f8584b9cc25d0ba3d38734d6cf9092c7dbe7086ac08e0b9", kill_on_drop: false }` [INFO] [stdout] 8af15d6474337e623f8584b9cc25d0ba3d38734d6cf9092c7dbe7086ac08e0b9