[INFO] fetching crate anthropic-ai-sdk 0.2.26... [INFO] testing anthropic-ai-sdk-0.2.26 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate anthropic-ai-sdk 0.2.26 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anthropic-ai-sdk 0.2.26 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 777433bf17189e4508d139c98edae2e6ab3099d0fcd6eac2b906faac15d87079 [INFO] running `Command { std: "docker" "start" "-a" "777433bf17189e4508d139c98edae2e6ab3099d0fcd6eac2b906faac15d87079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "777433bf17189e4508d139c98edae2e6ab3099d0fcd6eac2b906faac15d87079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777433bf17189e4508d139c98edae2e6ab3099d0fcd6eac2b906faac15d87079", kill_on_drop: false }` [INFO] [stdout] 777433bf17189e4508d139c98edae2e6ab3099d0fcd6eac2b906faac15d87079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2cde1a95e2b64bf99c4683262181f23f399b10493675aac68cbaba77aafb4fd [INFO] running `Command { std: "docker" "start" "-a" "f2cde1a95e2b64bf99c4683262181f23f399b10493675aac68cbaba77aafb4fd", 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 cc v1.2.17 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [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 tokio v1.46.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [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 tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections 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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower-http v0.6.6 [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 1m 34s [INFO] running `Command { std: "docker" "inspect" "f2cde1a95e2b64bf99c4683262181f23f399b10493675aac68cbaba77aafb4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2cde1a95e2b64bf99c4683262181f23f399b10493675aac68cbaba77aafb4fd", kill_on_drop: false }` [INFO] [stdout] f2cde1a95e2b64bf99c4683262181f23f399b10493675aac68cbaba77aafb4fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3407eb03f0a6569feec89771d52f5e8c25f3bdaf83af7d58109ba26891c70f9 [INFO] running `Command { std: "docker" "start" "-a" "c3407eb03f0a6569feec89771d52f5e8c25f3bdaf83af7d58109ba26891c70f9", 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 4.66s [INFO] running `Command { std: "docker" "inspect" "c3407eb03f0a6569feec89771d52f5e8c25f3bdaf83af7d58109ba26891c70f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3407eb03f0a6569feec89771d52f5e8c25f3bdaf83af7d58109ba26891c70f9", kill_on_drop: false }` [INFO] [stdout] c3407eb03f0a6569feec89771d52f5e8c25f3bdaf83af7d58109ba26891c70f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 882998f966241fab80a11691e8573f288d94691e8e7ed9226251ec8b22506933 [INFO] running `Command { std: "docker" "start" "-a" "882998f966241fab80a11691e8573f288d94691e8e7ed9226251ec8b22506933", 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/anthropic_ai_sdk-92a24da446adcff9) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test types::admin::invites::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::users::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::invites::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::workspace_members::tests::limit_clamps_upper_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::files::tests::test_file_error_from_string ... 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_list_files_params_validation ... ok [INFO] [stdout] test types::model::tests::limit_clamps_to_upper_bound ... ok [INFO] [stdout] test 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::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_empty_name - should panic ... ok [INFO] [stdout] test types::admin::workspaces::tests::update_params_rejects_long_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.23s [INFO] [stdout] [INFO] [stderr] Doc-tests anthropic_ai_sdk [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/client.rs - client::AnthropicClient (line 18) - compile ... ok [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 (line 169) - compile ... ok [INFO] [stdout] test src/client.rs - client::AnthropicClient::new_admin (line 199) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::download_file (line 127) - 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::cancel_message_batch (line 208) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::delete_message_batch (line 247) - compile ... ok [INFO] [stdout] test src/message_batches.rs - message_batches::AnthropicClient::create_message_batch (line 41) - 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/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/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/admin_client.rs - admin_client::AnthropicClient::update_api_key (line 152) - compile ... ok [INFO] [stdout] test src/files.rs - files (line 8) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::upload_file (line 165) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::delete_file (line 201) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::get_file_metadata (line 95) - 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] [stdout] all doctests ran in 2.28s; merged doctests compilation took 2.22s [INFO] running `Command { std: "docker" "inspect" "882998f966241fab80a11691e8573f288d94691e8e7ed9226251ec8b22506933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882998f966241fab80a11691e8573f288d94691e8e7ed9226251ec8b22506933", kill_on_drop: false }` [INFO] [stdout] 882998f966241fab80a11691e8573f288d94691e8e7ed9226251ec8b22506933