[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 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdeadlyi%2FAi-chan" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Adeadlyi/Ai-chan on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d2afac8a6f00e31e55f5c8d37f2931765e9ef7fc65d6ded773e74e3960c50da
[INFO] running `Command { std: "docker" "start" "-a" "8d2afac8a6f00e31e55f5c8d37f2931765e9ef7fc65d6ded773e74e3960c50da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d2afac8a6f00e31e55f5c8d37f2931765e9ef7fc65d6ded773e74e3960c50da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d2afac8a6f00e31e55f5c8d37f2931765e9ef7fc65d6ded773e74e3960c50da", kill_on_drop: false }`
[INFO] [stdout] 8d2afac8a6f00e31e55f5c8d37f2931765e9ef7fc65d6ded773e74e3960c50da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 711dc2fa9da279aa5e5dfec4958a0590344f360afbad388e83496304c0ab9bb7
[INFO] running `Command { std: "docker" "start" "-a" "711dc2fa9da279aa5e5dfec4958a0590344f360afbad388e83496304c0ab9bb7", 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]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling autocfg v1.3.0
[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 pin-project-lite v0.2.14
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.11
[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 rustix v0.38.34
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking libloading v0.8.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling wayland-sys v0.31.2
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling quick-xml v0.31.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling wayland-client v0.31.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]    Compiling rustls v0.23.10
[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 rand_chacha v0.3.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling wayland-backend v0.3.4
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling wayland-scanner v0.31.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]     Checking rustls-native-certs v0.7.0
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling vte_generate_state_changes v0.1.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]     Checking webpki-roots v0.26.3
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking outref v0.5.1
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking vsimd v0.8.0
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking vte v0.11.1
[INFO] [stderr]    Compiling markup5ever v0.12.1
[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 base64-simd v0.8.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking bytes-utils v0.1.4
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking quick-xml v0.32.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking clap_lex v0.7.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking aws-smithy-types v1.2.0
[INFO] [stderr]     Checking rgb v0.8.40
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking clap_builder v4.5.8
[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 newline-converter v0.3.0
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking path-dedot v3.1.1
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking unicode-linebreak v0.1.5
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking nu-ansi-term v0.50.0
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking path-absolutize v3.1.1
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking aws-smithy-eventstream v0.60.4
[INFO] [stderr]     Checking ansi_colours v1.2.2
[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 shell-words v1.1.0
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling enum-as-inner v0.6.0
[INFO] [stderr]    Compiling html5ever v0.27.0
[INFO] [stderr]     Checking rustls-webpki v0.102.4
[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]     Checking tokio v1.38.0
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking fancy-regex v0.13.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking onig v6.4.0
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking anndists v0.1.2
[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 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 tokio-stream v0.1.15
[INFO] [stderr]     Checking sysctl v0.5.5
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking inquire v0.7.5
[INFO] [stderr]     Checking mmap-rs v0.6.1
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking petgraph v0.6.5
[INFO] [stderr]     Checking plist v1.7.0
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking hnsw_rs v0.3.0
[INFO] [stderr]     Checking jsonptr v0.4.7
[INFO] [stderr]     Checking syntect v5.2.0
[INFO] [stderr]     Checking json-patch v2.0.0
[INFO] [stderr]     Checking html2text v0.12.5
[INFO] [stderr]     Checking tree_magic_mini v3.1.5
[INFO] [stderr]     Checking hyper v1.4.0
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking 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] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn render_prompt_left(&self) -> Cow<str> {
[INFO] [stdout]    |                           ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn render_prompt_left(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn render_prompt_right(&self) -> Cow<str> {
[INFO] [stdout]    |                            ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn render_prompt_right(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<str> {
[INFO] [stdout]    |                                ^^^^^ the lifetime is elided here                 ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<'_, str> {
[INFO] [stdout]    |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn render_prompt_multiline_indicator(&self) -> Cow<str> {
[INFO] [stdout]    |                                          ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 38 |         history_search: PromptHistorySearch,
[INFO] [stdout] 39 |     ) -> Cow<str> {
[INFO] [stdout]    |          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ) -> Cow<'_, str> {
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::body::Frame<bytes::Bytes>, Infallible>
[INFO] [stdout]    --> src/serve.rs:319:54
[INFO] [stdout]     |
[INFO] [stdout] 319 |                           ResEvent::Text(text) => Some(Ok(create_frame(
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 320 | |                             completion_id,
[INFO] [stdout] 321 | |                             model,
[INFO] [stdout] 322 | |                             *created,
[INFO] [stdout] 323 | |                             &text,
[INFO] [stdout] 324 | |                             false,
[INFO] [stdout] 325 | |                         ))),
[INFO] [stdout]     | |__________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::body::Frame<bytes::Bytes>, Infallible>
[INFO] [stdout]    --> src/serve.rs:327:34
[INFO] [stdout]     |
[INFO] [stdout] 327 | ...                   Some(Ok(create_frame(completion_id, model, *created, "", true)))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aichat` (bin "aichat") due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: this type will no longer be must used: Result<bytes::Bytes, Infallible>
[INFO] [stdout]    --> src/client/stream.rs:259:30
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 .map(|chunk| Ok::<_, std::convert::Infallible>(Bytes::from(chunk)))
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |         assert_json_stream!(data, data);
[INFO] [stdout]     |         ------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout]     = note: this error originates in the macro `assert_json_stream` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bytes::Bytes, Infallible>
[INFO] [stdout]    --> src/client/stream.rs:259:30
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 .map(|chunk| Ok::<_, std::convert::Infallible>(Bytes::from(chunk)))
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |         assert_json_stream!(input, output);
[INFO] [stdout]     |         ---------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_json_stream` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn render_prompt_left(&self) -> Cow<str> {
[INFO] [stdout]    |                           ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn render_prompt_left(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn render_prompt_right(&self) -> Cow<str> {
[INFO] [stdout]    |                            ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn render_prompt_right(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<str> {
[INFO] [stdout]    |                                ^^^^^ the lifetime is elided here                 ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<'_, str> {
[INFO] [stdout]    |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn render_prompt_multiline_indicator(&self) -> Cow<str> {
[INFO] [stdout]    |                                          ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/repl/prompt.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 38 |         history_search: PromptHistorySearch,
[INFO] [stdout] 39 |     ) -> Cow<str> {
[INFO] [stdout]    |          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ) -> Cow<'_, str> {
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::body::Frame<bytes::Bytes>, Infallible>
[INFO] [stdout]    --> src/serve.rs:319:54
[INFO] [stdout]     |
[INFO] [stdout] 319 |                           ResEvent::Text(text) => Some(Ok(create_frame(
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 320 | |                             completion_id,
[INFO] [stdout] 321 | |                             model,
[INFO] [stdout] 322 | |                             *created,
[INFO] [stdout] 323 | |                             &text,
[INFO] [stdout] 324 | |                             false,
[INFO] [stdout] 325 | |                         ))),
[INFO] [stdout]     | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::body::Frame<bytes::Bytes>, Infallible>
[INFO] [stdout]    --> src/serve.rs:327:34
[INFO] [stdout]     |
[INFO] [stdout] 327 | ...                   Some(Ok(create_frame(completion_id, model, *created, "", true)))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aichat` (bin "aichat" test) due to 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "711dc2fa9da279aa5e5dfec4958a0590344f360afbad388e83496304c0ab9bb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "711dc2fa9da279aa5e5dfec4958a0590344f360afbad388e83496304c0ab9bb7", kill_on_drop: false }`
[INFO] [stdout] 711dc2fa9da279aa5e5dfec4958a0590344f360afbad388e83496304c0ab9bb7
