[INFO] fetching crate batch-mode-batch-client 0.2.4...
[INFO] testing batch-mode-batch-client-0.2.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate batch-mode-batch-client 0.2.4 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate batch-mode-batch-client 0.2.4
[INFO] finished tweaking crates.io crate batch-mode-batch-client 0.2.4
[INFO] tweaked toml for crates.io crate batch-mode-batch-client 0.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate batch-mode-batch-client 0.2.4 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate batch-mode-batch-client 0.2.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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b958fa389c93245ca0a55dc5388ba117ccf5d49b2104c51d111ec416ef75474
[INFO] running `Command { std: "docker" "start" "-a" "8b958fa389c93245ca0a55dc5388ba117ccf5d49b2104c51d111ec416ef75474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b958fa389c93245ca0a55dc5388ba117ccf5d49b2104c51d111ec416ef75474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b958fa389c93245ca0a55dc5388ba117ccf5d49b2104c51d111ec416ef75474", kill_on_drop: false }`
[INFO] [stdout] 8b958fa389c93245ca0a55dc5388ba117ccf5d49b2104c51d111ec416ef75474
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea514bfa60479125c721ad41de0a62e6f0aabf85cc0b47ff751458eb03081f1e
[INFO] running `Command { std: "docker" "start" "-a" "ea514bfa60479125c721ad41de0a62e6f0aabf85cc0b47ff751458eb03081f1e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling export-magic v0.3.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling serial_test_derive v0.5.1
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[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 env_filter v0.1.3
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling getset v0.1.5
[INFO] [stderr]    Compiling disable_macro v0.3.6
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling case v0.1.0
[INFO] [stderr]    Compiling language-enum v0.1.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling text-size v1.1.1
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling named-item v0.6.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling derive-error v0.0.5
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling serial_test v0.5.1
[INFO] [stderr]    Compiling ra-ap-rustc_lexer v0.68.0
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling always-assert v0.2.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling drop_bomb v0.1.5
[INFO] [stderr]    Compiling countme v3.0.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling ra_ap_limit v0.0.237
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling jod-thread v0.1.2
[INFO] [stderr]    Compiling ra_ap_stdx v0.0.237
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling ra_ap_parser v0.0.237
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling rowan v0.15.15
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tracing-setup v1.0.4
[INFO] [stderr]    Compiling ra_ap_text_edit v0.0.237
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling error-tree v0.6.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling smol_str v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling cov-mark v2.0.0
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling traced-test v1.0.4
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling ra_ap_syntax v0.0.237
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling ra-ap-rustc_lexer v0.10.0
[INFO] [stderr]    Compiling delegate v0.10.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling scan-crate-for-typedefs v0.8.1
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling reqwest v0.12.20
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling random-constructible v0.10.0
[INFO] [stderr]    Compiling plural-derive v0.1.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling ai-descriptor-derive v0.5.0
[INFO] [stderr]    Compiling random-constructible-derive v0.10.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ai-descriptor-trait v0.3.0
[INFO] [stderr]    Compiling plural-trait v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling batch-mode-3p v0.2.2
[INFO] [stderr]    Compiling ai-descriptor v0.9.0
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling json-repair v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand-construct v0.10.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling async-openai-macros v0.1.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling structured-language-form v0.3.0
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling async-openai v0.29.0
[INFO] [stderr]    Compiling named-item-derive v0.2.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling delegate v0.13.3
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling pbx v0.1.0
[INFO] [stderr]    Compiling save-load-traits v0.2.2
[INFO] [stderr]    Compiling save-load-derive v0.1.2
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling language-model-type v0.1.5
[INFO] [stderr]    Compiling camel-case-token-with-comment v0.2.2
[INFO] [stderr]    Compiling batch-mode-batch-index v0.2.2
[INFO] [stderr]    Compiling batch-mode-json v0.2.2
[INFO] [stderr]    Compiling batch-mode-batch-metadata v0.2.2
[INFO] [stderr]    Compiling batch-mode-batch-scribe v0.1.8
[INFO] [stderr]    Compiling batch-mode-batch-workspace-interface v0.2.4
[INFO] [stderr]    Compiling batch-mode-batch-schema v0.2.4
[INFO] [stderr]    Compiling batch-mode-batch-triple v0.2.4
[INFO] [stderr]    Compiling batch-mode-batch-client v0.2.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |             pub fn batches(&self) -> async_openai::Batches<OpenAIConfig>;
[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] 54 |             pub fn batches(&self) -> async_openai::Batches<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             pub fn files(&self) -> async_openai::Files<OpenAIConfig>;
[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] 55 |             pub fn files(&self) -> async_openai::Files<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pub fn chat(&self) -> async_openai::Chat<OpenAIConfig>;
[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] 56 |             pub fn chat(&self) -> async_openai::Chat<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s
[INFO] running `Command { std: "docker" "inspect" "ea514bfa60479125c721ad41de0a62e6f0aabf85cc0b47ff751458eb03081f1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea514bfa60479125c721ad41de0a62e6f0aabf85cc0b47ff751458eb03081f1e", kill_on_drop: false }`
[INFO] [stdout] ea514bfa60479125c721ad41de0a62e6f0aabf85cc0b47ff751458eb03081f1e
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8b21924a98873ad944d8ac79f244233b6241a10b204c79c5b379b6e2b144271
[INFO] running `Command { std: "docker" "start" "-a" "f8b21924a98873ad944d8ac79f244233b6241a10b204c79c5b379b6e2b144271", kill_on_drop: false }`
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |             pub fn batches(&self) -> async_openai::Batches<OpenAIConfig>;
[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] 54 |             pub fn batches(&self) -> async_openai::Batches<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling batch-mode-batch-client v0.2.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             pub fn files(&self) -> async_openai::Files<OpenAIConfig>;
[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] 55 |             pub fn files(&self) -> async_openai::Files<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pub fn chat(&self) -> async_openai::Chat<OpenAIConfig>;
[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] 56 |             pub fn chat(&self) -> async_openai::Chat<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/check_and_download_output_and_error_online.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/check_and_download_output_and_error_online.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/check_batch_status_online.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/check_batch_status_online.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/check_batch_status_online.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     use std::fs;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/create_batch.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]   --> src/create_batch.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use tempfile::tempdir;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/create_batch.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/download_error_file.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/download_error_file.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/download_output_file.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/download_output_file.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/get_batch_file_content.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]   --> src/get_batch_file_content.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use tempfile::tempdir;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/get_batch_file_content.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/get_batch_file_content.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> src/mock.rs:698:9
[INFO] [stdout]     |
[INFO] [stdout] 698 |     use std::sync::Arc;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]    --> src/mock.rs:699:9
[INFO] [stdout]     |
[INFO] [stdout] 699 |     use tempfile::tempdir;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]    --> src/mock.rs:700:26
[INFO] [stdout]     |
[INFO] [stdout] 700 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/retrieve_batch_by_id.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]   --> src/retrieve_batch_by_id.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use tempfile::tempdir;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/retrieve_batch_by_id.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/retrieve_batch_by_id.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/upload_batch_file.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/upload_batch_file.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempdir`
[INFO] [stdout]   --> src/upload_batch_file.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     use tempfile::{NamedTempFile, tempdir};
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/upload_batch_file.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]   --> src/wait_for_batch_completion.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use futures::executor::block_on;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/wait_for_batch_completion.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/wait_for_batch_completion.rs:45:26
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                          ^^^^^               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/create_batch.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/create_batch.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/get_batch_file_content.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/get_batch_file_content.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/retrieve_batch_by_id.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/retrieve_batch_by_id.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mock_client`
[INFO] [stdout]   --> src/wait_for_batch_completion.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mock_client = MockLanguageModelClientBuilder::<MockBatchClientError>::default()
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_client`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockBatchWorkspace` is never constructed
[INFO] [stdout]   --> src/check_batch_status_online.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub struct MockBatchWorkspace;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |             pub fn batches(&self) -> async_openai::Batches<OpenAIConfig>;
[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] 54 |             pub fn batches(&self) -> async_openai::Batches<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             pub fn files(&self) -> async_openai::Files<OpenAIConfig>;
[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] 55 |             pub fn files(&self) -> async_openai::Files<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/openai_client_handle.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pub fn chat(&self) -> async_openai::Chat<OpenAIConfig>;
[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] 56 |             pub fn chat(&self) -> async_openai::Chat<'_, OpenAIConfig>;
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 31.82s
[INFO] running `Command { std: "docker" "inspect" "f8b21924a98873ad944d8ac79f244233b6241a10b204c79c5b379b6e2b144271", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8b21924a98873ad944d8ac79f244233b6241a10b204c79c5b379b6e2b144271", kill_on_drop: false }`
[INFO] [stdout] f8b21924a98873ad944d8ac79f244233b6241a10b204c79c5b379b6e2b144271
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3160ee96a92967842e28128ab0c84548353ecd128cb551d730ad45a099f8ab29
[INFO] running `Command { std: "docker" "start" "-a" "3160ee96a92967842e28128ab0c84548353ecd128cb551d730ad45a099f8ab29", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/openai_client_handle.rs:54:28
[INFO] [stderr]    |
[INFO] [stderr] 54 |             pub fn batches(&self) -> async_openai::Batches<OpenAIConfig>;
[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] 54 |             pub fn batches(&self) -> async_openai::Batches<'_, OpenAIConfig>;
[INFO] [stderr]    |                                                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/openai_client_handle.rs:55:26
[INFO] [stderr]    |
[INFO] [stderr] 55 |             pub fn files(&self) -> async_openai::Files<OpenAIConfig>;
[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] 55 |             pub fn files(&self) -> async_openai::Files<'_, OpenAIConfig>;
[INFO] [stderr]    |                                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/openai_client_handle.rs:56:25
[INFO] [stderr]    |
[INFO] [stderr] 56 |             pub fn chat(&self) -> async_openai::Chat<OpenAIConfig>;
[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] 56 |             pub fn chat(&self) -> async_openai::Chat<'_, OpenAIConfig>;
[INFO] [stderr]    |                                                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/check_and_download_output_and_error_online.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/check_and_download_output_and_error_online.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/check_batch_status_online.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/check_batch_status_online.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]   --> src/check_batch_status_online.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |     use std::fs;
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/create_batch.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempfile::tempdir`
[INFO] [stderr]   --> src/create_batch.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     use tempfile::tempdir;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/create_batch.rs:33:26
[INFO] [stderr]    |
[INFO] [stderr] 33 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/download_error_file.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/download_error_file.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/download_output_file.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/download_output_file.rs:66:26
[INFO] [stderr]    |
[INFO] [stderr] 66 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/get_batch_file_content.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempfile::tempdir`
[INFO] [stderr]   --> src/get_batch_file_content.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     use tempfile::tempdir;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/get_batch_file_content.rs:27:26
[INFO] [stderr]    |
[INFO] [stderr] 27 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/get_batch_file_content.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use std::sync::Arc;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]    --> src/mock.rs:698:9
[INFO] [stderr]     |
[INFO] [stderr] 698 |     use std::sync::Arc;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempfile::tempdir`
[INFO] [stderr]    --> src/mock.rs:699:9
[INFO] [stderr]     |
[INFO] [stderr] 699 |     use tempfile::tempdir;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error`
[INFO] [stderr]    --> src/mock.rs:700:26
[INFO] [stderr]     |
[INFO] [stderr] 700 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]     |                          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/retrieve_batch_by_id.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempfile::tempdir`
[INFO] [stderr]   --> src/retrieve_batch_by_id.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use tempfile::tempdir;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/retrieve_batch_by_id.rs:29:26
[INFO] [stderr]    |
[INFO] [stderr] 29 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/retrieve_batch_by_id.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 |     use std::sync::Arc;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/upload_batch_file.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/upload_batch_file.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 38 |     use std::sync::Arc;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tempdir`
[INFO] [stderr]   --> src/upload_batch_file.rs:39:35
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use tempfile::{NamedTempFile, tempdir};
[INFO] [stderr]    |                                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/upload_batch_file.rs:40:26
[INFO] [stderr]    |
[INFO] [stderr] 40 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]   --> src/wait_for_batch_completion.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 43 |     use futures::executor::block_on;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/wait_for_batch_completion.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     use std::sync::Arc;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> src/wait_for_batch_completion.rs:45:26
[INFO] [stderr]    |
[INFO] [stderr] 45 |     use tracing::{debug, error, info, trace, warn};
[INFO] [stderr]    |                          ^^^^^               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/create_batch.rs:97:17
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]    |                 ----^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/create_batch.rs:131:17
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]     |                 ----^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/get_batch_file_content.rs:89:17
[INFO] [stderr]    |
[INFO] [stderr] 89 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]    |                 ----^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/get_batch_file_content.rs:116:17
[INFO] [stderr]     |
[INFO] [stderr] 116 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]     |                 ----^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/retrieve_batch_by_id.rs:90:17
[INFO] [stderr]    |
[INFO] [stderr] 90 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]    |                 ----^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/retrieve_batch_by_id.rs:114:17
[INFO] [stderr]     |
[INFO] [stderr] 114 |             let mut builder = MockLanguageModelClientBuilder::<MockBatchClientError>::default();
[INFO] [stderr]     |                 ----^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mock_client`
[INFO] [stderr]   --> src/wait_for_batch_completion.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let mock_client = MockLanguageModelClientBuilder::<MockBatchClientError>::default()
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_client`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MockBatchWorkspace` is never constructed
[INFO] [stderr]   --> src/check_batch_status_online.rs:73:16
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub struct MockBatchWorkspace;
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `batch-mode-batch-client` (lib) generated 3 warnings (run `cargo fix --lib -p batch-mode-batch-client` to apply 3 suggestions)
[INFO] [stderr] warning: `batch-mode-batch-client` (lib test) generated 41 warnings (3 duplicates) (run `cargo fix --lib -p batch-mode-batch-client --tests` to apply 37 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/batch_mode_batch_client-3901285f30bd2458)
[INFO] [stdout] 
[INFO] [stdout] running 51 tests
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_output_file_already_exists ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_failed_batch_returns_error ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_error_file_already_exists ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_completed_with_output_only ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_completed_no_files ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_completed_no_output_no_error ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_completed_with_error_only ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_completed_with_output_and_error ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_failed ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_completed_with_error_only ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_completed_with_both_output_and_error ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_inprogress ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_completed_with_output_only ... ok
[INFO] [stdout] test create_batch::create_batch_tests::test_create_batch_other_error ... ok
[INFO] [stdout] test create_batch::create_batch_tests::test_create_batch_openai_api_error ... ok
[INFO] [stdout] test create_batch::create_batch_tests::test_create_batch_empty_input ... ok
[INFO] [stdout] test download_error_file::download_error_file_tests::test_download_error_file_already_exists ... ok
[INFO] [stdout] test check_batch_status_online::check_batch_status_online_tests::test_batch_unknown_status ... ok
[INFO] [stdout] test download_error_file::download_error_file_tests::test_download_error_file_client_file_not_found ... ok
[INFO] [stdout] test download_output_file::download_output_file_tests::test_download_output_file_already_exists ... ok
[INFO] [stdout] test download_output_file::download_output_file_tests::test_download_output_file_io_write_error ... FAILED
[INFO] [stdout] test download_error_file::download_error_file_tests::test_download_error_file_missing_error_file_id ... ok
[INFO] [stdout] test download_output_file::download_output_file_tests::test_download_output_file_missing_output_file_id ... ok
[INFO] [stdout] test get_batch_file_content::get_batch_file_content_tests::test_file_content_openai_api_error ... ok
[INFO] [stdout] test download_output_file::download_output_file_tests::test_download_output_file_client_file_not_found ... ok
[INFO] [stdout] test download_error_file::download_error_file_tests::test_download_error_file_io_write_error ... FAILED
[INFO] [stdout] test mock::mock_client_handle_tests::test_aggregator_trait_compatibility ... ok
[INFO] [stdout] test mock::mock_client_handle_tests::test_delegate_methods ... ok
[INFO] [stdout] test get_batch_file_content::get_batch_file_content_tests::test_file_content_success ... ok
[INFO] [stdout] test get_batch_file_content::get_batch_file_content_tests::test_file_content_empty_input ... ok
[INFO] [stdout] test download_output_file::download_output_file_tests::test_download_output_file_ok ... ok
[INFO] [stdout] test mock::mock_client_handle_tests::test_new_openai_client_handle_env_var_present ... ok
[INFO] [stdout] test get_batch_file_content::get_batch_file_content_tests::test_file_content_other_error ... ok
[INFO] [stdout] test download_error_file::download_error_file_tests::test_download_error_file_ok ... ok
[INFO] [stdout] test retrieve_batch_by_id::retrieve_batch_by_id_tests::test_retrieve_batch_by_id_empty_input ... ok
[INFO] [stdout] test retrieve_batch_by_id::retrieve_batch_by_id_tests::test_retrieve_batch_by_id_other_error ... ok
[INFO] [stdout] test retrieve_batch_by_id::retrieve_batch_by_id_tests::test_retrieve_batch_by_id_success ... ok
[INFO] [stdout] test mock::mock_client_handle_tests::test_new_openai_client_handle_env_var_missing ... ok
[INFO] [stdout] test mock::mock_client_handle_tests::test_mock_language_model_client_basic_usage ... ok
[INFO] [stdout] test check_and_download_output_and_error_online::check_for_and_download_output_and_error_online_tests::test_incomplete_batch_returns_error ... ok
[INFO] [stdout] test retrieve_batch_by_id::retrieve_batch_by_id_tests::test_retrieve_batch_by_id_openai_api_error ... ok
[INFO] [stdout] test upload_batch_file::upload_batch_file_core_tests::test_upload_batch_file_path_other_error ... ok
[INFO] [stdout] test upload_batch_file::upload_batch_file_core_tests::test_upload_batch_file_path_success ... ok
[INFO] [stdout] test wait_for_batch_completion::wait_for_batch_completion_tests::test_wait_for_batch_completion_eventual_success ... ok
[INFO] [stdout] test upload_batch_file::upload_batch_file_core_tests::test_upload_batch_file_path_invalid_file_path ... ok
[INFO] [stdout] test wait_for_batch_completion::wait_for_batch_completion_tests::test_wait_for_batch_completion_immediate_failure ... ok
[INFO] [stdout] test wait_for_batch_completion::wait_for_batch_completion_tests::test_wait_for_batch_completion_immediate_success ... ok
[INFO] [stdout] test upload_batch_file::upload_batch_file_core_tests::test_upload_batch_file_path_openai_api_error ... ok
[INFO] [stdout] test wait_for_batch_completion::wait_for_batch_completion_tests::test_wait_for_batch_completion_openai_error ... ok
[INFO] [stdout] test create_batch::create_batch_tests::test_create_batch_success ... ok
[INFO] [stdout] test wait_for_batch_completion::wait_for_batch_completion_tests::test_wait_for_batch_completion_eventual_failure ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- download_output_file::download_output_file_tests::test_download_output_file_io_write_error stdout ----
[INFO] [stdout] ===== BEGIN_TEST: test_download_output_file_io_write_error =====
[INFO] [stdout] 
[INFO] [stdout] thread 'download_output_file::download_output_file_tests::test_download_output_file_io_write_error' (46) panicked at src/download_output_file.rs:282:9:
[INFO] [stdout] Should fail with an I/O error when the directory is read-only
[INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stdout] ---------------------------------------------------------[trace_events: test_download_output_file_io_write_error]
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_output_file::download_ou Creating new BacktraceGuard, test_name = test_download_output_file_io_write_error, enable_backtrace = false
[INFO] [stdout] INFO   [batch_mode_batch_client::download_output_file::download_ou Disabling RUST_BACKTRACE for test: test_download_output_file_io_write_error
[INFO] [stdout] INFO   [batch_mode_batch_client::download_output_file::download_ou Beginning test_download_output_file_io_write_error
[INFO] [stdout] INFO   [batch_mode_batch_metadata::metadata]                       saving batch metadata to file "/tmp/.tmp2cWxNG/metadata.json"
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_output_file::download_ou Metadata saved at "/tmp/.tmp2cWxNG/metadata.json"
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Constructing a test triple with just an associated metadata path: "/tmp/.tmp2cWxNG/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_workspace_interface::mock]                Created ephemeral directory for MockBatchWorkspace at: "/tmp/.tmp8oPkIG"
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Constructing BatchFileTriple::new_direct with index=Usize(9999), input=None, output=None, error=None, metadata=Some("/tmp/.tmp2cWxNG/metadata.json")
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'associated_metadata' path to Some("/tmp/.tmp2cWxNG/metadata.json")
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'output' path to Some("/tmp/.tmp9O6aXw/output.json")
[INFO] [stdout] INFO   [batch_mode_batch_client::download_output_file]             downloading batch output file
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_output_file]             Using metadata file for output: "/tmp/.tmp2cWxNG/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_metadata::metadata]                       loading batch metadata from file "/tmp/.tmp2cWxNG/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_client::mock]                             Mock: file_content called with file_id=some_out_file_id_for_io_error
[INFO] [stdout] DEBUG  [batch_mode_batch_client::mock]                             Mock: Found file content for id=some_out_file_id_for_io_error
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'output' path to Some("/tmp/.tmp9O6aXw/output.json")
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_output_file::download_ou Result from download_output_file: Ok(())
[INFO] [stdout] ===== END_TEST: test_download_output_file_io_write_error =====
[INFO] [stdout] 
[INFO] [stdout] ---- download_error_file::download_error_file_tests::test_download_error_file_io_write_error stdout ----
[INFO] [stdout] ===== BEGIN_TEST: test_download_error_file_io_write_error =====
[INFO] [stdout] 
[INFO] [stdout] thread 'download_error_file::download_error_file_tests::test_download_error_file_io_write_error' (40) panicked at src/download_error_file.rs:286:9:
[INFO] [stdout] Should fail with an I/O error when the directory is read-only
[INFO] [stdout] ---------------------------------------------------------[trace_events: test_download_error_file_io_write_error]
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_error_file::download_err Creating new BacktraceGuard, test_name = test_download_error_file_io_write_error, enable_backtrace = false
[INFO] [stdout] INFO   [batch_mode_batch_client::download_error_file::download_err Disabling RUST_BACKTRACE for test: test_download_error_file_io_write_error
[INFO] [stdout] INFO   [batch_mode_batch_client::download_error_file::download_err Beginning test_download_error_file_io_write_error
[INFO] [stdout] INFO   [batch_mode_batch_client::download_error_file::download_err Saving metadata at "/tmp/.tmphamwaR/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_metadata::metadata]                       saving batch metadata to file "/tmp/.tmphamwaR/metadata.json"
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_error_file::download_err Metadata file created successfully.
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Constructing a test triple with just an associated metadata path: "/tmp/.tmphamwaR/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_workspace_interface::mock]                Created ephemeral directory for MockBatchWorkspace at: "/tmp/.tmpaQSqjV"
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Constructing BatchFileTriple::new_direct with index=Usize(9999), input=None, output=None, error=None, metadata=Some("/tmp/.tmphamwaR/metadata.json")
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'associated_metadata' path to Some("/tmp/.tmphamwaR/metadata.json")
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'error' path to Some("/tmp/.tmpsW6wct/error.json")
[INFO] [stdout] INFO   [batch_mode_batch_client::download_error_file]              downloading batch error file
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_error_file]              Using metadata file for error: "/tmp/.tmphamwaR/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_metadata::metadata]                       loading batch metadata from file "/tmp/.tmphamwaR/metadata.json"
[INFO] [stdout] INFO   [batch_mode_batch_client::mock]                             Mock: file_content called with file_id=some_err_file_id_for_io_error
[INFO] [stdout] DEBUG  [batch_mode_batch_client::mock]                             Mock: Found file content for id=some_err_file_id_for_io_error
[INFO] [stdout] TRACE  [batch_mode_batch_triple::batch_file_triple]                Setting 'error' path to Some("/tmp/.tmpsW6wct/error.json")
[INFO] [stdout] DEBUG  [batch_mode_batch_client::download_error_file::download_err Result from download_error_file: Ok(())
[INFO] [stdout] ===== END_TEST: test_download_error_file_io_write_error =====
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     download_error_file::download_error_file_tests::test_download_error_file_io_write_error
[INFO] [stdout]     download_output_file::download_output_file_tests::test_download_output_file_io_write_error
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 49 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "3160ee96a92967842e28128ab0c84548353ecd128cb551d730ad45a099f8ab29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3160ee96a92967842e28128ab0c84548353ecd128cb551d730ad45a099f8ab29", kill_on_drop: false }`
[INFO] [stdout] 3160ee96a92967842e28128ab0c84548353ecd128cb551d730ad45a099f8ab29
