[INFO] fetching crate cloudllm 0.1.3...
[INFO] testing cloudllm-0.1.3 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate cloudllm 0.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate cloudllm 0.1.3 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cloudllm 0.1.3
[INFO] finished tweaking crates.io crate cloudllm 0.1.3
[INFO] tweaked toml for crates.io crate cloudllm 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate cloudllm 0.1.3 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-util v0.7.9
[INFO] [stderr]   Downloaded errno v0.3.4
[INFO] [stderr]   Downloaded rustix v0.38.15
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.8
[INFO] [stderr]   Downloaded openai-rust 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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 941bb88fd49cfab1dc5b7791f76e895bfd3548a41663d171d7567b907a75190c
[INFO] running `Command { std: "docker" "start" "-a" "941bb88fd49cfab1dc5b7791f76e895bfd3548a41663d171d7567b907a75190c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "941bb88fd49cfab1dc5b7791f76e895bfd3548a41663d171d7567b907a75190c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "941bb88fd49cfab1dc5b7791f76e895bfd3548a41663d171d7567b907a75190c", kill_on_drop: false }`
[INFO] [stdout] 941bb88fd49cfab1dc5b7791f76e895bfd3548a41663d171d7567b907a75190c
[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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1734a377fcf2fd6a3206f3354da44bffd3abe43bd8198e7f5300c1e7108eed37
[INFO] running `Command { std: "docker" "start" "-a" "1734a377fcf2fd6a3206f3354da44bffd3abe43bd8198e7f5300c1e7108eed37", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling tokio-util v0.7.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.20
[INFO] [stderr]    Compiling openai-rust v0.5.1
[INFO] [stderr]    Compiling cloudllm v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.57s
[INFO] running `Command { std: "docker" "inspect" "1734a377fcf2fd6a3206f3354da44bffd3abe43bd8198e7f5300c1e7108eed37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1734a377fcf2fd6a3206f3354da44bffd3abe43bd8198e7f5300c1e7108eed37", kill_on_drop: false }`
[INFO] [stdout] 1734a377fcf2fd6a3206f3354da44bffd3abe43bd8198e7f5300c1e7108eed37
[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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf6cfc17f0c4bf0b006e57f94fdf8b6109c673bdf18a1c3bf650ef5233c03cc4
[INFO] running `Command { std: "docker" "start" "-a" "bf6cfc17f0c4bf0b006e57f94fdf8b6109c673bdf18a1c3bf650ef5233c03cc4", kill_on_drop: false }`
[INFO] [stderr]    Compiling cloudllm v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s
[INFO] running `Command { std: "docker" "inspect" "bf6cfc17f0c4bf0b006e57f94fdf8b6109c673bdf18a1c3bf650ef5233c03cc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf6cfc17f0c4bf0b006e57f94fdf8b6109c673bdf18a1c3bf650ef5233c03cc4", kill_on_drop: false }`
[INFO] [stdout] bf6cfc17f0c4bf0b006e57f94fdf8b6109c673bdf18a1c3bf650ef5233c03cc4
[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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d31ac3d909790078237af625be038b32cd91c538544f8cae8efd62e764e627a
[INFO] running `Command { std: "docker" "start" "-a" "1d31ac3d909790078237af625be038b32cd91c538544f8cae8efd62e764e627a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloudllm-f851e97accc53a16)
[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 cloudllm
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/cloudllm/clients/openai.rs - cloudllm::clients::openai::Error (line 7) ... FAILED
[INFO] [stdout] test src/cloudllm/llm_session.rs - cloudllm::llm_session (line 36) ... FAILED
[INFO] [stdout] test src/cloudllm/llm_session.rs - cloudllm::llm_session (line 47) ... FAILED
[INFO] [stdout] test src/cloudllm/llm_session.rs - cloudllm::llm_session (line 26) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/cloudllm/clients/openai.rs - cloudllm::clients::openai::Error (line 7) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/cloudllm/clients/openai.rs:19:115
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cloudllm_clients_openai_rs_7_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let response = client.send_message(vec![Message { role: Role::System, content: system_prompt.to_string() }, msg]).await.unwrap();
[INFO] [stdout]    |                                                                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cloudllm/llm_session.rs - cloudllm::llm_session (line 36) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `openai_client` in this scope
[INFO] [stdout]  --> src/cloudllm/llm_session.rs:40:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | let session = LLMSession::new(openai_client, system_prompt.to_string());
[INFO] [stdout]   |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cloudllm/llm_session.rs - cloudllm::llm_session (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]  --> src/cloudllm/llm_session.rs:49:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let response = session.send_message(Role::User, user_message.to_string()).await.unwrap();
[INFO] [stdout]   |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role`
[INFO] [stdout]  --> src/cloudllm/llm_session.rs:49:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | let response = session.send_message(Role::User, user_message.to_string()).await.unwrap();
[INFO] [stdout]   |                                     ^^^^ use of undeclared type `Role`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cloudllm::Role;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use openai_rust::chat::Role;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/cloudllm/llm_session.rs:49:75
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cloudllm_llm_session_rs_47_0() {
[INFO] [stdout]   |                                      --------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let user_message = "Hello, World!";
[INFO] [stdout] 4 | let response = session.send_message(Role::User, user_message.to_string()).await.unwrap();
[INFO] [stdout]   |                                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/cloudllm/clients/openai.rs - cloudllm::clients::openai::Error (line 7)
[INFO] [stdout]     src/cloudllm/llm_session.rs - cloudllm::llm_session (line 36)
[INFO] [stdout]     src/cloudllm/llm_session.rs - cloudllm::llm_session (line 47)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.49s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d31ac3d909790078237af625be038b32cd91c538544f8cae8efd62e764e627a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d31ac3d909790078237af625be038b32cd91c538544f8cae8efd62e764e627a", kill_on_drop: false }`
[INFO] [stdout] 1d31ac3d909790078237af625be038b32cd91c538544f8cae8efd62e764e627a
