[INFO] cloning repository https://github.com/ehayes2000/hex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ehayes2000/hex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehayes2000%2Fhex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehayes2000%2Fhex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba53e58786be109462fea8a2734501c28c0cfb5a [INFO] testing ehayes2000/hex against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fehayes2000%2Fhex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ehayes2000/hex [INFO] finished tweaking git repo https://github.com/ehayes2000/hex [INFO] tweaked toml for git repo https://github.com/ehayes2000/hex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ehayes2000/hex on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ehayes2000/hex already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4f69acbc237a307842dc71c7a63a74f697ebd3d4073648e6373434fc125ab2 [INFO] running `Command { std: "docker" "start" "-a" "bb4f69acbc237a307842dc71c7a63a74f697ebd3d4073648e6373434fc125ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4f69acbc237a307842dc71c7a63a74f697ebd3d4073648e6373434fc125ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4f69acbc237a307842dc71c7a63a74f697ebd3d4073648e6373434fc125ab2", kill_on_drop: false }` [INFO] [stdout] bb4f69acbc237a307842dc71c7a63a74f697ebd3d4073648e6373434fc125ab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c4c53a3990334f4905a1aa7c7184cb70aea4faa8ada5041f6bd7a889a25a21 [INFO] running `Command { std: "docker" "start" "-a" "49c4c53a3990334f4905a1aa7c7184cb70aea4faa8ada5041f6bd7a889a25a21", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.28.3 [INFO] [stderr] Compiling hex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `client::*` [INFO] [stdout] --> src/client/web/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use client::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RECURSIONS` is never used [INFO] [stdout] --> src/client/web/client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_RECURSIONS: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StreamPart` is never used [INFO] [stdout] --> src/client/web/client.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum StreamPart { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedStream` is never constructed [INFO] [stdout] --> src/client/web/client.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ProcessedStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolCall` is never constructed [INFO] [stdout] --> src/client/web/client.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChatCompletionStream` is never used [INFO] [stdout] --> src/client/web/client.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type ChatCompletionStream<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebClient` is never constructed [INFO] [stdout] --> src/client/web/client.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct WebClient<'a, C: Config, T: Clone> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/client/web/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, T: Clone> WebClient<'a, OpenAIConfig, T> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(toolset: AsyncToolSet, context: T) -> WebClient<'a, OpenAIConfig, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `send_message`, `make_chat_completion_stream`, `process_stream_parts`, `map_stream`, and `make_openai_chat_completion_stream` are never used [INFO] [stdout] --> src/client/web/client.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a, C: Config, T: Clone> WebClient<'a, C, T> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 65 | pub async fn send_message(&'a mut self, message: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | async fn make_chat_completion_stream(&'a mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | async fn process_stream_parts(&self, stream_parts: Vec) -> ProcessedStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn map_stream(mut stream: ChatCompletionResponseStream) -> ChatCompletionStream<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | async fn make_openai_chat_completion_stream(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AsyncToolSet` is never used [INFO] [stdout] --> src/types/toolset/toolset.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AsyncToolSet = ToolSet>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_async` is never used [INFO] [stdout] --> src/types/toolset/toolset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl ToolSet> [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | C: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 66 | { [INFO] [stdout] 67 | pub fn into_async(self) -> AsyncToolSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tool` and `try_tool_call` are never used [INFO] [stdout] --> src/types/toolset/toolset.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl ToolSet> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 80 | pub fn add_tool(mut self) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn try_tool_call( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "49c4c53a3990334f4905a1aa7c7184cb70aea4faa8ada5041f6bd7a889a25a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c4c53a3990334f4905a1aa7c7184cb70aea4faa8ada5041f6bd7a889a25a21", kill_on_drop: false }` [INFO] [stdout] 49c4c53a3990334f4905a1aa7c7184cb70aea4faa8ada5041f6bd7a889a25a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 350bdc52c8e9172ca7cf48214b025ebf74366b239967f8e04cdfe1f57599d77d [INFO] running `Command { std: "docker" "start" "-a" "350bdc52c8e9172ca7cf48214b025ebf74366b239967f8e04cdfe1f57599d77d", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `client::*` [INFO] [stdout] --> src/client/web/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use client::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RECURSIONS` is never used [INFO] [stdout] --> src/client/web/client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_RECURSIONS: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StreamPart` is never used [INFO] [stdout] --> src/client/web/client.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum StreamPart { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedStream` is never constructed [INFO] [stdout] --> src/client/web/client.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ProcessedStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolCall` is never constructed [INFO] [stdout] --> src/client/web/client.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChatCompletionStream` is never used [INFO] [stdout] --> src/client/web/client.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type ChatCompletionStream<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebClient` is never constructed [INFO] [stdout] --> src/client/web/client.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct WebClient<'a, C: Config, T: Clone> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/client/web/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, T: Clone> WebClient<'a, OpenAIConfig, T> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(toolset: AsyncToolSet, context: T) -> WebClient<'a, OpenAIConfig, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `send_message`, `make_chat_completion_stream`, `process_stream_parts`, `map_stream`, and `make_openai_chat_completion_stream` are never used [INFO] [stdout] --> src/client/web/client.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a, C: Config, T: Clone> WebClient<'a, C, T> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 65 | pub async fn send_message(&'a mut self, message: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | async fn make_chat_completion_stream(&'a mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | async fn process_stream_parts(&self, stream_parts: Vec) -> ProcessedStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn map_stream(mut stream: ChatCompletionResponseStream) -> ChatCompletionStream<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | async fn make_openai_chat_completion_stream(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AsyncToolSet` is never used [INFO] [stdout] --> src/types/toolset/toolset.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AsyncToolSet = ToolSet>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_async` is never used [INFO] [stdout] --> src/types/toolset/toolset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl ToolSet> [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | C: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 66 | { [INFO] [stdout] 67 | pub fn into_async(self) -> AsyncToolSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tool` and `try_tool_call` are never used [INFO] [stdout] --> src/types/toolset/toolset.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl ToolSet> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 80 | pub fn add_tool(mut self) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn try_tool_call( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "350bdc52c8e9172ca7cf48214b025ebf74366b239967f8e04cdfe1f57599d77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350bdc52c8e9172ca7cf48214b025ebf74366b239967f8e04cdfe1f57599d77d", kill_on_drop: false }` [INFO] [stdout] 350bdc52c8e9172ca7cf48214b025ebf74366b239967f8e04cdfe1f57599d77d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ffdb0db3f51a77fa5042de42d6f0259674e7ef7d0b84f7e5f4f25b9dbaabae3d [INFO] running `Command { std: "docker" "start" "-a" "ffdb0db3f51a77fa5042de42d6f0259674e7ef7d0b84f7e5f4f25b9dbaabae3d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `client::*` [INFO] [stderr] --> src/client/web/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use client::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_RECURSIONS` is never used [INFO] [stderr] --> src/client/web/client.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | const MAX_RECURSIONS: u32 = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `StreamPart` is never used [INFO] [stderr] --> src/client/web/client.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum StreamPart { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProcessedStream` is never constructed [INFO] [stderr] --> src/client/web/client.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | struct ProcessedStream { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ToolCall` is never constructed [INFO] [stderr] --> src/client/web/client.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct ToolCall { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ChatCompletionStream` is never used [INFO] [stderr] --> src/client/web/client.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | pub type ChatCompletionStream<'a> = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WebClient` is never constructed [INFO] [stderr] --> src/client/web/client.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct WebClient<'a, C: Config, T: Clone> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/client/web/client.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl<'a, T: Clone> WebClient<'a, OpenAIConfig, T> { [INFO] [stderr] | ------------------------------------------------- associated function in this implementation [INFO] [stderr] 52 | pub fn new(toolset: AsyncToolSet, context: T) -> WebClient<'a, OpenAIConfig, T> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `send_message`, `make_chat_completion_stream`, `process_stream_parts`, `map_stream`, and `make_openai_chat_completion_stream` are never used [INFO] [stderr] --> src/client/web/client.rs:65:18 [INFO] [stderr] | [INFO] [stderr] 64 | impl<'a, C: Config, T: Clone> WebClient<'a, C, T> { [INFO] [stderr] | ------------------------------------------------- associated items in this implementation [INFO] [stderr] 65 | pub async fn send_message(&'a mut self, message: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | async fn make_chat_completion_stream(&'a mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | async fn process_stream_parts(&self, stream_parts: Vec) -> ProcessedStream { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | fn map_stream(mut stream: ChatCompletionResponseStream) -> ChatCompletionStream<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | async fn make_openai_chat_completion_stream(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `AsyncToolSet` is never used [INFO] [stderr] --> src/types/toolset/toolset.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub type AsyncToolSet = ToolSet>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_async` is never used [INFO] [stderr] --> src/types/toolset/toolset.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 63 | / impl ToolSet> [INFO] [stderr] 64 | | where [INFO] [stderr] 65 | | C: Send + Sync + 'static, [INFO] [stderr] | |_____________________________- method in this implementation [INFO] [stderr] 66 | { [INFO] [stderr] 67 | pub fn into_async(self) -> AsyncToolSet { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_tool` and `try_tool_call` are never used [INFO] [stderr] --> src/types/toolset/toolset.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl ToolSet> { [INFO] [stderr] | ----------------------------------- methods in this implementation [INFO] [stderr] 80 | pub fn add_tool(mut self) -> Result [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub async fn try_tool_call( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hex` (bin "hex" test) generated 12 warnings (run `cargo fix --bin "hex" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hex-6b602754b0223354) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hex-73b58344c01f0fac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests hex [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 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffdb0db3f51a77fa5042de42d6f0259674e7ef7d0b84f7e5f4f25b9dbaabae3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffdb0db3f51a77fa5042de42d6f0259674e7ef7d0b84f7e5f4f25b9dbaabae3d", kill_on_drop: false }` [INFO] [stdout] ffdb0db3f51a77fa5042de42d6f0259674e7ef7d0b84f7e5f4f25b9dbaabae3d