[INFO] fetching crate tiny-agent-loop 0.1.0...
[INFO] testing tiny-agent-loop-0.1.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate tiny-agent-loop 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate tiny-agent-loop 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate tiny-agent-loop 0.1.0
[INFO] tweaked toml for crates.io crate tiny-agent-loop 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tiny-agent-loop 0.1.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tiny-agent-loop 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-openai-macros v0.1.1
[INFO] [stderr]   Downloaded async-openai v0.33.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9d8a69f7546026cb06311d3329bcff1ef96055e14d5cfd493735fa067888f5f
[INFO] running `Command { std: "docker" "start" "-a" "b9d8a69f7546026cb06311d3329bcff1ef96055e14d5cfd493735fa067888f5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9d8a69f7546026cb06311d3329bcff1ef96055e14d5cfd493735fa067888f5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9d8a69f7546026cb06311d3329bcff1ef96055e14d5cfd493735fa067888f5f", kill_on_drop: false }`
[INFO] [stdout] b9d8a69f7546026cb06311d3329bcff1ef96055e14d5cfd493735fa067888f5f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7e50adcaf40fa4c3edd32df5d63b12482b50fab0c2b51a25fd7145d77338543
[INFO] running `Command { std: "docker" "start" "-a" "a7e50adcaf40fa4c3edd32df5d63b12482b50fab0c2b51a25fd7145d77338543", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling async-openai-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.10
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling async-openai v0.33.1
[INFO] [stderr]    Compiling tiny-agent-loop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.61s
[INFO] running `Command { std: "docker" "inspect" "a7e50adcaf40fa4c3edd32df5d63b12482b50fab0c2b51a25fd7145d77338543", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7e50adcaf40fa4c3edd32df5d63b12482b50fab0c2b51a25fd7145d77338543", kill_on_drop: false }`
[INFO] [stdout] a7e50adcaf40fa4c3edd32df5d63b12482b50fab0c2b51a25fd7145d77338543
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfa54d4c9d93f2b8893ce34b632b6c031bbc8b8f09ba7e6295e169b6870ae51c
[INFO] running `Command { std: "docker" "start" "-a" "bfa54d4c9d93f2b8893ce34b632b6c031bbc8b8f09ba7e6295e169b6870ae51c", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling async-openai v0.33.1
[INFO] [stderr]    Compiling tiny-agent-loop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.02s
[INFO] running `Command { std: "docker" "inspect" "bfa54d4c9d93f2b8893ce34b632b6c031bbc8b8f09ba7e6295e169b6870ae51c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfa54d4c9d93f2b8893ce34b632b6c031bbc8b8f09ba7e6295e169b6870ae51c", kill_on_drop: false }`
[INFO] [stdout] bfa54d4c9d93f2b8893ce34b632b6c031bbc8b8f09ba7e6295e169b6870ae51c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3f4179334dc4ae869b74d2bb75cb7f8ba0aa210e61a1b22b9426bddf0d0c657b
[INFO] running `Command { std: "docker" "start" "-a" "3f4179334dc4ae869b74d2bb75cb7f8ba0aa210e61a1b22b9426bddf0d0c657b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tiny_agent_loop-2a4cb9b574b125ef)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tiny_agent_loop
[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 1 test
[INFO] [stdout] test src/../README.md - (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 12) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AddArgs` in this scope
[INFO] [stdout]   --> src/../README.md:15:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |         tool("add", "Add two integers together", |AddArgs { a, b }| async move {
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ControlFlow` in this scope
[INFO] [stdout]   --> src/../README.md:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             ControlFlow::Continue(format!("Result: {}", a + b))
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `ControlFlow`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::ops::ControlFlow;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ResultArgs` in this scope
[INFO] [stdout]   --> src/../README.md:18:69
[INFO] [stdout]    |
[INFO] [stdout] 18 |         tool("show_result", "Presents a result to the user", |args: ResultArgs| async move {
[INFO] [stdout]    |                                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ControlFlow` in this scope
[INFO] [stdout]   --> src/../README.md:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             ControlFlow::Break(args.result)
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `ControlFlow`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::ops::ControlFlow;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ControlFlow` in this scope
[INFO] [stdout]   --> src/../README.md:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         ControlFlow::Continue("please terminate with the show_result tool".into())
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared type `ControlFlow`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::ops::ControlFlow;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/../README.md:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     &client,
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:28:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_12_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 28 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Agent` in this scope
[INFO] [stdout]   --> src/../README.md:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let result = Agent::new(
[INFO] [stdout]    |              ^^^^^ use of undeclared type `Agent`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `tool` in this scope
[INFO] [stdout]   --> src/../README.md:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         tool("add", "Add two integers together", |AddArgs { a, b }| async move {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `tool` in this scope
[INFO] [stdout]   --> src/../README.md:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         tool("show_result", "Presents a result to the user", |args: ResultArgs| async move {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FinishHandler` in this scope
[INFO] [stdout]   --> src/../README.md:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     FinishHandler::from(|| async {
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared type `FinishHandler`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.57s; merged doctests compilation took 0.23s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3f4179334dc4ae869b74d2bb75cb7f8ba0aa210e61a1b22b9426bddf0d0c657b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f4179334dc4ae869b74d2bb75cb7f8ba0aa210e61a1b22b9426bddf0d0c657b", kill_on_drop: false }`
[INFO] [stdout] 3f4179334dc4ae869b74d2bb75cb7f8ba0aa210e61a1b22b9426bddf0d0c657b
