[INFO] fetching crate cargo-ai 0.0.8...
[INFO] testing cargo-ai-0.0.8 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate cargo-ai 0.0.8 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate cargo-ai 0.0.8
[INFO] finished tweaking crates.io crate cargo-ai 0.0.8
[INFO] tweaked toml for crates.io crate cargo-ai 0.0.8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cargo-ai 0.0.8 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cargo-ai 0.0.8 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.107
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.7
[INFO] [stderr]   Downloaded mockito v1.7.0
[INFO] [stderr]   Downloaded clap v4.5.35
[INFO] [stderr]   Downloaded indexmap v2.8.0
[INFO] [stderr]   Downloaded cc v1.2.17
[INFO] [stderr]   Downloaded tokio-util v0.7.14
[INFO] [stderr]   Downloaded clap_builder v4.5.35
[INFO] [stderr]   Downloaded openssl v0.10.72
[INFO] [stderr]   Downloaded rustls v0.23.25
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] [stderr]   Downloaded rustls-webpki v0.103.1
[INFO] [stderr]   Downloaded jsonlogic v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1bc55e9922e33a9ee8ef3060e8c799e8623403da79258ba684717460f42f43df
[INFO] running `Command { std: "docker" "start" "-a" "1bc55e9922e33a9ee8ef3060e8c799e8623403da79258ba684717460f42f43df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bc55e9922e33a9ee8ef3060e8c799e8623403da79258ba684717460f42f43df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bc55e9922e33a9ee8ef3060e8c799e8623403da79258ba684717460f42f43df", kill_on_drop: false }`
[INFO] [stdout] 1bc55e9922e33a9ee8ef3060e8c799e8623403da79258ba684717460f42f43df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e49034d3310fefcf3a07c173f9033f36245ea3a6d28b7a0a4a9fc48f1ddae1aa
[INFO] running `Command { std: "docker" "start" "-a" "e49034d3310fefcf3a07c173f9033f36245ea3a6d28b7a0a4a9fc48f1ddae1aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[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 socket2 v0.5.9
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling cargo-ai v0.0.8 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive_internals v0.29.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 futures-macro v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling schemars_derive v1.0.4
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[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 tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling jsonlogic v0.5.1
[INFO] [stderr]    Compiling schemars v1.0.4
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 27s
[INFO] running `Command { std: "docker" "inspect" "e49034d3310fefcf3a07c173f9033f36245ea3a6d28b7a0a4a9fc48f1ddae1aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e49034d3310fefcf3a07c173f9033f36245ea3a6d28b7a0a4a9fc48f1ddae1aa", kill_on_drop: false }`
[INFO] [stdout] e49034d3310fefcf3a07c173f9033f36245ea3a6d28b7a0a4a9fc48f1ddae1aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8467d3ce130ef572aad73cacfe910ac48302250a7cdb3fed1f4dae32c8228758
[INFO] running `Command { std: "docker" "start" "-a" "8467d3ce130ef572aad73cacfe910ac48302250a7cdb3fed1f4dae32c8228758", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling mockito v1.7.0
[INFO] [stderr]    Compiling cargo-ai v0.0.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 57.40s
[INFO] running `Command { std: "docker" "inspect" "8467d3ce130ef572aad73cacfe910ac48302250a7cdb3fed1f4dae32c8228758", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8467d3ce130ef572aad73cacfe910ac48302250a7cdb3fed1f4dae32c8228758", kill_on_drop: false }`
[INFO] [stdout] 8467d3ce130ef572aad73cacfe910ac48302250a7cdb3fed1f4dae32c8228758
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0ef1c440e520a3ffb3f86406a3704a3d85794d362ce9fd117ca1bb40c1ed766a
[INFO] running `Command { std: "docker" "start" "-a" "0ef1c440e520a3ffb3f86406a3704a3d85794d362ce9fd117ca1bb40c1ed766a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_ai-ad57234b260dcd28)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_ai-4b7c400d003bc6a5)
[INFO] [stdout] test ollama_api_client::tests::test_send_request_with_mock ... ok
[INFO] [stderr]    Doc-tests cargo_ai
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | let ollama_response = ollama_send_request("model_name", "Your prompt here", 60).await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^--------------------------------------
[INFO] [stdout]    |                                          ||             |
[INFO] [stdout]    |                                          ||             expected `&String`, found `&str`
[INFO] [stdout]    |                                          |expected `&String`, found `&str`
[INFO] [stdout]    |                                          argument #4 of type `serde_json::value::Value` is missing
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ollama_api_client.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub async fn send_request(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 10 - let ollama_response = ollama_send_request("model_name", "Your prompt here", 60).await;
[INFO] [stdout] 10 + let ollama_response = ollama_send_request(/* &String */, /* &String */, 60, /* serde_json::value::Value */).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | let openai_response = openai_send_request("model_name", "Your prompt here", 60, "your_token_here").await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^---------------------------------------------------------
[INFO] [stdout]    |                                          ||             |                       |
[INFO] [stdout]    |                                          ||             |                       expected `&String`, found `&str`
[INFO] [stdout]    |                                          ||             expected `&String`, found `&str`
[INFO] [stdout]    |                                          |expected `&String`, found `&str`
[INFO] [stdout]    |                                          argument #5 of type `serde_json::value::Value` is missing
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/openai_api_client.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub async fn send_request(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 14 - let openai_response = openai_send_request("model_name", "Your prompt here", 60, "your_token_here").await;
[INFO] [stdout] 14 + let openai_response = openai_send_request(/* &String */, /* &String */, 60, /* &String */, /* serde_json::value::Value */).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0ef1c440e520a3ffb3f86406a3704a3d85794d362ce9fd117ca1bb40c1ed766a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ef1c440e520a3ffb3f86406a3704a3d85794d362ce9fd117ca1bb40c1ed766a", kill_on_drop: false }`
[INFO] [stdout] 0ef1c440e520a3ffb3f86406a3704a3d85794d362ce9fd117ca1bb40c1ed766a
