[INFO] cloning repository https://github.com/juzeon/yuanbao-chat2api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juzeon/yuanbao-chat2api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuzeon%2Fyuanbao-chat2api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuzeon%2Fyuanbao-chat2api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d0d795a0cd3a0e8bb10093fcb50131356bd2b05
[INFO] testing juzeon/yuanbao-chat2api against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuzeon%2Fyuanbao-chat2api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/juzeon/yuanbao-chat2api
[INFO] finished tweaking git repo https://github.com/juzeon/yuanbao-chat2api
[INFO] tweaked toml for git repo https://github.com/juzeon/yuanbao-chat2api written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/juzeon/yuanbao-chat2api on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/juzeon/yuanbao-chat2api 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded reqwest-eventsource v0.6.0
[INFO] [stderr]   Downloaded tempfile v3.19.1
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.4
[INFO] [stderr]   Downloaded axum-core v0.5.2
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.17
[INFO] [stderr]   Downloaded openssl-sys v0.9.107
[INFO] [stderr]   Downloaded axum v0.8.3
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 164951b0293997c790134e4eb75151d74d69eee5db3127c87024d81d2b156abb
[INFO] running `Command { std: "docker" "start" "-a" "164951b0293997c790134e4eb75151d74d69eee5db3127c87024d81d2b156abb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "164951b0293997c790134e4eb75151d74d69eee5db3127c87024d81d2b156abb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "164951b0293997c790134e4eb75151d74d69eee5db3127c87024d81d2b156abb", kill_on_drop: false }`
[INFO] [stdout] 164951b0293997c790134e4eb75151d74d69eee5db3127c87024d81d2b156abb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9fa2d6e0d7187a561a3e3b3107088005eaa2d0dda3c4eed128dd57d7ebaf6752
[INFO] running `Command { std: "docker" "start" "-a" "9fa2d6e0d7187a561a3e3b3107088005eaa2d0dda3c4eed128dd57d7ebaf6752", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.4
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.9
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.8.3
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling yuanbao-chat2api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ChatModel`
[INFO] [stdout]  --> src/service.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ChatMessages, ChatModel, Yuanbao,
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_channel::Receiver`
[INFO] [stdout]  --> src/service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_channel::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_handler`
[INFO] [stdout]   --> src/service.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use axum::{Json, debug_handler};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pin_project::__private::PinnedDrop`
[INFO] [stdout]   --> src/service.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use pin_project::__private::PinnedDrop;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `pin_project` and `pinned_drop`
[INFO] [stdout]   --> src/service.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | use pin_project::{pin_project, pinned_drop};
[INFO] [stdout]    |                   ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/service.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::LazyLock`
[INFO] [stdout]   --> src/service.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::sync::LazyLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Poll`
[INFO] [stdout]   --> src/service.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::task::Poll;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stdout]   --> src/service.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tokio_util::sync::CancellationToken;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/yuanbao.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stdout]   --> src/yuanbao.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio_util::sync::CancellationToken;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/yuanbao.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CLEAR_URL` is never used
[INFO] [stdout]   --> src/yuanbao.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | static CLEAR_URL: &str = "https://yuanbao.tencent.com/api/user/agent/conversation/v1/clear";
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/yuanbao.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum ChatCompletionEvent {
[INFO] [stdout]    |          ------------------- variant in this enum
[INFO] [stdout] 24 |     Message(ChatCompletionMessage),
[INFO] [stdout] 25 |     Error(Error),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.85s
[INFO] running `Command { std: "docker" "inspect" "9fa2d6e0d7187a561a3e3b3107088005eaa2d0dda3c4eed128dd57d7ebaf6752", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fa2d6e0d7187a561a3e3b3107088005eaa2d0dda3c4eed128dd57d7ebaf6752", kill_on_drop: false }`
[INFO] [stdout] 9fa2d6e0d7187a561a3e3b3107088005eaa2d0dda3c4eed128dd57d7ebaf6752
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c3cc7af281fb85b37a410fd09f5964e7172660540cd9f60e4e789bd250bdfbb
[INFO] running `Command { std: "docker" "start" "-a" "2c3cc7af281fb85b37a410fd09f5964e7172660540cd9f60e4e789bd250bdfbb", kill_on_drop: false }`
[INFO] [stderr]    Compiling yuanbao-chat2api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ChatModel`
[INFO] [stdout]  --> src/service.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ChatMessages, ChatModel, Yuanbao,
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_channel::Receiver`
[INFO] [stdout]  --> src/service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_channel::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_handler`
[INFO] [stdout]   --> src/service.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use axum::{Json, debug_handler};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pin_project::__private::PinnedDrop`
[INFO] [stdout]   --> src/service.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use pin_project::__private::PinnedDrop;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `pin_project` and `pinned_drop`
[INFO] [stdout]   --> src/service.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | use pin_project::{pin_project, pinned_drop};
[INFO] [stdout]    |                   ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/service.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::LazyLock`
[INFO] [stdout]   --> src/service.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::sync::LazyLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Poll`
[INFO] [stdout]   --> src/service.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::task::Poll;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stdout]   --> src/service.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tokio_util::sync::CancellationToken;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/yuanbao.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stdout]   --> src/yuanbao.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio_util::sync::CancellationToken;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/yuanbao.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CLEAR_URL` is never used
[INFO] [stdout]   --> src/yuanbao.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | static CLEAR_URL: &str = "https://yuanbao.tencent.com/api/user/agent/conversation/v1/clear";
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/yuanbao.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum ChatCompletionEvent {
[INFO] [stdout]    |          ------------------- variant in this enum
[INFO] [stdout] 24 |     Message(ChatCompletionMessage),
[INFO] [stdout] 25 |     Error(Error),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s
[INFO] running `Command { std: "docker" "inspect" "2c3cc7af281fb85b37a410fd09f5964e7172660540cd9f60e4e789bd250bdfbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c3cc7af281fb85b37a410fd09f5964e7172660540cd9f60e4e789bd250bdfbb", kill_on_drop: false }`
[INFO] [stdout] 2c3cc7af281fb85b37a410fd09f5964e7172660540cd9f60e4e789bd250bdfbb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 022f721a54f7e3db0cfe2d5b4f37831214d9e35994bd39f9c30f84ab1b7aabaf
[INFO] running `Command { std: "docker" "start" "-a" "022f721a54f7e3db0cfe2d5b4f37831214d9e35994bd39f9c30f84ab1b7aabaf", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ChatModel`
[INFO] [stderr]  --> src/service.rs:3:19
[INFO] [stderr]   |
[INFO] [stderr] 3 |     ChatMessages, ChatModel, Yuanbao,
[INFO] [stderr]   |                   ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_channel::Receiver`
[INFO] [stderr]  --> src/service.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use async_channel::Receiver;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug_handler`
[INFO] [stderr]   --> src/service.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | use axum::{Json, debug_handler};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pin_project::__private::PinnedDrop`
[INFO] [stderr]   --> src/service.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use pin_project::__private::PinnedDrop;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `pin_project` and `pinned_drop`
[INFO] [stderr]   --> src/service.rs:15:19
[INFO] [stderr]    |
[INFO] [stderr] 15 | use pin_project::{pin_project, pinned_drop};
[INFO] [stderr]    |                   ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::pin::Pin`
[INFO] [stderr]   --> src/service.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::pin::Pin;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::LazyLock`
[INFO] [stderr]   --> src/service.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::sync::LazyLock;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::task::Poll`
[INFO] [stderr]   --> src/service.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::task::Poll;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stderr]   --> src/service.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use tokio_util::sync::CancellationToken;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/yuanbao.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_util::sync::CancellationToken`
[INFO] [stderr]   --> src/yuanbao.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use tokio_util::sync::CancellationToken;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error`
[INFO] [stderr]   --> src/yuanbao.rs:16:22
[INFO] [stderr]    |
[INFO] [stderr] 16 | use tracing::{debug, error, info, warn};
[INFO] [stderr]    |                      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `axum::extract::State`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use axum::extract::State;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::stream::StreamExt`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use futures::stream::StreamExt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `CLEAR_URL` is never used
[INFO] [stderr]   --> src/yuanbao.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | static CLEAR_URL: &str = "https://yuanbao.tencent.com/api/user/agent/conversation/v1/clear";
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Error` is never constructed
[INFO] [stderr]   --> src/yuanbao.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub enum ChatCompletionEvent {
[INFO] [stderr]    |          ------------------- variant in this enum
[INFO] [stderr] 24 |     Message(ChatCompletionMessage),
[INFO] [stderr] 25 |     Error(Error),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ChatCompletionEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `yuanbao-chat2api` (bin "yuanbao-chat2api" test) generated 16 warnings (run `cargo fix --bin "yuanbao-chat2api" -p yuanbao-chat2api --tests` to apply 14 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yuanbao_chat2api-16b2ad216fbc9aac)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "022f721a54f7e3db0cfe2d5b4f37831214d9e35994bd39f9c30f84ab1b7aabaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "022f721a54f7e3db0cfe2d5b4f37831214d9e35994bd39f9c30f84ab1b7aabaf", kill_on_drop: false }`
[INFO] [stdout] 022f721a54f7e3db0cfe2d5b4f37831214d9e35994bd39f9c30f84ab1b7aabaf
