[INFO] cloning repository https://github.com/roushou/anthropic-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roushou/anthropic-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froushou%2Fanthropic-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froushou%2Fanthropic-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4baaad204ff17b6dce59b0b2c505961c4e59336 [INFO] testing roushou/anthropic-rs against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froushou%2Fanthropic-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roushou/anthropic-rs on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roushou/anthropic-rs [INFO] finished tweaking git repo https://github.com/roushou/anthropic-rs [INFO] tweaked toml for git repo https://github.com/roushou/anthropic-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roushou/anthropic-rs 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb13c54000f061bbb638459b4e413d5933c399063cd1444147d78f692e20dff2 [INFO] running `Command { std: "docker" "start" "-a" "cb13c54000f061bbb638459b4e413d5933c399063cd1444147d78f692e20dff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb13c54000f061bbb638459b4e413d5933c399063cd1444147d78f692e20dff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb13c54000f061bbb638459b4e413d5933c399063cd1444147d78f692e20dff2", kill_on_drop: false }` [INFO] [stdout] cb13c54000f061bbb638459b4e413d5933c399063cd1444147d78f692e20dff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a8fb645e259e9a96e5c207a48d81d30cc4da17bfdc5c88fcd63986a8826b28e [INFO] running `Command { std: "docker" "start" "-a" "7a8fb645e259e9a96e5c207a48d81d30cc4da17bfdc5c88fcd63986a8826b28e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling anthropic-rs v0.1.5 (/opt/rustwide/workdir/anthropic) [INFO] [stderr] Compiling example-stream v0.1.0 (/opt/rustwide/workdir/examples/stream) [INFO] [stderr] Compiling example-basic-message v0.1.0 (/opt/rustwide/workdir/examples/basic-message) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.27s [INFO] running `Command { std: "docker" "inspect" "7a8fb645e259e9a96e5c207a48d81d30cc4da17bfdc5c88fcd63986a8826b28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8fb645e259e9a96e5c207a48d81d30cc4da17bfdc5c88fcd63986a8826b28e", kill_on_drop: false }` [INFO] [stdout] 7a8fb645e259e9a96e5c207a48d81d30cc4da17bfdc5c88fcd63986a8826b28e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6db3de57b03b7940da4c685a51ea298ac0f8d4bfb32a3e699cdcd52c2ac14e2 [INFO] running `Command { std: "docker" "start" "-a" "d6db3de57b03b7940da4c685a51ea298ac0f8d4bfb32a3e699cdcd52c2ac14e2", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling example-stream v0.1.0 (/opt/rustwide/workdir/examples/stream) [INFO] [stderr] Compiling example-basic-message v0.1.0 (/opt/rustwide/workdir/examples/basic-message) [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling anthropic-rs v0.1.5 (/opt/rustwide/workdir/anthropic) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "d6db3de57b03b7940da4c685a51ea298ac0f8d4bfb32a3e699cdcd52c2ac14e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6db3de57b03b7940da4c685a51ea298ac0f8d4bfb32a3e699cdcd52c2ac14e2", kill_on_drop: false }` [INFO] [stdout] d6db3de57b03b7940da4c685a51ea298ac0f8d4bfb32a3e699cdcd52c2ac14e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ecc7be8353bc69436f12babe24225ee007614bb4c31c30930aeb90667b79dd3e [INFO] running `Command { std: "docker" "start" "-a" "ecc7be8353bc69436f12babe24225ee007614bb4c31c30930aeb90667b79dd3e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anthropic_rs-5dbb6607d8f4d71a) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test api::message::tests::should_deserialize_message ... ok [INFO] [stdout] test api::message::tests::should_serialize_message ... ok [INFO] [stdout] test api::message::tests::should_set_metadata ... ok [INFO] [stdout] test api::message::tests::should_set_top_k ... ok [INFO] [stdout] test api::message::tests::should_set_stream ... ok [INFO] [stdout] test api::message::tests::should_set_top_p ... ok [INFO] [stdout] test api::message::tests::should_set_system ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_content_block_stop_event ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_content_block_delta_event ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_content_block_start_event ... ok [INFO] [stdout] test config::tests::should_set_custom_url ... ok [INFO] [stdout] test models::model::tests::should_return_error_for_invalid_model ... ok [INFO] [stdout] test models::model::tests::should_serialize_to_correct_model_names ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_message_start_event ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_message_stop_event ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_ping_event ... ok [INFO] [stdout] test config::tests::should_set_anthropic_version ... ok [INFO] [stdout] test config::tests::should_use_default_values ... ok [INFO] [stdout] test models::model::tests::should_deserialize_to_correct_models ... ok [INFO] [stdout] test api::message::tests::should_set_temperature ... ok [INFO] [stdout] test api::message::tests::should_set_stop_sequences ... ok [INFO] [stdout] test api::stream::tests::should_deserialize_message_delta_event ... ok [INFO] [stdout] test error::tests::should_serialize_to_correct_error_values ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/example_basic_message-eb0cec22bc0f2b65) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/example_stream-b7d5b8824d3b9d2a) [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] [stderr] Doc-tests anthropic_rs [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] running `Command { std: "docker" "inspect" "ecc7be8353bc69436f12babe24225ee007614bb4c31c30930aeb90667b79dd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc7be8353bc69436f12babe24225ee007614bb4c31c30930aeb90667b79dd3e", kill_on_drop: false }` [INFO] [stdout] ecc7be8353bc69436f12babe24225ee007614bb4c31c30930aeb90667b79dd3e