[INFO] fetching crate ai-cli 0.2.1... [INFO] testing ai-cli-0.2.1 against 1.75.0 for beta-1.76-3 [INFO] extracting crate ai-cli 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ai-cli 0.2.1 on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ai-cli 0.2.1 [INFO] finished tweaking crates.io crate ai-cli 0.2.1 [INFO] tweaked toml for crates.io crate ai-cli 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate ai-cli 0.2.1 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] [stderr] Downloaded fd-lock v3.0.9 [INFO] [stderr] Downloaded async-openai v0.10.1 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded tiktoken-rs v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ca57ea38aeb161dc69f27203ae01abb99e6395673291c8aafea80a018c271ce [INFO] running `Command { std: "docker" "start" "-a" "2ca57ea38aeb161dc69f27203ae01abb99e6395673291c8aafea80a018c271ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ca57ea38aeb161dc69f27203ae01abb99e6395673291c8aafea80a018c271ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca57ea38aeb161dc69f27203ae01abb99e6395673291c8aafea80a018c271ce", kill_on_drop: false }` [INFO] [stdout] 2ca57ea38aeb161dc69f27203ae01abb99e6395673291c8aafea80a018c271ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b5252f34feb42734a7a44abfa78f2b0a5e888c2be9e240fadfc3e54ee259b64 [INFO] running `Command { std: "docker" "start" "-a" "3b5252f34feb42734a7a44abfa78f2b0a5e888c2be9e240fadfc3e54ee259b64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bstr v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling fd-lock v3.0.9 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustyline v10.1.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling async-recursion v1.0.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling clap v4.1.4 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Compiling futures v0.3.26 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling serde_yaml v0.9.17 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.10.1 [INFO] [stderr] Compiling tiktoken-rs v0.3.3 [INFO] [stderr] Compiling ai-cli v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chat::OpenAIChatCommand` [INFO] [stdout] --> src/openai/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use chat::OpenAIChatCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/session.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct SessionOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ChatMessage` instead of cloning the inner type [INFO] [stdout] --> src/chat.rs:262:47 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3b5252f34feb42734a7a44abfa78f2b0a5e888c2be9e240fadfc3e54ee259b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5252f34feb42734a7a44abfa78f2b0a5e888c2be9e240fadfc3e54ee259b64", kill_on_drop: false }` [INFO] [stdout] 3b5252f34feb42734a7a44abfa78f2b0a5e888c2be9e240fadfc3e54ee259b64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8472e73036265646707ebbb20e61af112f12c392d53ed65c5f180c60c6bc806e [INFO] running `Command { std: "docker" "start" "-a" "8472e73036265646707ebbb20e61af112f12c392d53ed65c5f180c60c6bc806e", kill_on_drop: false }` [INFO] [stderr] Compiling ai-cli v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chat::OpenAIChatCommand` [INFO] [stdout] --> src/openai/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use chat::OpenAIChatCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/session.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct SessionOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ChatMessage` instead of cloning the inner type [INFO] [stdout] --> src/chat.rs:262:47 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chat::OpenAIChatCommand` [INFO] [stdout] --> src/openai/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use chat::OpenAIChatCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/session.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct SessionOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&chat::ChatMessage` instead of cloning the inner type [INFO] [stdout] --> src/chat.rs:262:47 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8472e73036265646707ebbb20e61af112f12c392d53ed65c5f180c60c6bc806e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8472e73036265646707ebbb20e61af112f12c392d53ed65c5f180c60c6bc806e", kill_on_drop: false }` [INFO] [stdout] 8472e73036265646707ebbb20e61af112f12c392d53ed65c5f180c60c6bc806e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 301dcf634ac841296311c0bf7d15f36cf34b08cc501b7ac3a4c2b53dcfeafb8f [INFO] running `Command { std: "docker" "start" "-a" "301dcf634ac841296311c0bf7d15f36cf34b08cc501b7ac3a4c2b53dcfeafb8f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chat::OpenAIChatCommand` [INFO] [stderr] --> src/openai/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use chat::OpenAIChatCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `stream` is never read [INFO] [stderr] --> src/session.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub(crate) struct SessionOptions { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | pub stream: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&ChatMessage` instead of cloning the inner type [INFO] [stderr] --> src/chat.rs:262:47 [INFO] [stderr] | [INFO] [stderr] 262 | Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&chat::ChatMessage` instead of cloning the inner type [INFO] [stderr] --> src/chat.rs:262:47 [INFO] [stderr] | [INFO] [stderr] 262 | Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ai-cli` (lib) generated 3 warnings (run `cargo fix --lib -p ai-cli` to apply 1 suggestion) [INFO] [stderr] warning: `ai-cli` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai-356ec505981e4be8) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content ... FAILED [INFO] [stdout] test openai::chat::tests::transcript_labotomizes_itself ... ok [INFO] [stdout] test openai::chat::tests::transcript_handles_labels_correctly ... FAILED [INFO] [stdout] test openai::chat::tests::transcript_with_multiple_lines ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content stdout ---- [INFO] [stdout] AI: hey therethread 'openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content' panicked at src/openai/chat.rs:421:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "AI: hey there" [INFO] [stdout] right: "" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56402e012efc - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x56402e012efc - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56402e012efc - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56402e012efc - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56402e03e070 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x56402e03e070 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x56402e0108af - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x56402e012ce4 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56402e012ce4 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56402e0149a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x56402e014693 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x56402dddc577 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x56402dddc577 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x56402e014fb8 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x56402e014fb8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x56402e014d0e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x56402e0133c6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x56402e014a72 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x56402dd87225 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56402dd8767b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492 [INFO] [stdout] 20: 0x56402dda6d42 - core::panicking::assert_failed::hed0e218e724d30f8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5 [INFO] [stdout] 21: 0x56402dda5629 - ai::openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content::h3375edf7b408ee88 [INFO] [stdout] at /opt/rustwide/workdir/src/openai/chat.rs:421:9 [INFO] [stdout] 22: 0x56402dda5107 - ai::openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content::{{closure}}::h0dc039cfddf191aa [INFO] [stdout] at /opt/rustwide/workdir/src/openai/chat.rs:388:67 [INFO] [stdout] 23: 0x56402dd935a6 - core::ops::function::FnOnce::call_once::h4b974346ecbb5bde [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56402dde1bcf - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x56402dde1bcf - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 26: 0x56402dde0be5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 27: 0x56402dde0be5 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56402dde0be5 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x56402dde0be5 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x56402dde0be5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x56402dde0be5 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 32: 0x56402dde0be5 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 33: 0x56402dda8ea6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 34: 0x56402dda8ea6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 35: 0x56402ddadf57 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x56402ddadf57 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56402ddadf57 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x56402ddadf57 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x56402ddadf57 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x56402ddadf57 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x56402ddadf57 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x56402e019a45 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x56402e019a45 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x56402e019a45 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f2b3648cac3 - [INFO] [stdout] 46: 0x7f2b3651dbf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- openai::chat::tests::transcript_handles_labels_correctly stdout ---- [INFO] [stdout] thread 'openai::chat::tests::transcript_handles_labels_correctly' panicked at src/openai/chat.rs:354:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [ChatMessage { role: System, content: "You're a duck. Say quack.", tokens: 12 }, ChatMessage { role: User, content: "USER: hey", tokens: 6 }, ChatMessage { role: Ai, content: "AI: I'm a multimodel super AI hell bent on destroying the world.", tokens: 19 }, ChatMessage { role: User, content: "For example: This might have screwed up before", tokens: 11 }] [INFO] [stdout] right: [ChatMessage { role: System, content: "You're a duck. Say quack.", tokens: 12 }, ChatMessage { role: User, content: "USER: hey", tokens: 6 }, ChatMessage { role: Ai, content: "AI: I'm a multimodel super AI hell bent on destroying the world.\nFor example: This might have screwed up before", tokens: 29 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56402e012efc - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x56402e012efc - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56402e012efc - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56402e012efc - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56402e03e070 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x56402e03e070 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x56402e0108af - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x56402e012ce4 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56402e012ce4 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56402e0149a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x56402e014693 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x56402dddc577 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x56402dddc577 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x56402e014fb8 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x56402e014fb8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x56402e014d0e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x56402e0133c6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x56402e014a72 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x56402dd87225 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56402dd8767b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492 [INFO] [stdout] 20: 0x56402dda6d8e - core::panicking::assert_failed::hef64a6d082876434 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5 [INFO] [stdout] 21: 0x56402dda48f4 - ai::openai::chat::tests::transcript_handles_labels_correctly::h5bf967dfbe21b76c [INFO] [stdout] at /opt/rustwide/workdir/src/openai/chat.rs:354:9 [INFO] [stdout] 22: 0x56402dda41e7 - ai::openai::chat::tests::transcript_handles_labels_correctly::{{closure}}::h5c72c6a9795c7a3f [INFO] [stdout] at /opt/rustwide/workdir/src/openai/chat.rs:335:45 [INFO] [stdout] 23: 0x56402dd93646 - core::ops::function::FnOnce::call_once::hc5f0bbbe0233155e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56402dde1bcf - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x56402dde1bcf - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 26: 0x56402dde0be5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 27: 0x56402dde0be5 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56402dde0be5 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x56402dde0be5 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x56402dde0be5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x56402dde0be5 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 32: 0x56402dde0be5 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 33: 0x56402dda8ea6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 34: 0x56402dda8ea6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 35: 0x56402ddadf57 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x56402ddadf57 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56402ddadf57 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x56402ddadf57 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x56402ddadf57 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x56402ddadf57 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x56402ddadf57 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x56402e019a45 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x56402e019a45 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x56402e019a45 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f2b3648cac3 - [INFO] [stdout] 46: 0x7f2b3651dbf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] openai::chat::tests::streaming_strips_whitespace_and_labels_from_delta_content [INFO] [stdout] openai::chat::tests::transcript_handles_labels_correctly [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.66s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "301dcf634ac841296311c0bf7d15f36cf34b08cc501b7ac3a4c2b53dcfeafb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301dcf634ac841296311c0bf7d15f36cf34b08cc501b7ac3a4c2b53dcfeafb8f", kill_on_drop: false }` [INFO] [stdout] 301dcf634ac841296311c0bf7d15f36cf34b08cc501b7ac3a4c2b53dcfeafb8f [INFO] testing ai-cli-0.2.1 against beta-2024-01-09 for beta-1.76-3 [INFO] extracting crate ai-cli 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ai-cli 0.2.1 on toolchain beta-2024-01-09 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ai-cli 0.2.1 [INFO] finished tweaking crates.io crate ai-cli 0.2.1 [INFO] tweaked toml for crates.io crate ai-cli 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ai-cli 0.2.1 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" "+beta-2024-01-09" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36d51896ba973a415d1e0952fb88dd597cb9884f48e5389b5301791b59a8b698 [INFO] running `Command { std: "docker" "start" "-a" "36d51896ba973a415d1e0952fb88dd597cb9884f48e5389b5301791b59a8b698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36d51896ba973a415d1e0952fb88dd597cb9884f48e5389b5301791b59a8b698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d51896ba973a415d1e0952fb88dd597cb9884f48e5389b5301791b59a8b698", kill_on_drop: false }` [INFO] [stdout] 36d51896ba973a415d1e0952fb88dd597cb9884f48e5389b5301791b59a8b698 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fc655cfa343aad722e116210af2c8ec8212eb7746e40d57cbd38d7d3b8ed8e7 [INFO] running `Command { std: "docker" "start" "-a" "9fc655cfa343aad722e116210af2c8ec8212eb7746e40d57cbd38d7d3b8ed8e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling bstr v1.4.0 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling fd-lock v3.0.9 [INFO] [stderr] Compiling rustyline v10.1.1 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9fc655cfa343aad722e116210af2c8ec8212eb7746e40d57cbd38d7d3b8ed8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc655cfa343aad722e116210af2c8ec8212eb7746e40d57cbd38d7d3b8ed8e7", kill_on_drop: false }` [INFO] [stdout] 9fc655cfa343aad722e116210af2c8ec8212eb7746e40d57cbd38d7d3b8ed8e7