[INFO] cloning repository https://github.com/iskng/agentsdk-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskng/agentsdk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskng%2Fagentsdk-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskng%2Fagentsdk-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e78bf90b85c07c1d4eaa7ef8576c3a28863ae05f
[INFO] testing iskng/agentsdk-rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskng%2Fagentsdk-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iskng/agentsdk-rs
[INFO] removed 1 missing examples
[INFO] finished tweaking git repo https://github.com/iskng/agentsdk-rs
[INFO] tweaked toml for git repo https://github.com/iskng/agentsdk-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iskng/agentsdk-rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iskng/agentsdk-rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04c2eb5211db0322941ec11b8c5bad5f9da6bce5053bbcc669c1b9042697211c
[INFO] running `Command { std: "docker" "start" "-a" "04c2eb5211db0322941ec11b8c5bad5f9da6bce5053bbcc669c1b9042697211c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04c2eb5211db0322941ec11b8c5bad5f9da6bce5053bbcc669c1b9042697211c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04c2eb5211db0322941ec11b8c5bad5f9da6bce5053bbcc669c1b9042697211c", kill_on_drop: false }`
[INFO] [stdout] 04c2eb5211db0322941ec11b8c5bad5f9da6bce5053bbcc669c1b9042697211c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2daead39137eb9853187662ec83957f68200f8bedbad23d41183bd4feba63c99
[INFO] running `Command { std: "docker" "start" "-a" "2daead39137eb9853187662ec83957f68200f8bedbad23d41183bd4feba63c99", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustls v0.23.25
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling inventory v0.3.20
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[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 futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling typetag-impl v0.2.20
[INFO] [stderr]    Compiling async-openai-macros v0.1.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[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 futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling erased-serde v0.4.6
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling typetag v0.2.20
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling async-openai v0.28.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling agents-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/runner.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/runner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/runner.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::OnceLock`
[INFO] [stdout]  --> src/runner.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::OnceLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/runner.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/runner.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | use futures::{ Stream, channel::mpsc };
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelChoice`
[INFO] [stdout]   --> src/runner.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     ModelChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]   --> src/runner.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::tracing::trace::{ Trace, trace };
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::TypeId`
[INFO] [stdout]  --> src/handoff.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::any::TypeId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handoff.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RunContextWrapper`
[INFO] [stdout]   --> src/handoff.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::context::{RunContext, RunContextWrapper};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::error::Error`
[INFO] [stdout]   --> src/handoff.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::types::error::Error; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/model/mock.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::types::message::{ Message, Role };
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/runner.rs:438:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let mut current_agent = agent;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handoff.rs:183:15
[INFO] [stdout]     |
[INFO] [stdout] 183 |         .map(|mut message| {
[INFO] [stdout]     |               ----^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   function_call: None,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens`
[INFO] [stdout]    --> src/model/openai.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |             request.max_tokens = Some(max_tokens as u32);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionResponseMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:449:43
[INFO] [stdout]     |
[INFO] [stdout] 449 |             if let Some(function_call) = &choice.message.function_call {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tool::Tool`
[INFO] [stdout]   --> src/handoff.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::tool::Tool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_agent`
[INFO] [stdout]    --> src/runner.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         from_agent: &Agent<C>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_agent`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runner.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         config: &RunConfig,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]    --> src/runner.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]     --> src/runner.rs:1088:25
[INFO] [stdout]      |
[INFO] [stdout] 1088 |                     let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]      |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_type`
[INFO] [stdout]     --> src/runner.rs:1101:53
[INFO] [stdout]      |
[INFO] [stdout] 1101 |                 let structured_output = if let Some(output_type) = &current_agent.output_type {
[INFO] [stdout]      |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/model/openai.rs:208:29
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if let Some(name) = message.name {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced
[INFO] [stdout]   --> src/guardrail.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type GuardrailFn<C: Clone + Send + Sync + Default + 'static> = Arc<dyn Fn(&RunContext<C>, &Agent<C>, &str) -> Pin<Box<dyn Future...
[INFO] [stdout]    |                       --^^^^^---^^^^---^^^^---^^^^^^^---^^^^^^^
[INFO] [stdout]    |                       |                                 |
[INFO] [stdout]    |                       |                                 will not be checked at usage sites of the type alias
[INFO] [stdout]    |                       help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is a known limitation of the type checker that may be lifted in a future edition.
[INFO] [stdout]            see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics
[INFO] [stdout]    = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "2daead39137eb9853187662ec83957f68200f8bedbad23d41183bd4feba63c99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2daead39137eb9853187662ec83957f68200f8bedbad23d41183bd4feba63c99", kill_on_drop: false }`
[INFO] [stdout] 2daead39137eb9853187662ec83957f68200f8bedbad23d41183bd4feba63c99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f0855fb4e18640cab3f9f5035eaf1ea3b1111816d8528f00eca787fc2b06af57
[INFO] running `Command { std: "docker" "start" "-a" "f0855fb4e18640cab3f9f5035eaf1ea3b1111816d8528f00eca787fc2b06af57", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling serde_qs v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling retain_mut v0.1.9
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling fragile v2.0.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling mockall v0.12.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling deadpool v0.9.5
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling async-openai v0.28.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling wiremock v0.5.22
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling agents-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/runner.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/runner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/runner.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::OnceLock`
[INFO] [stdout]  --> src/runner.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::OnceLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/runner.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/runner.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | use futures::{ Stream, channel::mpsc };
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelChoice`
[INFO] [stdout]   --> src/runner.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     ModelChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]   --> src/runner.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::tracing::trace::{ Trace, trace };
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::TypeId`
[INFO] [stdout]  --> src/handoff.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::any::TypeId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handoff.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RunContextWrapper`
[INFO] [stdout]   --> src/handoff.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::context::{RunContext, RunContextWrapper};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::error::Error`
[INFO] [stdout]   --> src/handoff.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::types::error::Error; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/model/mock.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::types::message::{ Message, Role };
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/runner.rs:438:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let mut current_agent = agent;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handoff.rs:183:15
[INFO] [stdout]     |
[INFO] [stdout] 183 |         .map(|mut message| {
[INFO] [stdout]     |               ----^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   function_call: None,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens`
[INFO] [stdout]    --> src/model/openai.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |             request.max_tokens = Some(max_tokens as u32);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionResponseMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:449:43
[INFO] [stdout]     |
[INFO] [stdout] 449 |             if let Some(function_call) = &choice.message.function_call {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tool::Tool`
[INFO] [stdout]   --> src/handoff.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::tool::Tool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_agent`
[INFO] [stdout]    --> src/runner.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         from_agent: &Agent<C>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_agent`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runner.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         config: &RunConfig,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]    --> src/runner.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]     --> src/runner.rs:1088:25
[INFO] [stdout]      |
[INFO] [stdout] 1088 |                     let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]      |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_type`
[INFO] [stdout]     --> src/runner.rs:1101:53
[INFO] [stdout]      |
[INFO] [stdout] 1101 |                 let structured_output = if let Some(output_type) = &current_agent.output_type {
[INFO] [stdout]      |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/model/openai.rs:208:29
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if let Some(name) = message.name {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/runner.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/runner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/runner.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::OnceLock`
[INFO] [stdout]  --> src/runner.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::OnceLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/runner.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/runner.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | use futures::{ Stream, channel::mpsc };
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelChoice`
[INFO] [stdout]   --> src/runner.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     ModelChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]   --> src/runner.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::tracing::trace::{ Trace, trace };
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::TypeId`
[INFO] [stdout]  --> src/handoff.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::any::TypeId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handoff.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RunContextWrapper`
[INFO] [stdout]   --> src/handoff.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::context::{RunContext, RunContextWrapper};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::error::Error`
[INFO] [stdout]   --> src/handoff.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::types::error::Error; 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/model/mock.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::types::message::{ Message, Role };
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced
[INFO] [stdout]   --> src/guardrail.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type GuardrailFn<C: Clone + Send + Sync + Default + 'static> = Arc<dyn Fn(&RunContext<C>, &Agent<C>, &str) -> Pin<Box<dyn Future...
[INFO] [stdout]    |                       --^^^^^---^^^^---^^^^---^^^^^^^---^^^^^^^
[INFO] [stdout]    |                       |                                 |
[INFO] [stdout]    |                       |                                 will not be checked at usage sites of the type alias
[INFO] [stdout]    |                       help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is a known limitation of the type checker that may be lifted in a future edition.
[INFO] [stdout]            see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics
[INFO] [stdout]    = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/runner.rs:438:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let mut current_agent = agent;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handoff.rs:183:15
[INFO] [stdout]     |
[INFO] [stdout] 183 |         .map(|mut message| {
[INFO] [stdout]     |               ----^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   function_call: None,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens`
[INFO] [stdout]    --> src/model/openai.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |             request.max_tokens = Some(max_tokens as u32);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionResponseMessage::function_call`
[INFO] [stdout]    --> src/model/openai.rs:449:43
[INFO] [stdout]     |
[INFO] [stdout] 449 |             if let Some(function_call) = &choice.message.function_call {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tool::Tool`
[INFO] [stdout]   --> src/handoff.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::tool::Tool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_agent`
[INFO] [stdout]    --> src/runner.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         from_agent: &Agent<C>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_agent`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runner.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         config: &RunConfig,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]    --> src/runner.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_wrapper`
[INFO] [stdout]     --> src/runner.rs:1088:25
[INFO] [stdout]      |
[INFO] [stdout] 1088 |                     let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stdout]      |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_type`
[INFO] [stdout]     --> src/runner.rs:1101:53
[INFO] [stdout]      |
[INFO] [stdout] 1101 |                 let structured_output = if let Some(output_type) = &current_agent.output_type {
[INFO] [stdout]      |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/model/openai.rs:208:29
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if let Some(name) = message.name {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced
[INFO] [stdout]   --> src/guardrail.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type GuardrailFn<C: Clone + Send + Sync + Default + 'static> = Arc<dyn Fn(&RunContext<C>, &Agent<C>, &str) -> Pin<Box<dyn Future...
[INFO] [stdout]    |                       --^^^^^---^^^^---^^^^---^^^^^^^---^^^^^^^
[INFO] [stdout]    |                       |                                 |
[INFO] [stdout]    |                       |                                 will not be checked at usage sites of the type alias
[INFO] [stdout]    |                       help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is a known limitation of the type checker that may be lifted in a future edition.
[INFO] [stdout]            see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics
[INFO] [stdout]    = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tool`
[INFO] [stdout]  --> examples/basic/tools_simple.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use agents_sdk::{named_function_tool, Tool};
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InputGuardrail`
[INFO] [stdout]  --> examples/basic/guardrails.rs:2:55
[INFO] [stdout]   |
[INFO] [stdout] 2 | use agents_sdk::guardrail::{ GuardrailFunctionOutput, InputGuardrail };
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "f0855fb4e18640cab3f9f5035eaf1ea3b1111816d8528f00eca787fc2b06af57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0855fb4e18640cab3f9f5035eaf1ea3b1111816d8528f00eca787fc2b06af57", kill_on_drop: false }`
[INFO] [stdout] f0855fb4e18640cab3f9f5035eaf1ea3b1111816d8528f00eca787fc2b06af57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e1d45d7b22a28b1156ac6b025c60dd0826903e8d9716c183504dfc29d272977f
[INFO] running `Command { std: "docker" "start" "-a" "e1d45d7b22a28b1156ac6b025c60dd0826903e8d9716c183504dfc29d272977f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/runner.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::future::Future`
[INFO] [stderr]  --> src/runner.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::future::Future;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::pin::Pin`
[INFO] [stderr]  --> src/runner.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::pin::Pin;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::OnceLock`
[INFO] [stderr]  --> src/runner.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::sync::OnceLock;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/runner.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::env;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Stream`
[INFO] [stderr]   --> src/runner.rs:15:16
[INFO] [stderr]    |
[INFO] [stderr] 15 | use futures::{ Stream, channel::mpsc };
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ModelChoice`
[INFO] [stderr]   --> src/runner.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     ModelChoice,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `trace`
[INFO] [stderr]   --> src/runner.rs:35:37
[INFO] [stderr]    |
[INFO] [stderr] 35 | use crate::tracing::trace::{ Trace, trace };
[INFO] [stderr]    |                                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::any::TypeId`
[INFO] [stderr]  --> src/handoff.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::any::TypeId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_trait::async_trait`
[INFO] [stderr]   --> src/handoff.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use async_trait::async_trait;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RunContextWrapper`
[INFO] [stderr]   --> src/handoff.rs:12:41
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::types::context::{RunContext, RunContextWrapper};
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::types::error::Error`
[INFO] [stderr]   --> src/handoff.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::types::error::Error; 
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Role`
[INFO] [stderr]  --> src/model/mock.rs:8:39
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::types::message::{ Message, Role };
[INFO] [stderr]   |                                       ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/runner.rs:438:13
[INFO] [stderr]     |
[INFO] [stderr] 438 |         let mut current_agent = agent;
[INFO] [stderr]     |             ----^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/handoff.rs:183:15
[INFO] [stderr]     |
[INFO] [stderr] 183 |         .map(|mut message| {
[INFO] [stderr]     |               ----^^^^^^^
[INFO] [stderr]     |               |
[INFO] [stderr]     |               help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call`
[INFO] [stderr]    --> src/model/openai.rs:154:29
[INFO] [stderr]     |
[INFO] [stderr] 154 | ...                   function_call: None,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens`
[INFO] [stderr]    --> src/model/openai.rs:349:13
[INFO] [stderr]     |
[INFO] [stderr] 349 |             request.max_tokens = Some(max_tokens as u32);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `async_openai::types::ChatCompletionResponseMessage::function_call`
[INFO] [stderr]    --> src/model/openai.rs:449:43
[INFO] [stderr]     |
[INFO] [stderr] 449 |             if let Some(function_call) = &choice.message.function_call {
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::tool::Tool`
[INFO] [stderr]   --> src/handoff.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use crate::tool::Tool;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `from_agent`
[INFO] [stderr]    --> src/runner.rs:233:9
[INFO] [stderr]     |
[INFO] [stderr] 233 |         from_agent: &Agent<C>,
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_agent`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/runner.rs:238:9
[INFO] [stderr]     |
[INFO] [stderr] 238 |         config: &RunConfig,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx_wrapper`
[INFO] [stderr]    --> src/runner.rs:467:21
[INFO] [stderr]     |
[INFO] [stderr] 467 |                 let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stderr]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx_wrapper`
[INFO] [stderr]     --> src/runner.rs:1088:25
[INFO] [stderr]      |
[INFO] [stderr] 1088 |                     let ctx_wrapper = RunContextWrapper::new(&context);
[INFO] [stderr]      |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_wrapper`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `output_type`
[INFO] [stderr]     --> src/runner.rs:1101:53
[INFO] [stderr]      |
[INFO] [stderr] 1101 |                 let structured_output = if let Some(output_type) = &current_agent.output_type {
[INFO] [stderr]      |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> src/model/openai.rs:208:29
[INFO] [stderr]     |
[INFO] [stderr] 208 |                 if let Some(name) = message.name {
[INFO] [stderr]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: bounds on generic parameters in type aliases are not enforced
[INFO] [stderr]   --> src/guardrail.rs:24:25
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub type GuardrailFn<C: Clone + Send + Sync + Default + 'static> = Arc<dyn Fn(&RunContext<C>, &Agent<C>, &str) -> Pin<Box<dyn Future...
[INFO] [stderr]    |                       --^^^^^---^^^^---^^^^---^^^^^^^---^^^^^^^
[INFO] [stderr]    |                       |                                 |
[INFO] [stderr]    |                       |                                 will not be checked at usage sites of the type alias
[INFO] [stderr]    |                       help: remove this bound
[INFO] [stderr]    |
[INFO] [stderr]    = note: this is a known limitation of the type checker that may be lifted in a future edition.
[INFO] [stderr]            see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information
[INFO] [stderr]    = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics
[INFO] [stderr]    = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `agents-sdk` (lib) generated 26 warnings (run `cargo fix --lib -p agents-sdk` to apply 21 suggestions)
[INFO] [stderr] warning: unused import: `InputGuardrail`
[INFO] [stderr]  --> examples/basic/guardrails.rs:2:55
[INFO] [stderr]   |
[INFO] [stderr] 2 | use agents_sdk::guardrail::{ GuardrailFunctionOutput, InputGuardrail };
[INFO] [stderr]   |                                                       ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Tool`
[INFO] [stderr]  --> examples/basic/tools_simple.rs:1:39
[INFO] [stderr]   |
[INFO] [stderr] 1 | use agents_sdk::{named_function_tool, Tool};
[INFO] [stderr]   |                                       ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `agents-sdk` (example "guardrails") generated 1 warning (run `cargo fix --example "guardrails" -p agents-sdk` to apply 1 suggestion)
[INFO] [stderr] warning: `agents-sdk` (lib test) generated 26 warnings (26 duplicates)
[INFO] [stderr] warning: `agents-sdk` (example "tools_simple") generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/agents-sdk/b3961fe64e4aa729/deps/agents_sdk-b3961fe64e4aa729)
[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]    Doc-tests agents_sdk
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 19) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 19) stdout ----
[INFO] [stdout] error[E0283]: type annotations needed for `agents_sdk::Agent<_>`
[INFO] [stdout]    --> src/lib.rs:27:9
[INFO] [stdout]     |
[INFO] [stdout]  27 |     let agent = Agent::new("Assistant", "You only respond in haikus.");
[INFO] [stdout]     |         ^^^^^   ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: Clone`
[INFO] [stdout] note: required by a bound in `agents_sdk::Agent`
[INFO] [stdout]    --> src/agent.rs:159:35
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Agent<C = ()> where C: Clone + Send + Sync + Default + 'static {
[INFO] [stdout]     |                                   ^^^^^ required by this bound in `Agent`
[INFO] [stdout] help: consider giving `agent` an explicit type, where the type for type parameter `C` is specified
[INFO] [stdout]     |
[INFO] [stdout]  27 |     let agent: agents_sdk::Agent<C> = Agent::new("Assistant", "You only respond in haikus.");
[INFO] [stdout]     |              ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e1d45d7b22a28b1156ac6b025c60dd0826903e8d9716c183504dfc29d272977f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1d45d7b22a28b1156ac6b025c60dd0826903e8d9716c183504dfc29d272977f", kill_on_drop: false }`
[INFO] [stdout] e1d45d7b22a28b1156ac6b025c60dd0826903e8d9716c183504dfc29d272977f
