[INFO] cloning repository https://github.com/longlongyang/The-Prompt-of-Prompt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/longlongyang/The-Prompt-of-Prompt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonglongyang%2FThe-Prompt-of-Prompt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonglongyang%2FThe-Prompt-of-Prompt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a59edb99f057b7a92b8c8885e44c378915df8513
[INFO] testing longlongyang/The-Prompt-of-Prompt against 1.93.0 for beta-1.94-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonglongyang%2FThe-Prompt-of-Prompt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/longlongyang/The-Prompt-of-Prompt
[INFO] finished tweaking git repo https://github.com/longlongyang/The-Prompt-of-Prompt
[INFO] tweaked toml for git repo https://github.com/longlongyang/The-Prompt-of-Prompt written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/longlongyang/The-Prompt-of-Prompt on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/longlongyang/The-Prompt-of-Prompt 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.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.7
[INFO] [stderr]   Downloaded quote v1.0.42
[INFO] [stderr]   Downloaded writeable v0.6.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.103
[INFO] [stderr]   Downloaded windows-registry v0.6.1
[INFO] [stderr]   Downloaded windows-result v0.4.1
[INFO] [stderr]   Downloaded system-configuration-sys v0.6.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.1
[INFO] [stderr]   Downloaded windows-strings v0.5.1
[INFO] [stderr]   Downloaded hyper-tls v0.6.0
[INFO] [stderr]   Downloaded system-configuration v0.6.1
[INFO] [stderr]   Downloaded tempfile v3.23.0
[INFO] [stderr]   Downloaded tracing v0.1.43
[INFO] [stderr]   Downloaded tracing-core v0.1.35
[INFO] [stderr]   Downloaded icu_normalizer v2.1.1
[INFO] [stderr]   Downloaded cc v1.2.48
[INFO] [stderr]   Downloaded indexmap v2.12.1
[INFO] [stderr]   Downloaded hashbrown v0.16.1
[INFO] [stderr]   Downloaded hyper v1.8.1
[INFO] [stderr]   Downloaded tower-http v0.6.7
[INFO] [stderr]   Downloaded icu_properties_data v2.1.1
[INFO] [stderr]   Downloaded zerovec v0.11.5
[INFO] [stderr]   Downloaded idna v1.1.0
[INFO] [stderr]   Downloaded hyper-util v0.1.19
[INFO] [stderr]   Downloaded openssl v0.10.75
[INFO] [stderr]   Downloaded syn v2.0.111
[INFO] [stderr]   Downloaded http v1.4.0
[INFO] [stderr]   Downloaded icu_normalizer_data v2.1.1
[INFO] [stderr]   Downloaded zerotrie v0.2.3
[INFO] [stderr]   Downloaded icu_collections v2.1.1
[INFO] [stderr]   Downloaded rustls v0.23.35
[INFO] [stderr]   Downloaded icu_locale_core v2.1.1
[INFO] [stderr]   Downloaded serde_json v1.0.145
[INFO] [stderr]   Downloaded openssl-sys v0.9.111
[INFO] [stderr]   Downloaded getrandom v0.3.4
[INFO] [stderr]   Downloaded rustix v1.1.2
[INFO] [stderr]   Downloaded litemap v0.8.1
[INFO] [stderr]   Downloaded tinystr v0.8.2
[INFO] [stderr]   Downloaded icu_provider v2.1.1
[INFO] [stderr]   Downloaded web-sys v0.3.83
[INFO] [stderr]   Downloaded icu_properties v2.1.1
[INFO] [stderr]   Downloaded rustls-pki-types v1.13.1
[INFO] [stderr]   Downloaded schannel v0.1.28
[INFO] [stderr]   Downloaded url v2.5.7
[INFO] [stderr]   Downloaded zeroize v1.8.2
[INFO] [stderr]   Downloaded security-framework-sys v2.15.0
[INFO] [stderr]   Downloaded yoke v0.8.1
[INFO] [stderr]   Downloaded zerovec-derive v0.11.2
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.5
[INFO] [stderr]   Downloaded percent-encoding v2.3.2
[INFO] [stderr]   Downloaded potential_utf v0.1.4
[INFO] [stderr]   Downloaded yoke-derive v0.8.1
[INFO] [stderr]   Downloaded form_urlencoded v1.2.2
[INFO] [stderr]   Downloaded libc v0.2.178
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b32cdd381714fee1c757be48036313d5e579ef013703fef2b89bdcc44af7c5d7
[INFO] running `Command { std: "docker" "start" "-a" "b32cdd381714fee1c757be48036313d5e579ef013703fef2b89bdcc44af7c5d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b32cdd381714fee1c757be48036313d5e579ef013703fef2b89bdcc44af7c5d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b32cdd381714fee1c757be48036313d5e579ef013703fef2b89bdcc44af7c5d7", kill_on_drop: false }`
[INFO] [stdout] b32cdd381714fee1c757be48036313d5e579ef013703fef2b89bdcc44af7c5d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 497deb9afe2051e2eb80d32db24c0b4cdd0a1930f2f59fcce477b6f075a88b07
[INFO] running `Command { std: "docker" "start" "-a" "497deb9afe2051e2eb80d32db24c0b4cdd0a1930f2f59fcce477b6f075a88b07", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling iri-string v0.7.9
[INFO] [stderr]    Compiling rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling gemini-client v0.1.0 (/opt/rustwide/workdir/crates/gemini-client)
[INFO] [stderr]    Compiling prompt-improver v0.1.0 (/opt/rustwide/workdir/crates/prompt-improver)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s
[INFO] running `Command { std: "docker" "inspect" "497deb9afe2051e2eb80d32db24c0b4cdd0a1930f2f59fcce477b6f075a88b07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "497deb9afe2051e2eb80d32db24c0b4cdd0a1930f2f59fcce477b6f075a88b07", kill_on_drop: false }`
[INFO] [stdout] 497deb9afe2051e2eb80d32db24c0b4cdd0a1930f2f59fcce477b6f075a88b07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31a4dcef08377ef75052ed037806278fb2fee72ad9bfaba74f7a740d622029b1
[INFO] running `Command { std: "docker" "start" "-a" "31a4dcef08377ef75052ed037806278fb2fee72ad9bfaba74f7a740d622029b1", kill_on_drop: false }`
[INFO] [stderr]    Compiling gemini-client v0.1.0 (/opt/rustwide/workdir/crates/gemini-client)
[INFO] [stderr]    Compiling prompt-improver v0.1.0 (/opt/rustwide/workdir/crates/prompt-improver)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.95s
[INFO] running `Command { std: "docker" "inspect" "31a4dcef08377ef75052ed037806278fb2fee72ad9bfaba74f7a740d622029b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31a4dcef08377ef75052ed037806278fb2fee72ad9bfaba74f7a740d622029b1", kill_on_drop: false }`
[INFO] [stdout] 31a4dcef08377ef75052ed037806278fb2fee72ad9bfaba74f7a740d622029b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 466da6db187fb7ca5497fbfb7217ed80ad77b3f241ec572695da0853f4b02cc3
[INFO] running `Command { std: "docker" "start" "-a" "466da6db187fb7ca5497fbfb7217ed80ad77b3f241ec572695da0853f4b02cc3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gemini_client-080c2f30b824a341)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gemini_cli-c7f06bf32c6e3283)
[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] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prompt_improver-061ff7fdb56017e3)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests gemini_client
[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 13 tests
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::create_batch_job (line 730) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::generate_videos (line 927) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/lib.rs - (line 7) - compile ... ok
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_logged (line 427) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::upload_file (line 382) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::FileLogger (line 2155) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::wait_for_batch_job (line 861) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_bytes (line 459) - compile ... FAILED
[INFO] [stdout] test crates/gemini-client/src/types.rs - types::BoundingBox2D (line 1539) ... FAILED
[INFO] [stdout] test crates/gemini-client/src/types.rs - types::thought_signatures (line 351) ... ok
[INFO] [stdout] test crates/gemini-client/src/types.rs - types::json_schema::object_ordered (line 1794) ... ok
[INFO] [stdout] test crates/gemini-client/src/types.rs - types::json_schema (line 1695) ... ok
[INFO] [stdout] test crates/gemini-client/src/types.rs - types::GenerationConfig::structured_output (line 1196) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::create_batch_job (line 730) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:743:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_730_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | ).await?;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::generate_videos (line 927) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:937:49
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_927_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let operation = client.generate_videos(request).await?;
[INFO] [stdout]    |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:941:58
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_927_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 |     let op = client.get_video_operation(&operation.name).await?;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:946:60
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_927_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 |     tokio::time::sleep(std::time::Duration::from_secs(10)).await;
[INFO] [stdout]    |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_logged (line 427) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:435:66
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_427_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let file = client.upload_file_logged("audio.mp3", None, &logger).await?;
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:438:62
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_427_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | if let Some(mapping) = logger.find_by_local_path("audio.mp3")? {
[INFO] [stdout]    |                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_427_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                  +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::upload_file (line 382) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:389:58
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_382_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let file = client.upload_file("path/to/audio.mp3", None).await?;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:398:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_382_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | ).await?;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_file_data` found for struct `GenerateContentRequest` in the current scope
[INFO] [stdout]     --> crates/gemini-client/src/client.rs:394:44
[INFO] [stdout]      |
[INFO] [stdout]   15 |     gemini_client::GenerateContentRequest::with_file_data(
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^ function or associated item not found in `GenerateContentRequest`
[INFO] [stdout]      |
[INFO] [stdout] note: if you're trying to build a new `GenerateContentRequest` consider using one of the following associated functions:
[INFO] [stdout]       GenerateContentRequest::new
[INFO] [stdout]       GenerateContentRequest::with_text
[INFO] [stdout]     --> /opt/rustwide/workdir/crates/gemini-client/src/client.rs:1083:5
[INFO] [stdout]      |
[INFO] [stdout] 1083 |     pub fn new(contents: Vec<Content>) -> Self {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1090 |     pub fn with_text(text: impl Into<String>) -> Self {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::FileLogger (line 2155) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:2163:50
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_2155_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let file = client.upload_file("audio.mp3", None).await?;
[INFO] [stdout]    |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:2164:31
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_2155_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | logger.log("audio.mp3", &file)?;
[INFO] [stdout]    |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_2155_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                   +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:2167:33
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_2155_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 | for mapping in logger.read_all()? {
[INFO] [stdout]    |                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_2155_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                   +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::wait_for_batch_job (line 861) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:873:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_861_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | ).await?;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:876:83
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_861_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | let completed_job = client.wait_for_batch_job(&job.name, Duration::from_secs(30)).await?;
[INFO] [stdout]    |                                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> crates/gemini-client/src/client.rs:880:98
[INFO] [stdout]    |
[INFO] [stdout] 22 |         println!("Key: {:?}, Response: {:?}", response.key, response.response.as_ref().and_then(|r| r.text()));
[INFO] [stdout]    |                                                                                                  ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 22 |         println!("Key: {:?}, Response: {:?}", response.key, response.response.as_ref().and_then(|r: /* Type */| r.text()));
[INFO] [stdout]    |                                                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_bytes (line 459) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> crates/gemini-client/src/client.rs:465:71
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_gemini_client_src_client_rs_459_0() {
[INFO] [stdout]   |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let file = client.upload_file_bytes(&bytes, "audio/mpeg", "my-audio").await?;
[INFO] [stdout]   |                                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/gemini-client/src/types.rs - types::BoundingBox2D (line 1539) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `box_2d` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1540:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let abs_x1 = (box_2d[1] as f32 / 1000.0 * image_width as f32) as i32;
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `image_width` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1540:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | let abs_x1 = (box_2d[1] as f32 / 1000.0 * image_width as f32) as i32;
[INFO] [stdout]   |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `box_2d` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1541:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let abs_y1 = (box_2d[0] as f32 / 1000.0 * image_height as f32) as i32;
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `image_height` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1541:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | let abs_y1 = (box_2d[0] as f32 / 1000.0 * image_height as f32) as i32;
[INFO] [stdout]   |                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `box_2d` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1542:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let abs_x2 = (box_2d[3] as f32 / 1000.0 * image_width as f32) as i32;
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `image_width` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1542:43
[INFO] [stdout]   |
[INFO] [stdout] 5 | let abs_x2 = (box_2d[3] as f32 / 1000.0 * image_width as f32) as i32;
[INFO] [stdout]   |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `box_2d` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1543:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let abs_y2 = (box_2d[2] as f32 / 1000.0 * image_height as f32) as i32;
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `image_height` in this scope
[INFO] [stdout]  --> crates/gemini-client/src/types.rs:1543:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | let abs_y2 = (box_2d[2] as f32 / 1000.0 * image_height as f32) as i32;
[INFO] [stdout]   |                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::FileLogger (line 2155)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::create_batch_job (line 730)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::generate_videos (line 927)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::upload_file (line 382)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_bytes (line 459)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::upload_file_logged (line 427)
[INFO] [stdout]     crates/gemini-client/src/client.rs - client::GeminiClient::wait_for_batch_job (line 861)
[INFO] [stdout]     crates/gemini-client/src/types.rs - types::BoundingBox2D (line 1539)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p gemini-client --doc`
[INFO] running `Command { std: "docker" "inspect" "466da6db187fb7ca5497fbfb7217ed80ad77b3f241ec572695da0853f4b02cc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "466da6db187fb7ca5497fbfb7217ed80ad77b3f241ec572695da0853f4b02cc3", kill_on_drop: false }`
[INFO] [stdout] 466da6db187fb7ca5497fbfb7217ed80ad77b3f241ec572695da0853f4b02cc3
