[INFO] cloning repository https://github.com/puroai/PudClaw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/puroai/PudClaw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuroai%2FPudClaw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuroai%2FPudClaw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54a65c2f76d7061a142c8fcac5dcad553b283d9a [INFO] testing puroai/PudClaw against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuroai%2FPudClaw" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/puroai/PudClaw [INFO] finished tweaking git repo https://github.com/puroai/PudClaw [INFO] tweaked toml for git repo https://github.com/puroai/PudClaw written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/puroai/PudClaw on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/puroai/PudClaw 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4a0bdda5bdabbaef7235073cd1bdafade8ec2381766b5552279e77a9e2c26c4 [INFO] running `Command { std: "docker" "start" "-a" "c4a0bdda5bdabbaef7235073cd1bdafade8ec2381766b5552279e77a9e2c26c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4a0bdda5bdabbaef7235073cd1bdafade8ec2381766b5552279e77a9e2c26c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a0bdda5bdabbaef7235073cd1bdafade8ec2381766b5552279e77a9e2c26c4", kill_on_drop: false }` [INFO] [stdout] c4a0bdda5bdabbaef7235073cd1bdafade8ec2381766b5552279e77a9e2c26c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae13732297401a6cb24e6ee72878748bbe432a17311d8cea947d451538e4b1fb [INFO] running `Command { std: "docker" "start" "-a" "ae13732297401a6cb24e6ee72878748bbe432a17311d8cea947d451538e4b1fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rmcp v1.2.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling aws-lc-sys v0.39.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling process-wrap v9.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling provider v0.1.0 (/opt/rustwide/workdir/crates/provider) [INFO] [stderr] Compiling opencompany-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stdout] warning: constant `DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS` is never used [INFO] [stdout] --> crates/core/src/agent.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS: usize = 1_024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_history_chat_messages` is never used [INFO] [stdout] --> crates/core/src/agent.rs:504:4 [INFO] [stdout] | [INFO] [stdout] 504 | fn build_history_chat_messages( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `available_history_tokens` is never used [INFO] [stdout] --> crates/core/src/agent.rs:519:4 [INFO] [stdout] | [INFO] [stdout] 519 | fn available_history_tokens(context_window: Option, latest_input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_history_to_context_window` is never used [INFO] [stdout] --> crates/core/src/agent.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn trim_history_to_context_window<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_chat_message_tokens` is never used [INFO] [stdout] --> crates/core/src/agent.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn estimate_chat_message_tokens(message: &ChatMessage) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_token_count` is never used [INFO] [stdout] --> crates/core/src/agent.rs:575:4 [INFO] [stdout] | [INFO] [stdout] 575 | fn estimate_token_count(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_entry_to_chat_message` is never used [INFO] [stdout] --> crates/core/src/session.rs:1669:4 [INFO] [stdout] | [INFO] [stdout] 1669 | fn session_entry_to_chat_message(entry: &SessionEntry) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling opencompany-extensions v0.1.0 (/opt/rustwide/workdir/crates/extensions) [INFO] [stderr] Compiling langfuse-sdk v0.1.0 (/opt/rustwide/workdir/crates/langfuse-sdk) [INFO] [stderr] Compiling opencompany-tools v0.1.0 (/opt/rustwide/workdir/crates/tools) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/apps/cli) [INFO] [stdout] warning: field `config_path` is never read [INFO] [stdout] --> apps/cli/src/api.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct RuntimeOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub config_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "ae13732297401a6cb24e6ee72878748bbe432a17311d8cea947d451538e4b1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae13732297401a6cb24e6ee72878748bbe432a17311d8cea947d451538e4b1fb", kill_on_drop: false }` [INFO] [stdout] ae13732297401a6cb24e6ee72878748bbe432a17311d8cea947d451538e4b1fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f2f8d4ab7acce058d9a05761989834f48368dc5a34c207517c0a3b2e011a076 [INFO] running `Command { std: "docker" "start" "-a" "9f2f8d4ab7acce058d9a05761989834f48368dc5a34c207517c0a3b2e011a076", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling rmcp v1.2.0 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling rmcp-macros v1.2.0 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling provider v0.1.0 (/opt/rustwide/workdir/crates/provider) [INFO] [stderr] Compiling opencompany-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stdout] warning: constant `DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS` is never used [INFO] [stdout] --> crates/core/src/agent.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS: usize = 1_024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_history_chat_messages` is never used [INFO] [stdout] --> crates/core/src/agent.rs:504:4 [INFO] [stdout] | [INFO] [stdout] 504 | fn build_history_chat_messages( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `available_history_tokens` is never used [INFO] [stdout] --> crates/core/src/agent.rs:519:4 [INFO] [stdout] | [INFO] [stdout] 519 | fn available_history_tokens(context_window: Option, latest_input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_history_to_context_window` is never used [INFO] [stdout] --> crates/core/src/agent.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn trim_history_to_context_window<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_chat_message_tokens` is never used [INFO] [stdout] --> crates/core/src/agent.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn estimate_chat_message_tokens(message: &ChatMessage) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_token_count` is never used [INFO] [stdout] --> crates/core/src/agent.rs:575:4 [INFO] [stdout] | [INFO] [stdout] 575 | fn estimate_token_count(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_entry_to_chat_message` is never used [INFO] [stdout] --> crates/core/src/session.rs:1669:4 [INFO] [stdout] | [INFO] [stdout] 1669 | fn session_entry_to_chat_message(entry: &SessionEntry) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling opencompany-extensions v0.1.0 (/opt/rustwide/workdir/crates/extensions) [INFO] [stderr] Compiling langfuse-sdk v0.1.0 (/opt/rustwide/workdir/crates/langfuse-sdk) [INFO] [stderr] Compiling opencompany-tools v0.1.0 (/opt/rustwide/workdir/crates/tools) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/apps/cli) [INFO] [stdout] warning: function `session_entry_to_chat_message` is never used [INFO] [stdout] --> crates/core/src/session.rs:1669:4 [INFO] [stdout] | [INFO] [stdout] 1669 | fn session_entry_to_chat_message(entry: &SessionEntry) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.21s [INFO] running `Command { std: "docker" "inspect" "9f2f8d4ab7acce058d9a05761989834f48368dc5a34c207517c0a3b2e011a076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2f8d4ab7acce058d9a05761989834f48368dc5a34c207517c0a3b2e011a076", kill_on_drop: false }` [INFO] [stdout] 9f2f8d4ab7acce058d9a05761989834f48368dc5a34c207517c0a3b2e011a076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce2f8e283997077e91d8a542e8df65d68504bc3b1c8ae2412236665bbabb4cd6 [INFO] running `Command { std: "docker" "start" "-a" "ce2f8e283997077e91d8a542e8df65d68504bc3b1c8ae2412236665bbabb4cd6", kill_on_drop: false }` [INFO] [stderr] warning: constant `DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS` is never used [INFO] [stderr] --> crates/core/src/agent.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | const DEFAULT_CONTEXT_WINDOW_RESERVE_TOKENS: usize = 1_024; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `build_history_chat_messages` is never used [INFO] [stderr] --> crates/core/src/agent.rs:504:4 [INFO] [stderr] | [INFO] [stderr] 504 | fn build_history_chat_messages( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `available_history_tokens` is never used [INFO] [stderr] --> crates/core/src/agent.rs:519:4 [INFO] [stderr] | [INFO] [stderr] 519 | fn available_history_tokens(context_window: Option, latest_input: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `trim_history_to_context_window` is never used [INFO] [stderr] --> crates/core/src/agent.rs:529:4 [INFO] [stderr] | [INFO] [stderr] 529 | fn trim_history_to_context_window<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `estimate_chat_message_tokens` is never used [INFO] [stderr] --> crates/core/src/agent.rs:553:4 [INFO] [stderr] | [INFO] [stderr] 553 | fn estimate_chat_message_tokens(message: &ChatMessage) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `estimate_token_count` is never used [INFO] [stderr] --> crates/core/src/agent.rs:575:4 [INFO] [stderr] | [INFO] [stderr] 575 | fn estimate_token_count(text: &str) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `session_entry_to_chat_message` is never used [INFO] [stderr] --> crates/core/src/session.rs:1669:4 [INFO] [stderr] | [INFO] [stderr] 1669 | fn session_entry_to_chat_message(entry: &SessionEntry) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `session_entry_to_chat_message` is never used [INFO] [stderr] --> crates/core/src/session.rs:1669:4 [INFO] [stderr] | [INFO] [stderr] 1669 | fn session_entry_to_chat_message(entry: &SessionEntry) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `opencompany-core` (lib) generated 7 warnings [INFO] [stderr] warning: `opencompany-core` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cli-2358b712fbf2370b) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test api::tests::clap_requires_session_id ... ok [INFO] [stdout] test api::tests::clap_accepts_config_flag ... ok [INFO] [stdout] test app::tests::app_keeps_latest_message_visible_after_new_messages ... ok [INFO] [stdout] test api::tests::default_exec_workdir_resolves_to_existing_directory ... ok [INFO] [stdout] test api::tests::load_agent_skills_returns_empty_when_skills_dir_missing ... ok [INFO] [stdout] test app::tests::assistant_deltas_update_streaming_message ... ok [INFO] [stdout] test app::tests::chat_history_loaded_replaces_current_messages ... ok [INFO] [stdout] test api::tests::runtime_options_load_config_and_use_its_model ... ok [INFO] [stdout] test tests::help_command_stays_in_chat ... ok [INFO] [stdout] test utils::tests::token_estimate_never_returns_zero ... ok [INFO] [stdout] test tests::clap_requires_session_id ... ok [INFO] [stdout] test app::tests::input_editor_inserts_and_deletes_text ... ok [INFO] [stdout] test api::tests::runtime_options_default_session_db_is_applied ... ok [INFO] [stdout] test api::tests::load_agent_skills_skips_unknown_skill_names ... ok [INFO] [stdout] test utils::tests::history_and_storage_extract_text_messages ... ok [INFO] [stdout] test app::tests::zero_value_session_info_does_not_clear_live_token_counter ... ok [INFO] [stdout] test api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills' (17) panicked at apps/cli/src/api/tests.rs:129:5: [INFO] [stdout] assertion failed: prompt.starts_with("Runtime instructions.\n\nConfig instructions.") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61c8477697c8 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61c8477697c8 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61c8477697c8 - std[d054f6f42beb1baa]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x61c8477697c8 - <::print::DisplayBacktrace as core[5a1c3e9896636f3a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x61c84777e99a - ::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x61c84777e99a - core[5a1c3e9896636f3a]::fmt::write [INFO] [stdout] 6: 0x61c84776e2b2 - std[d054f6f42beb1baa]::io::default_write_fmt::> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x61c84776e2b2 - as std[d054f6f42beb1baa]::io::Write>::write_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x61c847746076 - ::print [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x61c847746076 - std[d054f6f42beb1baa]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x61c847760bb9 - std[d054f6f42beb1baa]::panicking::default_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x61c84758797c - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 12: 0x61c84758797c - test[fad20673b750c10e]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x61c847760d72 - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 14: 0x61c847760d72 - std[d054f6f42beb1baa]::panicking::panic_with_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x61c847746164 - std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x61c84773d7f9 - std[d054f6f42beb1baa]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x61c847746e4d - __rustc[7ab284efd7f33ea8]::rust_begin_unwind [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x61c84777f12c - core[5a1c3e9896636f3a]::panicking::panic_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x61c84777f0f2 - core[5a1c3e9896636f3a]::panicking::panic [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x61c847551dad - cli[7dc0c63bd8ce1a00]::api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills [INFO] [stdout] at /opt/rustwide/workdir/apps/cli/src/api/tests.rs:129:5 [INFO] [stdout] 21: 0x61c84754d817 - cli[7dc0c63bd8ce1a00]::api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/apps/cli/src/api/tests.rs:105:77 [INFO] [stdout] 22: 0x61c84755c896 - >::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x61c84757aa5b - core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61c84757aa5b - test[fad20673b750c10e]::__rust_begin_short_backtrace::, fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:724:18 [INFO] [stdout] 25: 0x61c8475882d5 - test[fad20673b750c10e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:74 [INFO] [stdout] 26: 0x61c8475882d5 - as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 27: 0x61c8475882d5 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x61c8475882d5 - std[d054f6f42beb1baa]::panicking::catch_unwind::, core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x61c8475882d5 - std[d054f6f42beb1baa]::panic::catch_unwind::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x61c8475882d5 - test[fad20673b750c10e]::run_test_in_process [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:27 [INFO] [stdout] 31: 0x61c8475882d5 - test[fad20673b750c10e]::run_test::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:668:43 [INFO] [stdout] 32: 0x61c847582e34 - test[fad20673b750c10e]::run_test::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:698:41 [INFO] [stdout] 33: 0x61c847582e34 - std[d054f6f42beb1baa]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x61c84758b352 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 35: 0x61c84758b352 - ::{closure#1}::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 36: 0x61c84758b352 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 37: 0x61c84758b352 - std[d054f6f42beb1baa]::panicking::catch_unwind::<(), core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x61c84758b352 - std[d054f6f42beb1baa]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] error: test failed, to rerun pass `-p cli --bin cli` [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x61c84758b352 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 40: 0x61c84758b352 - ::{closure#1} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x61c84776893f - + core[5a1c3e9896636f3a]::marker::Send> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2277:9 [INFO] [stdout] 42: 0x61c84776893f - ::new::thread_start [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 43: 0x76dddcea7aa4 - [INFO] [stdout] 44: 0x76dddcf34a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] api::tests::build_agent_system_prompt_keeps_runtime_prompt_before_config_and_skills [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce2f8e283997077e91d8a542e8df65d68504bc3b1c8ae2412236665bbabb4cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2f8e283997077e91d8a542e8df65d68504bc3b1c8ae2412236665bbabb4cd6", kill_on_drop: false }` [INFO] [stdout] ce2f8e283997077e91d8a542e8df65d68504bc3b1c8ae2412236665bbabb4cd6