[INFO] fetching crate deepseekClient-rs 0.1.0... [INFO] testing deepseekClient-rs-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate deepseekClient-rs 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate deepseekClient-rs 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate deepseekClient-rs 0.1.0 [INFO] tweaked toml for crates.io crate deepseekClient-rs 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate deepseekClient-rs 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate deepseekClient-rs 0.1.0 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb918d3e7d3a4d7f3a69b72b0e43511be5bae314897626bfd924c141f1a039cf [INFO] running `Command { std: "docker" "start" "-a" "cb918d3e7d3a4d7f3a69b72b0e43511be5bae314897626bfd924c141f1a039cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb918d3e7d3a4d7f3a69b72b0e43511be5bae314897626bfd924c141f1a039cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb918d3e7d3a4d7f3a69b72b0e43511be5bae314897626bfd924c141f1a039cf", kill_on_drop: false }` [INFO] [stdout] cb918d3e7d3a4d7f3a69b72b0e43511be5bae314897626bfd924c141f1a039cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c04fd249cd3f8741068a46b500566756f0c8735d3a4b35d9a735f02a1314f7d4 [INFO] running `Command { std: "docker" "start" "-a" "c04fd249cd3f8741068a46b500566756f0c8735d3a4b35d9a735f02a1314f7d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling http-body v1.0.1 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.8 [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.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling deepseekClient-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `deepseekClient_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `deepseek_client_rs` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.49s [INFO] running `Command { std: "docker" "inspect" "c04fd249cd3f8741068a46b500566756f0c8735d3a4b35d9a735f02a1314f7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04fd249cd3f8741068a46b500566756f0c8735d3a4b35d9a735f02a1314f7d4", kill_on_drop: false }` [INFO] [stdout] c04fd249cd3f8741068a46b500566756f0c8735d3a4b35d9a735f02a1314f7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bcf147826421285b7f3081ff3ecf6a3b4007e6a29b75d78b511760693a01871 [INFO] running `Command { std: "docker" "start" "-a" "5bcf147826421285b7f3081ff3ecf6a3b4007e6a29b75d78b511760693a01871", kill_on_drop: false }` [INFO] [stdout] warning: crate `deepseekClient_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `deepseek_client_rs` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deepseekClient-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] --> examples/hello.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepseek_rs::{chat::*, http::*, base_types::data::*}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepseek_rs`, use `cargo add deepseek_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] --> examples/model_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepseek_rs::model::{ModelRequest, ModelResponse}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepseek_rs`, use `cargo add deepseek_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] --> examples/model_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use deepseek_rs::http::{get, process_response}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepseek_rs`, use `cargo add deepseek_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `deepseek_rs::chat::*`, `deepseek_rs::http::*`, `deepseek_rs::base_types::data::*` [INFO] [stdout] --> examples/hello.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use deepseek_rs::{chat::*, http::*, base_types::data::*}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] --> examples/balance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepseek_rs::user::{BalanceRequest, BalanceResponse}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepseek_rs`, use `cargo add deepseek_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] --> examples/balance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use deepseek_rs::http::{get, process_response}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `deepseek_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepseek_rs`, use `cargo add deepseek_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/model_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/model_list.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/model_list.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/model_list.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | match process_response(response).await{ [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:548:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/balance.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/balance.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/balance.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/balance.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | match process_response(response).await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:548:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deepseekClient-rs` (example "model_list") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `deepseekClient-rs` (example "balance") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> examples/hello.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let user_message = Message::user_message("你好"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::chat::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChatRequestBuilder` [INFO] [stdout] --> examples/hello.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let (url, ai_request) = ChatRequestBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ChatRequestBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::chat::ChatRequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModelName` [INFO] [stdout] --> examples/hello.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | .model(ModelName::DeepseekChat) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ModelName` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::base_types::data::ModelName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `post` in this scope [INFO] [stdout] --> examples/hello.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let response = post(&url, json, &api_key).await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::http::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_response` in this scope [INFO] [stdout] --> examples/hello.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | match process_response(response).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::http::process_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChatResponse` in this scope [INFO] [stdout] --> examples/hello.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let data: ChatResponse = serde_json::from_str(&response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use deepseekClient_rs::chat::ChatResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hello.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hello.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(response) => { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hello.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Err(err) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hello.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | match process_response(response).await{ [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:548:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deepseekClient-rs` (example "hello") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "5bcf147826421285b7f3081ff3ecf6a3b4007e6a29b75d78b511760693a01871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcf147826421285b7f3081ff3ecf6a3b4007e6a29b75d78b511760693a01871", kill_on_drop: false }` [INFO] [stdout] 5bcf147826421285b7f3081ff3ecf6a3b4007e6a29b75d78b511760693a01871