[INFO] fetching crate anthropic-ai-sdk 0.2.25... [INFO] testing anthropic-ai-sdk-0.2.25 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate anthropic-ai-sdk 0.2.25 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate anthropic-ai-sdk 0.2.25 [INFO] finished tweaking crates.io crate anthropic-ai-sdk 0.2.25 [INFO] tweaked toml for crates.io crate anthropic-ai-sdk 0.2.25 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anthropic-ai-sdk 0.2.25 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anthropic-ai-sdk 0.2.25 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1eb93dca3c2e462dff07e6b08f539eb7582170a78e7ddfad140d661e50a095 [INFO] running `Command { std: "docker" "start" "-a" "db1eb93dca3c2e462dff07e6b08f539eb7582170a78e7ddfad140d661e50a095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1eb93dca3c2e462dff07e6b08f539eb7582170a78e7ddfad140d661e50a095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1eb93dca3c2e462dff07e6b08f539eb7582170a78e7ddfad140d661e50a095", kill_on_drop: false }` [INFO] [stdout] db1eb93dca3c2e462dff07e6b08f539eb7582170a78e7ddfad140d661e50a095 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99bdf4b1838ce10f05e2a33c4af15657fa095fad82a3f7964112c8a66217d6c7 [INFO] running `Command { std: "docker" "start" "-a" "99bdf4b1838ce10f05e2a33c4af15657fa095fad82a3f7964112c8a66217d6c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [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 futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.0 [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_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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.25 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.19s [INFO] running `Command { std: "docker" "inspect" "99bdf4b1838ce10f05e2a33c4af15657fa095fad82a3f7964112c8a66217d6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bdf4b1838ce10f05e2a33c4af15657fa095fad82a3f7964112c8a66217d6c7", kill_on_drop: false }` [INFO] [stdout] 99bdf4b1838ce10f05e2a33c4af15657fa095fad82a3f7964112c8a66217d6c7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb0b9c8ca74b56b695ca768f59e99c847830525753046cae9e805cf6255148d1 [INFO] running `Command { std: "docker" "start" "-a" "bb0b9c8ca74b56b695ca768f59e99c847830525753046cae9e805cf6255148d1", kill_on_drop: false }` [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.25 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "bb0b9c8ca74b56b695ca768f59e99c847830525753046cae9e805cf6255148d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0b9c8ca74b56b695ca768f59e99c847830525753046cae9e805cf6255148d1", kill_on_drop: false }` [INFO] [stdout] bb0b9c8ca74b56b695ca768f59e99c847830525753046cae9e805cf6255148d1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ecdc070016724c74362652b6ae1dbbccb9868ffa7912d164062db6c703ea32e4 [INFO] running `Command { std: "docker" "start" "-a" "ecdc070016724c74362652b6ae1dbbccb9868ffa7912d164062db6c703ea32e4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anthropic_ai_sdk-c2b0dcaba2a40f5f) [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_lower_bound ... ok [INFO] [stdout] test types::admin::invites::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::users::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::admin::users::tests::limit_clamps_upper_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::workspace_members::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::limit_clamps_upper_bound ... ok [INFO] [stdout] test types::admin::workspaces::tests::limit_clamps_lower_bound ... ok [INFO] [stdout] test types::files::tests::test_list_files_params_builder ... ok [INFO] [stdout] test types::model::tests::limit_clamps_to_upper_bound ... 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::update_params_accepts_valid_name ... 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::admin::workspaces::tests::create_params_rejects_long_name - should panic ... ok [INFO] [stdout] test types::admin::workspaces::tests::create_params_rejects_empty_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.17s [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::list_api_keys (line 49) - compile ... ok [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::update_api_key (line 152) - 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 (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::download_file (line 127) - compile ... ok [INFO] [stdout] test src/files.rs - files::FileClient::get_file_metadata (line 95) - 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::list_message_batches (line 91) - 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::upload_file (line 165) - 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] [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" "ecdc070016724c74362652b6ae1dbbccb9868ffa7912d164062db6c703ea32e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdc070016724c74362652b6ae1dbbccb9868ffa7912d164062db6c703ea32e4", kill_on_drop: false }` [INFO] [stdout] ecdc070016724c74362652b6ae1dbbccb9868ffa7912d164062db6c703ea32e4