[INFO] cloning repository https://github.com/czn574775237/dify-client-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/czn574775237/dify-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczn574775237%2Fdify-client-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczn574775237%2Fdify-client-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa0ecd2db4573fdc733b68d3f39298fed811e724 [INFO] testing czn574775237/dify-client-rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczn574775237%2Fdify-client-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/czn574775237/dify-client-rust on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/czn574775237/dify-client-rust [INFO] finished tweaking git repo https://github.com/czn574775237/dify-client-rust [INFO] tweaked toml for git repo https://github.com/czn574775237/dify-client-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/czn574775237/dify-client-rust 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2fb163f99651035931f4b2e4ac34fc268894a68ba3a9640de67d2bf8c9d5670 [INFO] running `Command { std: "docker" "start" "-a" "f2fb163f99651035931f4b2e4ac34fc268894a68ba3a9640de67d2bf8c9d5670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2fb163f99651035931f4b2e4ac34fc268894a68ba3a9640de67d2bf8c9d5670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2fb163f99651035931f4b2e4ac34fc268894a68ba3a9640de67d2bf8c9d5670", kill_on_drop: false }` [INFO] [stdout] f2fb163f99651035931f4b2e4ac34fc268894a68ba3a9640de67d2bf8c9d5670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592c94d4223697c3b2c100c6e7b9441c68a6f0452b448aec779e166dac60e2c5 [INFO] running `Command { std: "docker" "start" "-a" "592c94d4223697c3b2c100c6e7b9441c68a6f0452b448aec779e166dac60e2c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling dify-client-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | stream: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dataset_id` is never read [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct KnowledgeBaseClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 302 | dify_client: DifyClient, [INFO] [stdout] 303 | dataset_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dataset_id` is never used [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 306 | impl KnowledgeBaseClient { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | fn get_dataset_id(&self) -> Result<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.15s [INFO] running `Command { std: "docker" "inspect" "592c94d4223697c3b2c100c6e7b9441c68a6f0452b448aec779e166dac60e2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592c94d4223697c3b2c100c6e7b9441c68a6f0452b448aec779e166dac60e2c5", kill_on_drop: false }` [INFO] [stdout] 592c94d4223697c3b2c100c6e7b9441c68a6f0452b448aec779e166dac60e2c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87a63bf7f080416ae658731006d5202f12823faebf99da33d8974335ad7ef46 [INFO] running `Command { std: "docker" "start" "-a" "b87a63bf7f080416ae658731006d5202f12823faebf99da33d8974335ad7ef46", kill_on_drop: false }` [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | stream: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dataset_id` is never read [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct KnowledgeBaseClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 302 | dify_client: DifyClient, [INFO] [stdout] 303 | dataset_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dataset_id` is never used [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 306 | impl KnowledgeBaseClient { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | fn get_dataset_id(&self) -> Result<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dify-client-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | stream: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dataset_id` is never read [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct KnowledgeBaseClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 302 | dify_client: DifyClient, [INFO] [stdout] 303 | dataset_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dataset_id` is never used [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 306 | impl KnowledgeBaseClient { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | fn get_dataset_id(&self) -> Result<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "b87a63bf7f080416ae658731006d5202f12823faebf99da33d8974335ad7ef46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87a63bf7f080416ae658731006d5202f12823faebf99da33d8974335ad7ef46", kill_on_drop: false }` [INFO] [stdout] b87a63bf7f080416ae658731006d5202f12823faebf99da33d8974335ad7ef46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0edeca10b68a6165ae862f8a74621017097d208ee3101475a310ee4aa5aba817 [INFO] running `Command { std: "docker" "start" "-a" "0edeca10b68a6165ae862f8a74621017097d208ee3101475a310ee4aa5aba817", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/lib.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | stream: bool, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `str::FromStr` [INFO] [stderr] --> src/lib.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{path::Path, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `dataset_id` is never read [INFO] [stderr] --> src/lib.rs:303:5 [INFO] [stderr] | [INFO] [stderr] 301 | pub struct KnowledgeBaseClient { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 302 | dify_client: DifyClient, [INFO] [stderr] 303 | dataset_id: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_dataset_id` is never used [INFO] [stderr] --> src/lib.rs:314:8 [INFO] [stderr] | [INFO] [stderr] 306 | impl KnowledgeBaseClient { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 314 | fn get_dataset_id(&self) -> Result<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dify-client-rust` (lib) generated 4 warnings [INFO] [stderr] warning: `dify-client-rust` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dify_client_rust-5e3b0a1c891556d8) [INFO] [stdout] [INFO] [stderr] Running tests/chat.rs (/opt/rustwide/target/debug/deps/chat-dcba656b66d3a31f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_blocking_chat ... FAILED [INFO] [stdout] test test_streaming_chat ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_blocking_chat stdout ---- [INFO] [stdout] thread 'test_blocking_chat' panicked at tests/chat.rs:10:23: [INFO] [stdout] failed to load .env: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5957290faa6a - std::backtrace_rs::backtrace::libunwind::trace::h3dab7ffe210583a3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5957290faa6a - std::backtrace_rs::backtrace::trace_unsynchronized::h85ec3139dd4f9047 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5957290faa6a - std::sys::backtrace::_print_fmt::h3447259688950eab [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5957290faa6a - ::fmt::ha8d24a0f27cc401d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5957291265e3 - core::fmt::rt::Argument::fmt::h650b92642f481125 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5957291265e3 - core::fmt::write::h5becf96591c394eb [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5957290f6863 - std::io::Write::write_fmt::h61fb565ee25d88c6 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5957290fa8b2 - std::sys::backtrace::BacktraceLock::print::hae1dc20f39b0ae80 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5957290fbeee - std::panicking::default_hook::{{closure}}::hb3023fc9edf847a9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5957290fbcf7 - std::panicking::default_hook::h271aee2d85880663 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x595728d55488 - as core::ops::function::Fn>::call::hbfe4f2a7834d388d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x595728d55488 - test::test_main::{{closure}}::hbb7d4fde4185abc5 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5957290fc708 - as core::ops::function::Fn>::call::hd4cbe0a9e8955cde [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5957290fc708 - std::panicking::rust_panic_with_hook::he05f4a167c1908ac [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5957290fc3ba - std::panicking::begin_panic_handler::{{closure}}::h79780775730ab9df [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5957290faf39 - std::sys::backtrace::__rust_end_short_backtrace::h753217146a30d8a2 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5957290fc04d - rust_begin_unwind [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x595729123ef0 - core::panicking::panic_fmt::h9ad4c3d87a3eb4ad [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x595729124366 - core::result::unwrap_failed::h865c91c1a27f7a85 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/result.rs:1699:5 [INFO] [stdout] 19: 0x595728add81d - core::result::Result::expect::hbdd1a23d5a1f0d11 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x595728af426e - chat::get_client::h063bd0d157dc303d [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:10:5 [INFO] [stdout] 21: 0x595728af49ab - chat::test_blocking_chat::{{closure}}::h7ae0691503c1bbfa [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:38:35 [INFO] [stdout] 22: 0x595728ad4ff2 - as core::future::future::Future>::poll::h1a58ce2b6da0f2ff [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x595728ad4fad - as core::future::future::Future>::poll::h18274fe41e48b705 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x595728ad230f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hdf895a98a0d648f3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57 [INFO] [stdout] 25: 0x595728ad2055 - tokio::runtime::coop::with_budget::h74e6fbfc8d9dbfe8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x595728ad2055 - tokio::runtime::coop::budget::h6f8a019139f49f9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x595728ad2055 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h3f75043560923347 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 28: 0x595728acf890 - tokio::runtime::scheduler::current_thread::Context::enter::h2fb7b54bfa403df5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 29: 0x595728ad105b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h370a531f0bc2e52c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36 [INFO] [stdout] 30: 0x595728ad0d74 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::he9708c866e24efaa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 31: 0x595728ae5f3b - tokio::runtime::context::scoped::Scoped::set::he4d0e19d74f649d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x595728ae5b69 - tokio::runtime::context::set_scheduler::{{closure}}::h59cc627dc3faa60a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context.rs:180:26 [INFO] [stdout] 33: 0x595728ad3e42 - std::thread::local::LocalKey::try_with::hea3de6022cc9e557 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/local.rs:308:12 [INFO] [stdout] 34: 0x595728ad319a - std::thread::local::LocalKey::with::h8936101a5e3845a4 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/local.rs:272:9 [INFO] [stdout] 35: 0x595728ae5add - tokio::runtime::context::set_scheduler::h2f3a4c3989fa159f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context.rs:180:9 [INFO] [stdout] 36: 0x595728ad0b00 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hdc515311e31d9aac [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 37: 0x595728ad0d93 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h31743095782d99f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19 [INFO] [stdout] 38: 0x595728aceb75 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h0ced737ceec441e0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28 [INFO] [stdout] 39: 0x595728aeb1f7 - tokio::runtime::context::runtime::enter_runtime::hc7678fdbe1a3cf01 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x595728ace881 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h7da99d02aba9c5a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 41: 0x595728af3bda - tokio::runtime::runtime::Runtime::block_on_inner::h12c9362f4674b099 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/runtime.rs:368:47 [INFO] [stdout] 42: 0x595728af3e87 - tokio::runtime::runtime::Runtime::block_on::hb3a9cf0d9c19ef26 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/runtime.rs:342:13 [INFO] [stdout] 43: 0x595728af482a - chat::test_blocking_chat::h2ac795744670b4ff [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:46:5 [INFO] [stdout] 44: 0x595728af46d7 - chat::test_blocking_chat::{{closure}}::h3cc492d504b38efa [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:35:30 [INFO] [stdout] 45: 0x595728ae8fe6 - core::ops::function::FnOnce::call_once::h05fbb7458e676aea [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x595728d5a0cb - core::ops::function::FnOnce::call_once::h651e3187cb632f8b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x595728d5a0cb - test::__rust_begin_short_backtrace::hf087c08482082584 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:632:18 [INFO] [stdout] 48: 0x595728d599d9 - test::run_test_in_process::{{closure}}::h028b11125eb38b18 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:60 [INFO] [stdout] 49: 0x595728d599d9 - as core::ops::function::FnOnce<()>>::call_once::h8a69fc59e5c0ffcd [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x595728d599d9 - std::panicking::try::do_call::h53d2549af1773521 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 51: 0x595728d599d9 - std::panicking::try::h327579c208c8ae37 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 52: 0x595728d599d9 - std::panic::catch_unwind::hae7e4a4da155a27e [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 53: 0x595728d599d9 - test::run_test_in_process::hef0a7b0ac1ee3437 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:27 [INFO] [stdout] 54: 0x595728d599d9 - test::run_test::{{closure}}::h007633ec4ae045b1 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:576:43 [INFO] [stdout] 55: 0x595728d1c74a - test::run_test::{{closure}}::hf3a8c9852b545b46 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:606:41 [INFO] [stdout] 56: 0x595728d1c74a - std::sys::backtrace::__rust_begin_short_backtrace::ha442d5d7942f6ee9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x595728d201b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc8fd461cdc84b676 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 58: 0x595728d201b6 - as core::ops::function::FnOnce<()>>::call_once::h5a459cc955f063ed [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x595728d201b6 - std::panicking::try::do_call::hc249aed3a6c9c972 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 60: 0x595728d201b6 - std::panicking::try::h649add41232b7ab3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 61: 0x595728d201b6 - std::panic::catch_unwind::h2fd522623ccd57b0 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 62: 0x595728d201b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h685de412d0d20b6b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 63: 0x595728d201b6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf3391e711cf5434d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x595729100a1b - as core::ops::function::FnOnce>::call_once::hc98bb0f9729b604d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 65: 0x595729100a1b - as core::ops::function::FnOnce>::call_once::h3b479d8e9f1fef9f [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 66: 0x595729100a1b - std::sys::pal::unix::thread::Thread::new::thread_start::he3d5da9652362070 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 67: 0x7aeb54bb7ac3 - [INFO] [stdout] 68: 0x7aeb54c48a04 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_streaming_chat stdout ---- [INFO] [stdout] thread 'test_streaming_chat' panicked at tests/chat.rs:10:23: [INFO] [stdout] failed to load .env: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5957290faa6a - std::backtrace_rs::backtrace::libunwind::trace::h3dab7ffe210583a3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5957290faa6a - std::backtrace_rs::backtrace::trace_unsynchronized::h85ec3139dd4f9047 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5957290faa6a - std::sys::backtrace::_print_fmt::h3447259688950eab [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5957290faa6a - ::fmt::ha8d24a0f27cc401d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5957291265e3 - core::fmt::rt::Argument::fmt::h650b92642f481125 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5957291265e3 - core::fmt::write::h5becf96591c394eb [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5957290f6863 - std::io::Write::write_fmt::h61fb565ee25d88c6 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5957290fa8b2 - std::sys::backtrace::BacktraceLock::print::hae1dc20f39b0ae80 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5957290fbeee - std::panicking::default_hook::{{closure}}::hb3023fc9edf847a9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5957290fbcf7 - std::panicking::default_hook::h271aee2d85880663 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x595728d55488 - as core::ops::function::Fn>::call::hbfe4f2a7834d388d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x595728d55488 - test::test_main::{{closure}}::hbb7d4fde4185abc5 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5957290fc708 - as core::ops::function::Fn>::call::hd4cbe0a9e8955cde [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5957290fc708 - std::panicking::rust_panic_with_hook::he05f4a167c1908ac [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5957290fc3ba - std::panicking::begin_panic_handler::{{closure}}::h79780775730ab9df [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5957290faf39 - std::sys::backtrace::__rust_end_short_backtrace::h753217146a30d8a2 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5957290fc04d - rust_begin_unwind [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x595729123ef0 - core::panicking::panic_fmt::h9ad4c3d87a3eb4ad [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x595729124366 - core::result::unwrap_failed::h865c91c1a27f7a85 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/result.rs:1699:5 [INFO] [stdout] 19: 0x595728add81d - core::result::Result::expect::hbdd1a23d5a1f0d11 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x595728af426e - chat::get_client::h063bd0d157dc303d [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:10:5 [INFO] [stdout] 21: 0x595728af592b - chat::test_streaming_chat::{{closure}}::h04cff953e02333bd [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:54:35 [INFO] [stdout] 22: 0x595728ad4ff2 - as core::future::future::Future>::poll::h1a58ce2b6da0f2ff [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x595728ad4fad - as core::future::future::Future>::poll::h18274fe41e48b705 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x595728ad230f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hdf895a98a0d648f3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57 [INFO] [stdout] 25: 0x595728ad2055 - tokio::runtime::coop::with_budget::h74e6fbfc8d9dbfe8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x595728ad2055 - tokio::runtime::coop::budget::h6f8a019139f49f9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x595728ad2055 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h3f75043560923347 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 28: 0x595728acf890 - tokio::runtime::scheduler::current_thread::Context::enter::h2fb7b54bfa403df5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 29: 0x595728ad105b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h370a531f0bc2e52c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36 [INFO] [stdout] 30: 0x595728ad0d74 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::he9708c866e24efaa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 31: 0x595728ae5f3b - tokio::runtime::context::scoped::Scoped::set::he4d0e19d74f649d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x595728ae5b69 - tokio::runtime::context::set_scheduler::{{closure}}::h59cc627dc3faa60a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context.rs:180:26 [INFO] [stdout] 33: 0x595728ad3e42 - std::thread::local::LocalKey::try_with::hea3de6022cc9e557 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/local.rs:308:12 [INFO] [stdout] 34: 0x595728ad319a - std::thread::local::LocalKey::with::h8936101a5e3845a4 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/local.rs:272:9 [INFO] [stdout] 35: 0x595728ae5add - tokio::runtime::context::set_scheduler::h2f3a4c3989fa159f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context.rs:180:9 [INFO] [stdout] 36: 0x595728ad0b00 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hdc515311e31d9aac [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 37: 0x595728ad0d93 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h31743095782d99f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19 [INFO] [stdout] 38: 0x595728aceb75 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h0ced737ceec441e0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28 [INFO] [stdout] 39: 0x595728aeb1f7 - tokio::runtime::context::runtime::enter_runtime::hc7678fdbe1a3cf01 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x595728ace881 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h7da99d02aba9c5a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 41: 0x595728af3bda - tokio::runtime::runtime::Runtime::block_on_inner::h12c9362f4674b099 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/runtime.rs:368:47 [INFO] [stdout] 42: 0x595728af3e87 - tokio::runtime::runtime::Runtime::block_on::hb3a9cf0d9c19ef26 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.0/src/runtime/runtime.rs:342:13 [INFO] [stdout] 43: 0x595728af57aa - chat::test_streaming_chat::h9f694cbd17bc81c9 [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:71:5 [INFO] [stdout] 44: 0x595728af5657 - chat::test_streaming_chat::{{closure}}::h928b473d5d412ed6 [INFO] [stdout] at /opt/rustwide/workdir/tests/chat.rs:50:31 [INFO] [stdout] 45: 0x595728ae91a6 - core::ops::function::FnOnce::call_once::h9e910d1436d602d5 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x595728d5a0cb - core::ops::function::FnOnce::call_once::h651e3187cb632f8b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x595728d5a0cb - test::__rust_begin_short_backtrace::hf087c08482082584 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:632:18 [INFO] [stdout] 48: 0x595728d599d9 - test::run_test_in_process::{{closure}}::h028b11125eb38b18 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:60 [INFO] [stdout] 49: 0x595728d599d9 - as core::ops::function::FnOnce<()>>::call_once::h8a69fc59e5c0ffcd [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x595728d599d9 - std::panicking::try::do_call::h53d2549af1773521 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 51: 0x595728d599d9 - std::panicking::try::h327579c208c8ae37 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 52: 0x595728d599d9 - std::panic::catch_unwind::hae7e4a4da155a27e [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 53: 0x595728d599d9 - test::run_test_in_process::hef0a7b0ac1ee3437 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:27 [INFO] [stdout] 54: 0x595728d599d9 - test::run_test::{{closure}}::h007633ec4ae045b1 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:576:43 [INFO] [stdout] 55: 0x595728d1c74a - test::run_test::{{closure}}::hf3a8c9852b545b46 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:606:41 [INFO] [stdout] 56: 0x595728d1c74a - std::sys::backtrace::__rust_begin_short_backtrace::ha442d5d7942f6ee9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x595728d201b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc8fd461cdc84b676 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 58: 0x595728d201b6 - as core::ops::function::FnOnce<()>>::call_once::h5a459cc955f063ed [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x595728d201b6 - std::panicking::try::do_call::hc249aed3a6c9c972 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 60: 0x595728d201b6 - std::panicking::try::h649add41232b7ab3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 61: 0x595728d201b6 - std::panic::catch_unwind::h2fd522623ccd57b0 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 62: 0x595728d201b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h685de412d0d20b6b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 63: 0x595728d201b6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf3391e711cf5434d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x595729100a1b - as core::ops::function::FnOnce>::call_once::hc98bb0f9729b604d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 65: 0x595729100a1b - as core::ops::function::FnOnce>::call_once::h3b479d8e9f1fef9f [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 66: 0x595729100a1b - std::sys::pal::unix::thread::Thread::new::thread_start::he3d5da9652362070 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 67: 0x7aeb54bb7ac3 - [INFO] [stdout] 68: 0x7aeb54c48a04 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_blocking_chat [INFO] [stdout] test_streaming_chat [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test chat` [INFO] running `Command { std: "docker" "inspect" "0edeca10b68a6165ae862f8a74621017097d208ee3101475a310ee4aa5aba817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0edeca10b68a6165ae862f8a74621017097d208ee3101475a310ee4aa5aba817", kill_on_drop: false }` [INFO] [stdout] 0edeca10b68a6165ae862f8a74621017097d208ee3101475a310ee4aa5aba817