[INFO] fetching crate async-llm 0.1.4... [INFO] testing async-llm-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate async-llm 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate async-llm 0.1.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate async-llm 0.1.4 [INFO] tweaked toml for crates.io crate async-llm 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-llm 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-llm 0.1.4 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7c74683aa1ff8136ea8e6dd108601c7a34dd03ded5e1d1af6ef6f12ab63cd2d [INFO] running `Command { std: "docker" "start" "-a" "c7c74683aa1ff8136ea8e6dd108601c7a34dd03ded5e1d1af6ef6f12ab63cd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c74683aa1ff8136ea8e6dd108601c7a34dd03ded5e1d1af6ef6f12ab63cd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c74683aa1ff8136ea8e6dd108601c7a34dd03ded5e1d1af6ef6f12ab63cd2d", kill_on_drop: false }` [INFO] [stdout] c7c74683aa1ff8136ea8e6dd108601c7a34dd03ded5e1d1af6ef6f12ab63cd2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96544cb2b9bad54343022e5a02f4f9720ba8c0a213433668b58c9c78df1d13b5 [INFO] running `Command { std: "docker" "start" "-a" "96544cb2b9bad54343022e5a02f4f9720ba8c0a213433668b58c9c78df1d13b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling thiserror v2.0.10 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.10 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-llm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.36s [INFO] running `Command { std: "docker" "inspect" "96544cb2b9bad54343022e5a02f4f9720ba8c0a213433668b58c9c78df1d13b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96544cb2b9bad54343022e5a02f4f9720ba8c0a213433668b58c9c78df1d13b5", kill_on_drop: false }` [INFO] [stdout] 96544cb2b9bad54343022e5a02f4f9720ba8c0a213433668b58c9c78df1d13b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aceacd9c891d55fc24194fa275ef30bf82ada856408ebc8d86140bd6b30af451 [INFO] running `Command { std: "docker" "start" "-a" "aceacd9c891d55fc24194fa275ef30bf82ada856408ebc8d86140bd6b30af451", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-llm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> examples/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `common_test_chat_completions_simple` is never used [INFO] [stdout] --> tests/test_utils/common_tests.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn common_test_chat_completions_simple() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream` is never used [INFO] [stdout] --> examples/generate.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn stream() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BASE64_EXAMPLE_IMAGE` is never used [INFO] [stdout] --> examples/utils/constants.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static BASE64_EXAMPLE_IMAGE: &str = r#"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnR... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn completions(&self) -> Completions<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat
{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn chat(&self) -> Chat<'_, P, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.17s [INFO] running `Command { std: "docker" "inspect" "aceacd9c891d55fc24194fa275ef30bf82ada856408ebc8d86140bd6b30af451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aceacd9c891d55fc24194fa275ef30bf82ada856408ebc8d86140bd6b30af451", kill_on_drop: false }` [INFO] [stdout] aceacd9c891d55fc24194fa275ef30bf82ada856408ebc8d86140bd6b30af451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ddfb18bfaf976cb090844a5e2a5647328c34200663f7e4876fe3acd573821031 [INFO] running `Command { std: "docker" "start" "-a" "ddfb18bfaf976cb090844a5e2a5647328c34200663f7e4876fe3acd573821031", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/client.rs:93:24 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn completions(&self) -> Completions
{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 93 | pub fn completions(&self) -> Completions<'_, P, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/client.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn chat(&self) -> Chat
{
[INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 96 | pub fn chat(&self) -> Chat<'_, P, H> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: `async-llm` (lib) generated 2 warnings (run `cargo fix --lib -p async-llm` to apply 2 suggestions)
[INFO] [stderr] warning: `async-llm` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: function `common_test_chat_completions_simple` is never used
[INFO] [stderr] --> tests/test_utils/common_tests.rs:1:14
[INFO] [stderr] |
[INFO] [stderr] 1 | pub async fn common_test_chat_completions_simple() -> Result<(), String> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `constants::*`
[INFO] [stderr] --> examples/utils/mod.rs:4:9
[INFO] [stderr] |
[INFO] [stderr] 4 | pub use constants::*;
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: function `stream` is never used
[INFO] [stderr] --> examples/generate.rs:63:4
[INFO] [stderr] |
[INFO] [stderr] 63 | fn stream() {
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: static `BASE64_EXAMPLE_IMAGE` is never used
[INFO] [stderr] --> examples/utils/constants.rs:1:12
[INFO] [stderr] |
[INFO] [stderr] 1 | pub static BASE64_EXAMPLE_IMAGE: &str = r#"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnR...
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: `async-llm` (test "test_offline") generated 1 warning
[INFO] [stderr] warning: `async-llm` (example "generate") generated 3 warnings (run `cargo fix --example "generate"` to apply 1 suggestion)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_llm-1f76b83ddbfb3439)
[INFO] [stdout]
[INFO] [stdout] running 1 test
[INFO] [stdout] test request::chat::tests::chat_request_works ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Running tests/test_offline.rs (/opt/rustwide/target/debug/deps/test_offline-159495d3ae5c7ed9)
[INFO] [stdout]
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_offline ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- test_offline stdout ----
[INFO] [stdout] data_path: "/opt/rustwide/workdir/data"
[INFO] [stdout]
[INFO] [stdout] thread 'test_offline' (26) panicked at tests/test_offline.rs:47:53:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout] 0: 0x5676cc5f7b52 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383
[INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout] 1: 0x5676cc5f7b52 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4
[INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout] 2: 0x5676cc5f7b52 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a
[INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout] 3: 0x5676cc5f7b52 -