[INFO] cloning repository https://github.com/fitri/smolagent-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fitri/smolagent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitri%2Fsmolagent-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitri%2Fsmolagent-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 302b73d939d458f1915f18a03849e4bb48a7e3ae
[INFO] testing fitri/smolagent-rust against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitri%2Fsmolagent-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fitri/smolagent-rust
[INFO] finished tweaking git repo https://github.com/fitri/smolagent-rust
[INFO] tweaked toml for git repo https://github.com/fitri/smolagent-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fitri/smolagent-rust on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fitri/smolagent-rust 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" "+1.100.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd
[INFO] running `Command { std: "docker" "start" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.33
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling find-msvc-tools v0.1.10
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling cc v1.4.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-util v0.3.33
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling futures-channel v0.3.33
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling ipnet v2.12.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling http-body-util v0.1.4
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling clap_builder v4.6.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling clap v4.6.6
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.11.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling smolagent v1.0.1 (/opt/rustwide/workdir/crates/smolagent)
[INFO] [stderr]    Compiling smolagent-cli v1.0.1 (/opt/rustwide/workdir/crates/smolagent-cli)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 10s
[INFO] running `Command { std: "docker" "inspect" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling futures-sink v0.3.33
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling futures-io v0.3.33
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling futures-channel v0.3.33
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling deadpool v0.12.3
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling fastrand v2.5.0
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling h2 v0.4.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling predicates-core v1.0.10
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling assert_cmd v2.2.2
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling predicates-tree v1.0.13
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]    Compiling hyper v1.11.0
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling bstr v1.13.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling futures-util v0.3.33
[INFO] [stderr]    Compiling predicates v3.1.4
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling futures-executor v0.3.33
[INFO] [stderr]    Compiling futures v0.3.33
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling wiremock v0.6.5
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling smolagent v1.0.1 (/opt/rustwide/workdir/crates/smolagent)
[INFO] [stderr]    Compiling smolagent-cli v1.0.1 (/opt/rustwide/workdir/crates/smolagent-cli)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 26s
[INFO] running `Command { std: "docker" "inspect" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/smolagent/fadf405862789177/out/smolagent-fadf405862789177)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test memory::tests::push_appends_in_order ... ok
[INFO] [stdout] test memory::tests::bounded_memory_drops_oldest ... ok
[INFO] [stdout] test tools::tests::collection_registers_and_calls ... ok
[INFO] [stdout] test tools::tests::unknown_tool_is_a_typed_error ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/agent_loop.rs (/opt/rustwide/target/release/build/smolagent/4adb6cb2d49f384e/out/agent_loop-4adb6cb2d49f384e)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test t5_agent_reuse_keeps_protocol_valid_across_runs ... ok
[INFO] [stdout] test t5_model_error_propagates_as_typed_agent_error ... ok
[INFO] [stdout] test t5_code_agent_happy_path_seeds_task_and_records_steps ... ok
[INFO] [stdout] test t5_code_agent_sandbox_tool_call_is_dispatched_and_observed ... ok
[INFO] [stdout] test t5_stop_sequences_reach_the_model ... ok
[INFO] [stdout] test t5_tool_error_propagates_as_typed_agent_error ... ok
[INFO] [stdout] test t6_code_agent_executes_exactly_the_emitted_code_and_feeds_stdout_back ... ok
[INFO] [stdout] test t6_tool_calling_agent_dispatches_to_the_right_tool_with_exact_inputs ... ok
[INFO] [stdout] test t5_reasoning_content_is_passed_back_to_the_model ... ok
[INFO] [stdout] test t6_unparseable_action_is_fed_back_to_the_model_not_a_crash ... ok
[INFO] [stdout] test t8_planning_and_final_answer_templates_render ... ok
[INFO] [stdout] test t8_system_prompt_has_style_specific_action_instructions ... ok
[INFO] [stdout] test t8_custom_template_changes_the_system_prompt ... ok
[INFO] [stdout] test t8_system_prompt_lists_tools_with_descriptions ... ok
[INFO] [stdout] test t5_iteration_cap_returns_typed_error_and_stops ... ok
[INFO] [stdout] test t5_tool_calling_agent_happy_path ... ok
[INFO] [stdout] test t6_code_agent_feeds_back_a_malformed_code_block ... ok
[INFO] [stdout] test t5_code_agent_sandbox_tool_call_real_python_seam ... ok
[INFO] [stdout] test t5_real_executor_seam_stdout_continues_and_final_answer_ends ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running tests/executor.rs (/opt/rustwide/target/release/build/smolagent/9963e479e821b7cc/out/executor-9963e479e821b7cc)
[INFO] [stdout] running 12 tests
[INFO] [stdout] test local_missing_interpreter_is_typed_error_without_hang ... ok
[INFO] [stdout] test local_stdout_and_final_answer_are_separated ... ok
[INFO] [stdout] test interpreter_tool_success_maps_stdout ... ok
[INFO] [stdout] test docker_syntax_error_is_classified ... ok
[INFO] [stdout] test docker_valid_snippet_returns_stdout ... ok
[INFO] [stdout] test local_final_answer_is_captured_as_result ... ok
[INFO] [stdout] test docker_final_answer_is_captured_as_result ... ok
[INFO] [stdout] test local_runtime_error_is_classified ... ok
[INFO] [stdout] test local_valid_snippet_returns_stdout ... ok
[INFO] [stdout] test local_syntax_error_is_classified ... ok
[INFO] [stdout] test interpreter_tool_failure_maps_classified_error ... ok
[INFO] [stdout] test local_timeout_is_enforced_and_process_killed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mcp.rs (/opt/rustwide/target/release/build/smolagent/f6a5abfbebdb90f1/out/mcp-f6a5abfbebdb90f1)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test connect_nonexistent_command_returns_connect_error ... ok
[INFO] [stdout] test connect_server_that_exits_immediately_returns_connect_error ... ok
[INFO] [stdout] test connect_discovers_fixture_tools ... ok
[INFO] [stdout] test call_tool_returns_fixture_result ... ok
[INFO] [stdout] test call_tool_unknown_tool_returns_unknown_tool_error ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/model.rs (/opt/rustwide/target/release/build/smolagent/7ec2bd63c45ea7e5/out/model-7ec2bd63c45ea7e5)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test malformed_json_body_is_malformed ... ok
[INFO] [stdout] test burst_over_limit_is_throttled ... ok
[INFO] [stdout] test missing_content_is_malformed ... ok
[INFO] [stdout] test http_401_is_auth ... ok
[INFO] [stdout] test empty_choices_is_malformed ... ok
[INFO] [stdout] test parses_reasoning_content_from_thinking_models ... ok
[INFO] [stdout] test parses_choices_content ... ok
[INFO] [stdout] test request_shape_roles_model_stop_and_auth_header ... ok
[INFO] [stdout] test persistent_429_fails_with_rate_limited_after_bounded_retries ... FAILED
[INFO] [stdout] test retry_after_429_is_retried_and_succeeds ... ok
[INFO] [stdout] test endpoint_base_path_is_preserved ... ok
[INFO] [stdout] test connection_refused_is_network ... ok
[INFO] [stdout] test empty_optional_fields_are_omitted ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- persistent_429_fails_with_rate_limited_after_bounded_retries stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'persistent_429_fails_with_rate_limited_after_bounded_retries' (3625) panicked at crates/smolagent/tests/model.rs:536:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55eb42714d71 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55eb4272b62a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x55eb42719b1c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55eb426ef286 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55eb4270ca19 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x55eb4243dff0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x55eb4270cd42 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55eb426ef332 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55eb426e7f69 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55eb426f012d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x55eb4272bd8c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55eb4272bca3 - core[a373ad73a504971]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x55eb42727068 - core[a373ad73a504971]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]   13:     0x55eb423cac0c - model[d3cd75b982597d23]::persistent_429_fails_with_rate_limited_after_bounded_retries::{closure#0}
[INFO] [stdout]   14:     0x55eb423fa993 - <tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::Context>::enter::<core[a373ad73a504971]::task::poll::Poll<()>, <tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[a373ad73a504971]::pin::Pin<&mut core[a373ad73a504971]::pin::Pin<&mut dyn core[a373ad73a504971]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x55eb423ec79c - <tokio[a34d74edebdcaf82]::runtime::context::scoped::Scoped<tokio[a34d74edebdcaf82]::runtime::scheduler::Context>>::set::<<tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[a373ad73a504971]::pin::Pin<&mut core[a373ad73a504971]::pin::Pin<&mut dyn core[a373ad73a504971]::future::future::Future<Output = ()>>>>::{closure#0}, core[a373ad73a504971]::option::Option<()>>::{closure#0}, (alloc[2e1b2a31b91974c5]::boxed::Box<tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::Core>, core[a373ad73a504971]::option::Option<()>)>
[INFO] [stdout]   16:     0x55eb423f95f5 - <tokio[a34d74edebdcaf82]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[a373ad73a504971]::pin::Pin<&mut dyn core[a373ad73a504971]::future::future::Future<Output = ()>>>
[INFO] [stdout]   17:     0x55eb424222b2 - <tokio[a34d74edebdcaf82]::runtime::runtime::Runtime>::block_on::<core[a373ad73a504971]::pin::Pin<&mut dyn core[a373ad73a504971]::future::future::Future<Output = ()>>>
[INFO] [stdout]   18:     0x55eb423d15be - <model[d3cd75b982597d23]::persistent_429_fails_with_rate_limited_after_bounded_retries::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   19:     0x55eb4243143b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   20:     0x55eb4243e615 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   21:     0x55eb42437f04 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   22:     0x55eb424416a2 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   23:     0x55eb42713fcf - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   24:     0x710d2a995dfa - <unknown>
[INFO] [stdout]   25:     0x710d2aa293d4 - clone
[INFO] [stdout]   26:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     persistent_429_fails_with_rate_limited_after_bounded_retries
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p smolagent --test model`
[INFO] running `Command { std: "docker" "inspect" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd", kill_on_drop: false }`
[INFO] [stdout] 29aa21285b89910a14ffcdec64ac4b035ff74f7a9c63573c8ec765e1281dd1bd
