[INFO] fetching crate cgip 0.5.2... [INFO] testing cgip-0.5.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cgip 0.5.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cgip 0.5.2 [INFO] finished tweaking crates.io crate cgip 0.5.2 [INFO] tweaked toml for crates.io crate cgip 0.5.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cgip 0.5.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cgip 0.5.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded reqwest v0.12.18 [INFO] [stderr] Downloaded yaml-rust2 v0.10.2 [INFO] [stderr] Downloaded tiktoken-rs v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0102b871008b5822b3857c664e41671718d0ac194d8c967e1296e301f5c1bec7 [INFO] running `Command { std: "docker" "start" "-a" "0102b871008b5822b3857c664e41671718d0ac194d8c967e1296e301f5c1bec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0102b871008b5822b3857c664e41671718d0ac194d8c967e1296e301f5c1bec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0102b871008b5822b3857c664e41671718d0ac194d8c967e1296e301f5c1bec7", kill_on_drop: false }` [INFO] [stdout] 0102b871008b5822b3857c664e41671718d0ac194d8c967e1296e301f5c1bec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8975f8c6ecb8a8a59f5e7c7abf3320d3c5043f11052cdba3032f00503f6107b3 [INFO] running `Command { std: "docker" "start" "-a" "8975f8c6ecb8a8a59f5e7c7abf3320d3c5043f11052cdba3032f00503f6107b3", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling yaml-rust2 v0.10.2 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling tiktoken-rs v0.6.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.18 [INFO] [stderr] Compiling cgip v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/args.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/chatgpt/message.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MessageContent { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 25 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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" "8975f8c6ecb8a8a59f5e7c7abf3320d3c5043f11052cdba3032f00503f6107b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8975f8c6ecb8a8a59f5e7c7abf3320d3c5043f11052cdba3032f00503f6107b3", kill_on_drop: false }` [INFO] [stdout] 8975f8c6ecb8a8a59f5e7c7abf3320d3c5043f11052cdba3032f00503f6107b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca20a1e4bbef078d986d3fda2a97bb4cc952d1427fdf9406a1d5c6b5d293892c [INFO] running `Command { std: "docker" "start" "-a" "ca20a1e4bbef078d986d3fda2a97bb4cc952d1427fdf9406a1d5c6b5d293892c", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling cgip v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/args.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/chatgpt/message.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MessageContent { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 25 | pub fn as_str(&self) -> &str { [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 2.72s [INFO] running `Command { std: "docker" "inspect" "ca20a1e4bbef078d986d3fda2a97bb4cc952d1427fdf9406a1d5c6b5d293892c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca20a1e4bbef078d986d3fda2a97bb4cc952d1427fdf9406a1d5c6b5d293892c", kill_on_drop: false }` [INFO] [stdout] ca20a1e4bbef078d986d3fda2a97bb4cc952d1427fdf9406a1d5c6b5d293892c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1f94f797757dc4ba7ad7f5f3ef19da4a13d1ceed238a6ff76ddf020135574d0 [INFO] running `Command { std: "docker" "start" "-a" "a1f94f797757dc4ba7ad7f5f3ef19da4a13d1ceed238a6ff76ddf020135574d0", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: unused import: `command` [INFO] [stderr] --> src/args.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{command, Parser}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/chatgpt/message.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl MessageContent { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 25 | pub fn as_str(&self) -> &str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `cgip` (bin "cgip" test) generated 2 warnings (run `cargo fix --bin "cgip" -p cgip --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cgip-ccb6a6de04d3e281) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test chatgpt::tests::test_get_completions_url_gemini_style ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_with_trailing_slash ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_with_v1 ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_without_v1 ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_with_v1_and_trailing_slash ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_with_v2 ... ok [INFO] [stdout] test chatgpt::tests::test_get_completions_url_with_existing_endpoint ... ok [INFO] [stdout] test chatgpt::tests::test_get_system_prompt ... ok [INFO] [stdout] test chatgpt::tests::test_no_search_prefix ... ok [INFO] [stdout] test chatgpt::tests::test_search_model_selection_with_gpt ... ok [INFO] [stdout] test chatgpt::tests::test_search_model_selection_with_gpt_in_middle ... ok [INFO] [stdout] test chatgpt::tests::test_search_model_selection_with_non_gpt ... ok [INFO] [stdout] test chatgpt::tests::test_search_prefix_detection ... ok [INFO] [stdout] test sub::session::tests::test_run_view ... ok [INFO] [stdout] test utils::tests::test_markdown_from_messages ... ok [INFO] [stdout] test chatgpt::tests::test_search_prefix_with_whitespace ... ok [INFO] [stdout] test config_manager::tests::test_custom_config_with_missing ... ok [INFO] [stdout] test config_manager::tests::test_default_config ... ok [INFO] [stdout] test utils::tests::test_get_file_contents_from_path ... ok [INFO] [stdout] test utils::tests::test_ensure_config_file ... ok [INFO] [stdout] test config_manager::tests::test_custom_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1f94f797757dc4ba7ad7f5f3ef19da4a13d1ceed238a6ff76ddf020135574d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f94f797757dc4ba7ad7f5f3ef19da4a13d1ceed238a6ff76ddf020135574d0", kill_on_drop: false }` [INFO] [stdout] a1f94f797757dc4ba7ad7f5f3ef19da4a13d1ceed238a6ff76ddf020135574d0