[INFO] cloning repository https://github.com/spmno/tongyi-vl-rust-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spmno/tongyi-vl-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspmno%2Ftongyi-vl-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspmno%2Ftongyi-vl-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0b577165ca2bc3c5fd531194bd5f3bc35b79cfe [INFO] building spmno/tongyi-vl-rust-sdk against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspmno%2Ftongyi-vl-rust-sdk" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 76% (1581/2062) Updating files: 77% (1588/2062) Updating files: 78% (1609/2062) Updating files: 79% (1629/2062) Updating files: 80% (1650/2062) Updating files: 81% (1671/2062) Updating files: 82% (1691/2062) Updating files: 83% (1712/2062) Updating files: 83% (1731/2062) Updating files: 84% (1733/2062) Updating files: 85% (1753/2062) Updating files: 86% (1774/2062) Updating files: 87% (1794/2062) Updating files: 88% (1815/2062) Updating files: 88% (1828/2062) Updating files: 89% (1836/2062) Updating files: 90% (1856/2062) Updating files: 91% (1877/2062) Updating files: 92% (1898/2062) Updating files: 93% (1918/2062) Updating files: 94% (1939/2062) Updating files: 95% (1959/2062) Updating files: 96% (1980/2062) Updating files: 97% (2001/2062) Updating files: 98% (2021/2062) Updating files: 99% (2042/2062) Updating files: 100% (2062/2062) Updating files: 100% (2062/2062), done. [INFO] started tweaking git repo https://github.com/spmno/tongyi-vl-rust-sdk [INFO] finished tweaking git repo https://github.com/spmno/tongyi-vl-rust-sdk [INFO] tweaked toml for git repo https://github.com/spmno/tongyi-vl-rust-sdk written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spmno/tongyi-vl-rust-sdk on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spmno/tongyi-vl-rust-sdk 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.20.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.1 [INFO] [stderr] Downloaded derive_builder_macro v0.20.1 [INFO] [stderr] Downloaded features v0.10.0 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded ctor v0.2.8 [INFO] [stderr] Downloaded anyhow v1.0.88 [INFO] [stderr] Downloaded derive_builder v0.20.1 [INFO] [stderr] Downloaded cc v1.1.18 [INFO] [stderr] Downloaded opimps v0.1.4 [INFO] [stderr] Downloaded full v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395430870dd791723e5111cddfc7fac806de158d7fd75ec73ae6a6164cce94a7 [INFO] running `Command { std: "docker" "start" "-a" "395430870dd791723e5111cddfc7fac806de158d7fd75ec73ae6a6164cce94a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395430870dd791723e5111cddfc7fac806de158d7fd75ec73ae6a6164cce94a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395430870dd791723e5111cddfc7fac806de158d7fd75ec73ae6a6164cce94a7", kill_on_drop: false }` [INFO] [stdout] 395430870dd791723e5111cddfc7fac806de158d7fd75ec73ae6a6164cce94a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d40251636a268c48bd56db259273599251a4c5188288910b439975cfbfd3170 [INFO] running `Command { std: "docker" "start" "-a" "8d40251636a268c48bd56db259273599251a4c5188288910b439975cfbfd3170", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling features v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling opimps v0.1.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder v0.20.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling full v0.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling tongyi-llm-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::MessageEvent` [INFO] [stdout] --> src/api/chat_completion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::MessageEvent; [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 imports: `Client` and `RequestBuilder` [INFO] [stdout] --> src/api/chat_completion.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{Client, RequestBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/api/chat_completion.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/api/vision_language.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/api/vision_language.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParam` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParam` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilder` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilder` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilderError` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilderError` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `SystemMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `SystemMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `UserMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `UserMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `AssistantMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `AssistantMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Choice` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Choice` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Message` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Message` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `ChoiceLogprobs` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `ChoiceLogprobs` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TokenLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TokenLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TopLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TopLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Usage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Usage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `layer::SubscriberExt`, and `util::SubscriberInitExt` [INFO] [stdout] --> src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_pos` is never read [INFO] [stdout] --> src/lib.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_pos = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.38s [INFO] running `Command { std: "docker" "inspect" "8d40251636a268c48bd56db259273599251a4c5188288910b439975cfbfd3170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d40251636a268c48bd56db259273599251a4c5188288910b439975cfbfd3170", kill_on_drop: false }` [INFO] [stdout] 8d40251636a268c48bd56db259273599251a4c5188288910b439975cfbfd3170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d43a8b557ebdda1e7fbb7be9c069e5a1f180ece2f0a29e9c4d28e3ef4b391a [INFO] running `Command { std: "docker" "start" "-a" "e3d43a8b557ebdda1e7fbb7be9c069e5a1f180ece2f0a29e9c4d28e3ef4b391a", kill_on_drop: false }` [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stdout] warning: unused import: `crate::MessageEvent` [INFO] [stdout] --> src/api/chat_completion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::MessageEvent; [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 imports: `Client` and `RequestBuilder` [INFO] [stdout] --> src/api/chat_completion.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{Client, RequestBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/api/chat_completion.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/api/vision_language.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/api/vision_language.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParam` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParam` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilder` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilder` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilderError` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilderError` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `SystemMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `SystemMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `UserMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `UserMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `AssistantMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `AssistantMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Choice` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Choice` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Message` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Message` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `ChoiceLogprobs` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `ChoiceLogprobs` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TokenLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TokenLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TopLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TopLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Usage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Usage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `layer::SubscriberExt`, and `util::SubscriberInitExt` [INFO] [stdout] --> src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_pos` is never read [INFO] [stdout] --> src/lib.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_pos = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tongyi-llm-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `RequestBuilder` [INFO] [stdout] --> src/api/chat_completion.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{Client, RequestBuilder}; [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: `default` [INFO] [stdout] --> src/api/vision_language.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParam` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParam` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilder` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilder` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `StreamOptionsParamBuilderError` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `StreamOptionsParamBuilderError` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `SystemMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `SystemMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `UserMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `UserMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `AssistantMessage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `AssistantMessage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Choice` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Choice` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Message` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Message` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `ChoiceLogprobs` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `ChoiceLogprobs` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TokenLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TokenLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `TopLogprob` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `TopLogprob` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/api/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chat_completion::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `Usage` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use vision_language::*; [INFO] [stdout] | ------------------ but the name `Usage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_pos` is never read [INFO] [stdout] --> src/lib.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_pos = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.54s [INFO] running `Command { std: "docker" "inspect" "e3d43a8b557ebdda1e7fbb7be9c069e5a1f180ece2f0a29e9c4d28e3ef4b391a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d43a8b557ebdda1e7fbb7be9c069e5a1f180ece2f0a29e9c4d28e3ef4b391a", kill_on_drop: false }` [INFO] [stdout] e3d43a8b557ebdda1e7fbb7be9c069e5a1f180ece2f0a29e9c4d28e3ef4b391a