[INFO] fetching crate anthropic-ai-sdk 0.2.26... [INFO] testing anthropic-ai-sdk-0.2.26 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate anthropic-ai-sdk 0.2.26 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate anthropic-ai-sdk 0.2.26 [INFO] finished tweaking crates.io crate anthropic-ai-sdk 0.2.26 [INFO] tweaked toml for crates.io crate anthropic-ai-sdk 0.2.26 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate anthropic-ai-sdk 0.2.26 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anthropic-ai-sdk 0.2.26 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d03aeaa228530cffbf9a25d2bc80aef7ac2a3ec8ca51ceba7cd385a416d3d457 [INFO] running `Command { std: "docker" "start" "-a" "d03aeaa228530cffbf9a25d2bc80aef7ac2a3ec8ca51ceba7cd385a416d3d457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d03aeaa228530cffbf9a25d2bc80aef7ac2a3ec8ca51ceba7cd385a416d3d457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03aeaa228530cffbf9a25d2bc80aef7ac2a3ec8ca51ceba7cd385a416d3d457", kill_on_drop: false }` [INFO] [stdout] d03aeaa228530cffbf9a25d2bc80aef7ac2a3ec8ca51ceba7cd385a416d3d457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58981da707721559f796c3b6767603934d0d002a475f0a24d0f7f9aa7202eaae [INFO] running `Command { std: "docker" "start" "-a" "58981da707721559f796c3b6767603934d0d002a475f0a24d0f7f9aa7202eaae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.1 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v2.0.12 [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 icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.26 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.54s [INFO] running `Command { std: "docker" "inspect" "58981da707721559f796c3b6767603934d0d002a475f0a24d0f7f9aa7202eaae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58981da707721559f796c3b6767603934d0d002a475f0a24d0f7f9aa7202eaae", kill_on_drop: false }` [INFO] [stdout] 58981da707721559f796c3b6767603934d0d002a475f0a24d0f7f9aa7202eaae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becfadc246449ff4f20b073dddcb1d046fca639c8cf5e6fd8fe47d5677db885c [INFO] running `Command { std: "docker" "start" "-a" "becfadc246449ff4f20b073dddcb1d046fca639c8cf5e6fd8fe47d5677db885c", kill_on_drop: false }` [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.26 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "becfadc246449ff4f20b073dddcb1d046fca639c8cf5e6fd8fe47d5677db885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becfadc246449ff4f20b073dddcb1d046fca639c8cf5e6fd8fe47d5677db885c", kill_on_drop: false }` [INFO] [stdout] becfadc246449ff4f20b073dddcb1d046fca639c8cf5e6fd8fe47d5677db885c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d871aa54728674636a5c475a02e169c55b937a08f07680ffa2f09140f8004046 [INFO] running `Command { std: "docker" "start" "-a" "d871aa54728674636a5c475a02e169c55b937a08f07680ffa2f09140f8004046", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anthropic_ai_sdk-92a24da446adcff9) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test files::tests::test_list_files_params_validation ... ok [INFO] [stdout] test types::admin::invites::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::users::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::workspace_members::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::users::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::workspace_members::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::create_params_accepts_valid_name ... ok [INFO] [stdout] test types::admin::workspaces::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::update_params_accepts_valid_name ... ok [INFO] [stdout] test types::files::tests::test_list_files_params_builder ... ok [INFO] [stdout] test types::files::tests::test_file_error_from_string ... ok [INFO] [stdout] test types::files::tests::test_list_files_params_validation ... ok [INFO] [stdout] test types::files::tests::test_list_files_params_limit_clamping ... ok [INFO] [stdout] test types::model::tests::limit_clamps_to_lower_bound ... ok [INFO] [stdout] test types::model::tests::limit_clamps_to_upper_bound ... ok [INFO] [stdout] test types::admin::invites::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::create_params_rejects_empty_name - should panic ... ok [INFO] [stdout] test types::admin::workspaces::tests::create_params_rejects_long_name - should panic ... ok [INFO] [stdout] test types::admin::workspaces::tests::update_params_rejects_long_name - should panic ... ok [INFO] [stdout] test types::admin::workspaces::tests::update_params_rejects_empty_name - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests anthropic_ai_sdk [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/admin_client.rs - admin_client::AnthropicClient::get_api_key_by_id (line 99) - compile ... ok [INFO] [stdout] test src/admin_client.rs - admin_client::AnthropicClient::list_api_keys (line 49) - compile ... ok [INFO] [stdout] test src/client.rs - client::AnthropicClient::new_admin (line 199) - compile ... ok [INFO] [stdout] test src/files.rs - files (line 8) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::delete_file (line 201) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::upload_file (line 165) - compile ... ok [INFO] [stdout] test src/client.rs - client::AnthropicClient (line 18) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::cancel_message_batch (line 208) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::get_file_metadata (line 95) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::create_message_batch (line 41) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::download_file (line 127) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::delete_message_batch (line 247) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::list_files (line 58) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::list_message_batches (line 91) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::retrieve_message_batch (line 130) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::retrieve_message_batch_results (line 169) - compile ... ok [INFO] [stdout] test src/models.rs - models::AnthropicClient::get_model (line 84) - compile ... ok [INFO] [stdout] test src/models.rs - models::AnthropicClient::list_models (line 35) - compile ... ok [INFO] [stdout] test src/messages.rs - messages::AnthropicClient::count_tokens (line 95) - compile ... ok [INFO] [stdout] test src/messages.rs - messages::AnthropicClient::create_message (line 45) - compile ... ok [INFO] [stdout] test src/admin_client.rs - admin_client::AnthropicClient::update_api_key (line 152) - compile ... ok [INFO] [stdout] test src/client.rs - client::AnthropicClient::new (line 169) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d871aa54728674636a5c475a02e169c55b937a08f07680ffa2f09140f8004046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d871aa54728674636a5c475a02e169c55b937a08f07680ffa2f09140f8004046", kill_on_drop: false }` [INFO] [stdout] d871aa54728674636a5c475a02e169c55b937a08f07680ffa2f09140f8004046