[INFO] fetching crate gemini-rust 1.5.1... [INFO] testing gemini-rust-1.5.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate gemini-rust 1.5.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate gemini-rust 1.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gemini-rust 1.5.1 [INFO] tweaked toml for crates.io crate gemini-rust 1.5.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gemini-rust 1.5.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gemini-rust 1.5.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3cf2abb96afce12337ac280323518fcdf34bc3b74fa22434dea8d9429e0ece7 [INFO] running `Command { std: "docker" "start" "-a" "c3cf2abb96afce12337ac280323518fcdf34bc3b74fa22434dea8d9429e0ece7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3cf2abb96afce12337ac280323518fcdf34bc3b74fa22434dea8d9429e0ece7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3cf2abb96afce12337ac280323518fcdf34bc3b74fa22434dea8d9429e0ece7", kill_on_drop: false }` [INFO] [stdout] c3cf2abb96afce12337ac280323518fcdf34bc3b74fa22434dea8d9429e0ece7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f949139e6ee2f3de1e5748c447754c5f5b2d8426e18869b821829e120453de4b [INFO] running `Command { std: "docker" "start" "-a" "f949139e6ee2f3de1e5748c447754c5f5b2d8426e18869b821829e120453de4b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling snafu v0.8.9 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling gemini-rust v1.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "f949139e6ee2f3de1e5748c447754c5f5b2d8426e18869b821829e120453de4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f949139e6ee2f3de1e5748c447754c5f5b2d8426e18869b821829e120453de4b", kill_on_drop: false }` [INFO] [stdout] f949139e6ee2f3de1e5748c447754c5f5b2d8426e18869b821829e120453de4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb07eda708f4e8d4d04af193acdf699b2b61ab5f6f6a1dc5ab1c8663815fa66b [INFO] running `Command { std: "docker" "start" "-a" "eb07eda708f4e8d4d04af193acdf699b2b61ab5f6f6a1dc5ab1c8663815fa66b", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling display-error-chain v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.12 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling gemini-rust v1.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "eb07eda708f4e8d4d04af193acdf699b2b61ab5f6f6a1dc5ab1c8663815fa66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb07eda708f4e8d4d04af193acdf699b2b61ab5f6f6a1dc5ab1c8663815fa66b", kill_on_drop: false }` [INFO] [stdout] eb07eda708f4e8d4d04af193acdf699b2b61ab5f6f6a1dc5ab1c8663815fa66b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3de9ff37c06d7e6f63ec7e12a9ce456a064f619bfa730197592687104747103a [INFO] running `Command { std: "docker" "start" "-a" "3de9ff37c06d7e6f63ec7e12a9ce456a064f619bfa730197592687104747103a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gemini_rust-bde9c048022a3b00) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_function_call_with_thought_signature ... ok [INFO] [stdout] test tests::test_function_call_without_thought_signature ... ok [INFO] [stdout] test tests::test_model_deserialization ... ok [INFO] [stdout] test tests::test_thought_signature_deserialization ... ok [INFO] [stdout] test tests::test_content_creation_with_thought_signature ... ok [INFO] [stdout] test tests::test_text_with_thought_signature ... ok [INFO] [stdout] test tests::test_multi_turn_content_structure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gemini_rust [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/client.rs - client::GeminiBuilder (line 752) - compile ... ok [INFO] [stdout] test src/client.rs - client::GeminiBuilder (line 765) - compile ... ok [INFO] [stdout] test src/client.rs - client::GeminiClient::perform_request (line 257) - compile ... ok [INFO] [stdout] test src/batch/handle.rs - batch::handle (line 47) - compile ... ok [INFO] [stdout] test src/client.rs - client::GeminiClient::perform_request (line 222) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] test src/lib.rs - prelude (line 40) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::GeminiClient::perform_request (line 222) stdout ---- [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/client.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | async fn examples(client: &GeminiClient) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: serde_core::de::Deserialize<'de>` will fail [INFO] [stdout] --> src/client.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | async |r| r.json().await.context(DecodeResponseSnafu), [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 234 ~ let _response: () = client [INFO] [stdout] 235 | .perform_request( [INFO] [stdout] ... [INFO] [stdout] 241 | // GET request with JSON response [INFO] [stdout] 242 ~ let _response: () = client [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::GeminiClient::perform_request (line 222) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3de9ff37c06d7e6f63ec7e12a9ce456a064f619bfa730197592687104747103a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de9ff37c06d7e6f63ec7e12a9ce456a064f619bfa730197592687104747103a", kill_on_drop: false }` [INFO] [stdout] 3de9ff37c06d7e6f63ec7e12a9ce456a064f619bfa730197592687104747103a