[INFO] cloning repository https://github.com/phunt22/countvoncount [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phunt22/countvoncount" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphunt22%2Fcountvoncount", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphunt22%2Fcountvoncount'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99566ef0954b126ca0a524f2cbab30503c3ba2c1 [INFO] testing phunt22/countvoncount against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphunt22%2Fcountvoncount" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phunt22/countvoncount [INFO] finished tweaking git repo https://github.com/phunt22/countvoncount [INFO] tweaked toml for git repo https://github.com/phunt22/countvoncount written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phunt22/countvoncount on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phunt22/countvoncount 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.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49 [INFO] running `Command { std: "docker" "start" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", 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" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", 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" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling evalexpr v12.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling countvoncount v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 52s [INFO] running `Command { std: "docker" "inspect" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", 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" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling countvoncount v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", 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" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/countvoncount-b7db08d658993ef4) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test benchmark::tests::test_truncate_string ... ok [INFO] [stdout] test tools::calculator::tests::test_calculator_basic ... ok [INFO] [stdout] test tools::calculator::tests::test_calculator_complex ... ok [INFO] [stdout] test integration_tests::test_cli_with_empty_prompt ... ok [INFO] [stdout] test integration_tests::test_cli_no_tools_with_empty_prompt ... ok [INFO] [stdout] test tools::calculator::tests::test_calculator_empty_expression ... ok [INFO] [stdout] test tools::datetime::tests::test_datetime_iso_format ... ok [INFO] [stdout] test tools::calculator::tests::test_calculator_validation_fails ... ok [INFO] [stdout] test benchmark::tests::test_load_test_cases ... ok [INFO] [stdout] test tools::calculator::tests::test_calculator_whitespace_expression ... ok [INFO] [stdout] test tools::datetime::tests::test_datetime_timestamp ... ok [INFO] [stdout] test tools::tests::test_registry_creation ... ok [INFO] [stdout] test tools::datetime::tests::test_datetime_validation_fails ... ok [INFO] [stdout] test openai::tests::test_openai_model ... FAILED [INFO] [stdout] test tools::tests::test_tool_specs_generation ... ok [INFO] [stdout] test tools::datetime::tests::test_datetime_default_format ... ok [INFO] [stdout] test agent::tests::test_agent_with_custom_max_loops ... ok [INFO] [stdout] test agent::tests::test_agent_creation ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- openai::tests::test_openai_model stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'openai::tests::test_openai_model' (2937) panicked at src/openai.rs:113:45: [INFO] [stdout] OPENAI_API_KEY must be set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57ac79a80791 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57ac79a986ca - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x57ac79a853ac - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x57ac79a5cee6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57ac79a77729 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x57ac799e35a0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57ac79a77a52 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57ac79a5cf92 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57ac79a54439 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57ac79a5de1d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x57ac79a98e2c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x57ac79a98c02 - core[812a354ff5be3162]::result::unwrap_failed [INFO] [stdout] 12: 0x57ac798640ea - countvoncount[e812bde04aa31a78]::openai::tests::test_openai_model [INFO] [stdout] 13: 0x57ac7986e4a9 - >::call_once [INFO] [stdout] 14: 0x57ac799d68db - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 15: 0x57ac799e3f25 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 16: 0x57ac799de9d4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x57ac799e7072 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x57ac79a7f5df - ::new::thread_start [INFO] [stdout] 19: 0x79bb7ac7107a - [INFO] [stdout] 20: 0x79bb7ad04534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] openai::tests::test_openai_model [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49", kill_on_drop: false }` [INFO] [stdout] 267d4e392c161dad9f7aabf5cd5557e1a7b02086bf517e3702b0075471b05c49