[INFO] cloning repository https://github.com/kyco/term [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyco/term" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyco%2Fterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyco%2Fterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b71212992fd4aff9d317fed78a5ef11434a137cb [INFO] testing kyco/term against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyco%2Fterm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyco/term on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyco/term [INFO] finished tweaking git repo https://github.com/kyco/term [INFO] tweaked toml for git repo https://github.com/kyco/term written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kyco/term 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bffa99cfb5e0b2b4d9522f414623356c878f12744757cc71dde5fe3a588cc71a [INFO] running `Command { std: "docker" "start" "-a" "bffa99cfb5e0b2b4d9522f414623356c878f12744757cc71dde5fe3a588cc71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bffa99cfb5e0b2b4d9522f414623356c878f12744757cc71dde5fe3a588cc71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffa99cfb5e0b2b4d9522f414623356c878f12744757cc71dde5fe3a588cc71a", kill_on_drop: false }` [INFO] [stdout] bffa99cfb5e0b2b4d9522f414623356c878f12744757cc71dde5fe3a588cc71a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e2085f493e3ee254492c3760da243cb440aef688b501c517f2e06944711048 [INFO] running `Command { std: "docker" "start" "-a" "d2e2085f493e3ee254492c3760da243cb440aef688b501c517f2e06944711048", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling termai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, `system_fingerprint`, and `usage` are never read [INFO] [stdout] --> src/openai/model/chat_completion_response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChatCompletionResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 7 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub system_fingerprint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub choices: Option>, [INFO] [stdout] 13 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionResponse` 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: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stdout] --> src/openai/model/choice.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub message: MessageContent, [INFO] [stdout] 8 | pub logprobs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasoning_tokens` is never read [INFO] [stdout] --> src/openai/model/completion_token_details.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CompletionTokensDetails { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 5 | pub reasoning_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionTokensDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_output_message`, `prepend_content`, and `remove_from_content` are never used [INFO] [stdout] --> src/openai/model/chat_message.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChatMessage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(role: &str, content: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn to_output_message(&self) -> message::Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, `total_tokens`, and `completion_tokens_details` are never read [INFO] [stdout] --> src/openai/model/usage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | prompt_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | completion_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | completion_tokens_details: CompletionTokensDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Low` and `Medium` are never constructed [INFO] [stdout] --> src/openai/model/reasoning_effort.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ReasoningEffort { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_with_message` is never used [INFO] [stdout] --> src/output/message.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 9 | pub fn copy_with_message(&self, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepend_content` and `remove_from_content` are never used [INFO] [stdout] --> src/session/model/message.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_current_session` is never used [INFO] [stdout] --> src/session/repository/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SessionRepository [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn fetch_current_session(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_all_messages` is never used [INFO] [stdout] --> src/session/repository/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait MessageRepository [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn fetch_all_messages(&self) -> Result, Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "d2e2085f493e3ee254492c3760da243cb440aef688b501c517f2e06944711048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e2085f493e3ee254492c3760da243cb440aef688b501c517f2e06944711048", kill_on_drop: false }` [INFO] [stdout] d2e2085f493e3ee254492c3760da243cb440aef688b501c517f2e06944711048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d799291251afa3d9df609a7a4d045c0dfadcc0a35c06021ddf9d16c47d0e61c [INFO] running `Command { std: "docker" "start" "-a" "7d799291251afa3d9df609a7a4d045c0dfadcc0a35c06021ddf9d16c47d0e61c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling termai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, `system_fingerprint`, and `usage` are never read [INFO] [stdout] --> src/openai/model/chat_completion_response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChatCompletionResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 7 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub system_fingerprint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub choices: Option>, [INFO] [stdout] 13 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionResponse` 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: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stdout] --> src/openai/model/choice.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub message: MessageContent, [INFO] [stdout] 8 | pub logprobs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasoning_tokens` is never read [INFO] [stdout] --> src/openai/model/completion_token_details.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CompletionTokensDetails { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 5 | pub reasoning_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionTokensDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_output_message`, `prepend_content`, and `remove_from_content` are never used [INFO] [stdout] --> src/openai/model/chat_message.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChatMessage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(role: &str, content: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn to_output_message(&self) -> message::Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, `total_tokens`, and `completion_tokens_details` are never read [INFO] [stdout] --> src/openai/model/usage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | prompt_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | completion_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | completion_tokens_details: CompletionTokensDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Low` and `Medium` are never constructed [INFO] [stdout] --> src/openai/model/reasoning_effort.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ReasoningEffort { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_with_message` is never used [INFO] [stdout] --> src/output/message.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 9 | pub fn copy_with_message(&self, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepend_content` and `remove_from_content` are never used [INFO] [stdout] --> src/session/model/message.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_current_session` is never used [INFO] [stdout] --> src/session/repository/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SessionRepository [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn fetch_current_session(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_all_messages` is never used [INFO] [stdout] --> src/session/repository/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait MessageRepository [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn fetch_all_messages(&self) -> Result, Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.01s [INFO] running `Command { std: "docker" "inspect" "7d799291251afa3d9df609a7a4d045c0dfadcc0a35c06021ddf9d16c47d0e61c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d799291251afa3d9df609a7a4d045c0dfadcc0a35c06021ddf9d16c47d0e61c", kill_on_drop: false }` [INFO] [stdout] 7d799291251afa3d9df609a7a4d045c0dfadcc0a35c06021ddf9d16c47d0e61c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e1f87ba0332db8633216add29552118420dd94e8801ecf3af42ba80789c09ea [INFO] running `Command { std: "docker" "start" "-a" "4e1f87ba0332db8633216add29552118420dd94e8801ecf3af42ba80789c09ea", kill_on_drop: false }` [INFO] [stderr] warning: fields `id`, `object`, `created`, `model`, `system_fingerprint`, and `usage` are never read [INFO] [stderr] --> src/openai/model/chat_completion_response.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ChatCompletionResponse { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] 7 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | pub object: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | pub created: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | pub model: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | pub system_fingerprint: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | pub choices: Option>, [INFO] [stderr] 13 | pub usage: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatCompletionResponse` 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: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stderr] --> src/openai/model/choice.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Choice { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 6 | pub index: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | pub message: MessageContent, [INFO] [stderr] 8 | pub logprobs: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub finish_reason: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `reasoning_tokens` is never read [INFO] [stderr] --> src/openai/model/completion_token_details.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CompletionTokensDetails { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 5 | pub reasoning_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompletionTokensDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `to_output_message`, `prepend_content`, and `remove_from_content` are never used [INFO] [stderr] --> src/openai/model/chat_message.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl ChatMessage { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(role: &str, content: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn to_output_message(&self) -> message::Message { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `prompt_tokens`, `completion_tokens`, `total_tokens`, and `completion_tokens_details` are never read [INFO] [stderr] --> src/openai/model/usage.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Usage { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 6 | prompt_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 7 | completion_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | total_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 9 | completion_tokens_details: CompletionTokensDetails, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Low` and `Medium` are never constructed [INFO] [stderr] --> src/openai/model/reasoning_effort.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum ReasoningEffort { [INFO] [stderr] | --------------- variants in this enum [INFO] [stderr] 6 | Low, [INFO] [stderr] | ^^^ [INFO] [stderr] 7 | Medium, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `copy_with_message` is never used [INFO] [stderr] --> src/output/message.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Message { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 9 | pub fn copy_with_message(&self, message: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `prepend_content` and `remove_from_content` are never used [INFO] [stderr] --> src/session/model/message.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Message { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn prepend_content(&self, text: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn remove_from_content(&self, text: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `fetch_current_session` is never used [INFO] [stderr] --> src/session/repository/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait SessionRepository [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 16 | fn fetch_current_session(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `fetch_all_messages` is never used [INFO] [stderr] --> src/session/repository/mod.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub trait MessageRepository [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 41 | fn fetch_all_messages(&self) -> Result, Self::Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `termai` (bin "termai" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/termai-34537e9eb9aac106) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test path::extract::tests::test_extract_content_with_directory_includes_all_files ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_returns_none_for_nonexistent_path ... ok [INFO] [stdout] test redactions::common::tests::test_redaction_map_empty ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_excludes_hidden_directory ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_with_relative_path_removes_dot_slash ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_replaces_multiple_occurrences ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_returns_unmodified_content_when_no_redactions ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_handles_regex_special_characters_in_id ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_returns_empty_string_when_input_is_empty ... ok [INFO] [stdout] test redactions::common::tests::test_redaction_map_unique_entries_have_unique_uuids ... ok [INFO] [stdout] test redactions::common::tests::test_redaction_map_valid_uuid_values ... ok [INFO] [stdout] test redactions::common::tests::test_redaction_map_with_duplicates ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_returns_none_for_none_path ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_with_directory_excludes_specified_file ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_replaces_multiple_different_redactions ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_returns_empty_string_when_input_is_empty ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_replaces_multiple_occurrences ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_returns_unmodified_content_when_no_redactions ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_replaces_single_occurrence ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_replaces_single_occurrence ... ok [INFO] [stdout] test path::extract::tests::test_extract_content_with_file_input ... ok [INFO] [stdout] test redactions::redact::tests::test_redact_handles_regex_special_characters_in_redaction_key ... ok [INFO] [stdout] test redactions::revert::tests::test_unredact_replaces_multiple_different_redactions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e1f87ba0332db8633216add29552118420dd94e8801ecf3af42ba80789c09ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1f87ba0332db8633216add29552118420dd94e8801ecf3af42ba80789c09ea", kill_on_drop: false }` [INFO] [stdout] 4e1f87ba0332db8633216add29552118420dd94e8801ecf3af42ba80789c09ea