[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspmno%2Ftongyi-vl-rust-sdk" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 74% (1539/2062) Updating files: 75% (1547/2062) Updating files: 76% (1568/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% (1715/2062) Updating files: 84% (1733/2062) Updating files: 85% (1753/2062) Updating files: 85% (1770/2062) Updating files: 86% (1774/2062) Updating files: 87% (1794/2062) Updating files: 88% (1815/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: 97% (2011/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spmno/tongyi-vl-rust-sdk on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded once_cell v1.20.0 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded quinn-udp v0.5.5 [INFO] [stderr] Downloaded security-framework-sys v2.11.1 [INFO] [stderr] Downloaded derive_builder_macro v0.20.1 [INFO] [stderr] Downloaded opimps v0.1.4 [INFO] [stderr] Downloaded full v0.3.0 [INFO] [stderr] Downloaded derive_builder v0.20.1 [INFO] [stderr] Downloaded anyhow v1.0.88 [INFO] [stderr] Downloaded cc v1.1.18 [INFO] [stderr] Downloaded derive_builder_core v0.20.1 [INFO] [stderr] Downloaded quinn v0.11.5 [INFO] [stderr] Downloaded quinn-proto v0.11.8 [INFO] [stderr] Downloaded webpki-roots v0.26.5 [INFO] [stderr] Downloaded async-compression v0.4.12 [INFO] [stderr] Downloaded ctor v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa02f41e903e1b0cfdd6de29f12c02d543fbdc71aed03aadb8cb4d291081ede8 [INFO] running `Command { std: "docker" "start" "-a" "aa02f41e903e1b0cfdd6de29f12c02d543fbdc71aed03aadb8cb4d291081ede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa02f41e903e1b0cfdd6de29f12c02d543fbdc71aed03aadb8cb4d291081ede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa02f41e903e1b0cfdd6de29f12c02d543fbdc71aed03aadb8cb4d291081ede8", kill_on_drop: false }` [INFO] [stdout] aa02f41e903e1b0cfdd6de29f12c02d543fbdc71aed03aadb8cb4d291081ede8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f13523f6101126a9fe4a130ed073784410fe783addc4391327737a2fd87f3196 [INFO] running `Command { std: "docker" "start" "-a" "f13523f6101126a9fe4a130ed073784410fe783addc4391327737a2fd87f3196", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.12 [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] Compiling serde v1.0.210 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling matchers v0.1.0 [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 rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling full v0.3.0 [INFO] [stderr] Compiling derive_builder v0.20.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling async-compression v0.4.12 [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 1m 19s [INFO] running `Command { std: "docker" "inspect" "f13523f6101126a9fe4a130ed073784410fe783addc4391327737a2fd87f3196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13523f6101126a9fe4a130ed073784410fe783addc4391327737a2fd87f3196", kill_on_drop: false }` [INFO] [stdout] f13523f6101126a9fe4a130ed073784410fe783addc4391327737a2fd87f3196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1627f769bfb1621cd3874c36da542db5accf2e1e79d3681983632b4d8c2e82f7 [INFO] running `Command { std: "docker" "start" "-a" "1627f769bfb1621cd3874c36da542db5accf2e1e79d3681983632b4d8c2e82f7", 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 5.95s [INFO] running `Command { std: "docker" "inspect" "1627f769bfb1621cd3874c36da542db5accf2e1e79d3681983632b4d8c2e82f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1627f769bfb1621cd3874c36da542db5accf2e1e79d3681983632b4d8c2e82f7", kill_on_drop: false }` [INFO] [stdout] 1627f769bfb1621cd3874c36da542db5accf2e1e79d3681983632b4d8c2e82f7