[INFO] fetching crate cargo-ai 0.0.8... [INFO] testing cargo-ai-0.0.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cargo-ai 0.0.8 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-ai 0.0.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] decf5e8dd43dc1dc4bf0864f4d16df06ddf0bd870ffe6062a054eb1dfb4f3f79 [INFO] running `Command { std: "docker" "start" "-a" "decf5e8dd43dc1dc4bf0864f4d16df06ddf0bd870ffe6062a054eb1dfb4f3f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "decf5e8dd43dc1dc4bf0864f4d16df06ddf0bd870ffe6062a054eb1dfb4f3f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "decf5e8dd43dc1dc4bf0864f4d16df06ddf0bd870ffe6062a054eb1dfb4f3f79", kill_on_drop: false }` [INFO] [stdout] decf5e8dd43dc1dc4bf0864f4d16df06ddf0bd870ffe6062a054eb1dfb4f3f79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39791d7a31fa1b78cd9743a1bd30366fe55545a4c55c1b8ccf0b8d8d6e677ab [INFO] running `Command { std: "docker" "start" "-a" "b39791d7a31fa1b78cd9743a1bd30366fe55545a4c55c1b8ccf0b8d8d6e677ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling cargo-ai v0.0.8 (/opt/rustwide/workdir) [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 serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v1.0.4 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [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_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 schemars v1.0.4 [INFO] [stderr] Compiling jsonlogic v0.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [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 1m 27s [INFO] running `Command { std: "docker" "inspect" "b39791d7a31fa1b78cd9743a1bd30366fe55545a4c55c1b8ccf0b8d8d6e677ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39791d7a31fa1b78cd9743a1bd30366fe55545a4c55c1b8ccf0b8d8d6e677ab", kill_on_drop: false }` [INFO] [stdout] b39791d7a31fa1b78cd9743a1bd30366fe55545a4c55c1b8ccf0b8d8d6e677ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6775fce3c3d902ef0e0434552e2b3b11a939e6ccd70971dee4f635c73a6609 [INFO] running `Command { std: "docker" "start" "-a" "5b6775fce3c3d902ef0e0434552e2b3b11a939e6ccd70971dee4f635c73a6609", 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 aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.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 regex-automata v0.4.9 [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 cargo-ai v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.89s [INFO] running `Command { std: "docker" "inspect" "5b6775fce3c3d902ef0e0434552e2b3b11a939e6ccd70971dee4f635c73a6609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6775fce3c3d902ef0e0434552e2b3b11a939e6ccd70971dee4f635c73a6609", kill_on_drop: false }` [INFO] [stdout] 5b6775fce3c3d902ef0e0434552e2b3b11a939e6ccd70971dee4f635c73a6609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85e16a619a1c4fa3e6c8260fdcdfbcaf8ad7618540570e920ccabef68682e756 [INFO] running `Command { std: "docker" "start" "-a" "85e16a619a1c4fa3e6c8260fdcdfbcaf8ad7618540570e920ccabef68682e756", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_ai-ee5a84a6c8159378) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ollama_api_client::tests::test_send_request_with_mock ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_ai-38309e6cdc84d7c1) [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 cargo_ai [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] 18 | 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] 18 - let ollama_response = ollama_send_request("model_name", "Your prompt here", 60).await; [INFO] [stdout] 18 + 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] 22 | 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] 22 - let openai_response = openai_send_request("model_name", "Your prompt here", 60, "your_token_here").await; [INFO] [stdout] 22 + 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.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "85e16a619a1c4fa3e6c8260fdcdfbcaf8ad7618540570e920ccabef68682e756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e16a619a1c4fa3e6c8260fdcdfbcaf8ad7618540570e920ccabef68682e756", kill_on_drop: false }` [INFO] [stdout] 85e16a619a1c4fa3e6c8260fdcdfbcaf8ad7618540570e920ccabef68682e756