[INFO] cloning repository https://github.com/xuzhougeng/sgpt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuzhougeng/sgpt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuzhougeng%2Fsgpt-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuzhougeng%2Fsgpt-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21a70e4f751efddcf0bc2c8c4b8fdc140b9224d8 [INFO] testing xuzhougeng/sgpt-rs against master#c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuzhougeng%2Fsgpt-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xuzhougeng/sgpt-rs [INFO] finished tweaking git repo https://github.com/xuzhougeng/sgpt-rs [INFO] tweaked toml for git repo https://github.com/xuzhougeng/sgpt-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xuzhougeng/sgpt-rs on toolchain c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xuzhougeng/sgpt-rs 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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded adobe-cmap-parser v0.4.1 [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded euclid v0.20.14 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded time v0.3.43 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded pom v1.1.0 [INFO] [stderr] Downloaded coolor v0.8.0 [INFO] [stderr] Downloaded crossterm v0.23.2 [INFO] [stderr] Downloaded pdf-extract v0.7.12 [INFO] [stderr] Downloaded rangemap v1.6.0 [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded owo-colors v4.2.2 [INFO] [stderr] Downloaded postscript v0.14.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.16 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded thiserror v2.0.16 [INFO] [stderr] Downloaded termimad v0.25.7 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 941a551575af33a881cc5e8d3811af90257302fb17df52cab8c61aa0579f19c3 [INFO] running `Command { std: "docker" "start" "-a" "941a551575af33a881cc5e8d3811af90257302fb17df52cab8c61aa0579f19c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "941a551575af33a881cc5e8d3811af90257302fb17df52cab8c61aa0579f19c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941a551575af33a881cc5e8d3811af90257302fb17df52cab8c61aa0579f19c3", kill_on_drop: false }` [INFO] [stdout] 941a551575af33a881cc5e8d3811af90257302fb17df52cab8c61aa0579f19c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0d8a67f8fdb4546c22c89dc0aa971cf1d2fd4e1f41c9d2a9e14387f1f09f87b [INFO] running `Command { std: "docker" "start" "-a" "e0d8a67f8fdb4546c22c89dc0aa971cf1d2fd4e1f41c9d2a9e14387f1f09f87b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling rangemap v1.6.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling coolor v0.8.0 [INFO] [stderr] Compiling adobe-cmap-parser v0.4.1 [INFO] [stderr] Compiling type1-encoding-parser v0.1.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling postscript v0.14.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling lopdf v0.34.0 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pdf-extract v0.7.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling termimad v0.25.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling sgpt v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read_documents` [INFO] [stdout] --> src/utils/mod.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use document::{combine_doc_and_prompt, read_documents}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_documents` is never used [INFO] [stdout] --> src/utils/document.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_documents(file_paths: &[String]) -> Result { [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 14s [INFO] running `Command { std: "docker" "inspect" "e0d8a67f8fdb4546c22c89dc0aa971cf1d2fd4e1f41c9d2a9e14387f1f09f87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d8a67f8fdb4546c22c89dc0aa971cf1d2fd4e1f41c9d2a9e14387f1f09f87b", kill_on_drop: false }` [INFO] [stdout] e0d8a67f8fdb4546c22c89dc0aa971cf1d2fd4e1f41c9d2a9e14387f1f09f87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8589a7ff103d87922c6e02e268b875d3a5b9fe309cfe1ce4575f62ce29a1849 [INFO] running `Command { std: "docker" "start" "-a" "f8589a7ff103d87922c6e02e268b875d3a5b9fe309cfe1ce4575f62ce29a1849", kill_on_drop: false }` [INFO] [stderr] Compiling sgpt v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read_documents` [INFO] [stdout] --> src/utils/mod.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use document::{combine_doc_and_prompt, read_documents}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_documents` is never used [INFO] [stdout] --> src/utils/document.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_documents(file_paths: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_documents` [INFO] [stdout] --> src/utils/mod.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use document::{combine_doc_and_prompt, read_documents}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_documents` is never used [INFO] [stdout] --> src/utils/document.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_documents(file_paths: &[String]) -> Result { [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 `read_local_html_via_jina_when_key_present` is never used [INFO] [stdout] --> src/utils/doc_html.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | async fn read_local_html_via_jina_when_key_present() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.78s [INFO] running `Command { std: "docker" "inspect" "f8589a7ff103d87922c6e02e268b875d3a5b9fe309cfe1ce4575f62ce29a1849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8589a7ff103d87922c6e02e268b875d3a5b9fe309cfe1ce4575f62ce29a1849", kill_on_drop: false }` [INFO] [stdout] f8589a7ff103d87922c6e02e268b875d3a5b9fe309cfe1ce4575f62ce29a1849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] abd6e5896c18143308c9792fa4fa14cf0c9b174fd82b32c32195b780c1e96076 [INFO] running `Command { std: "docker" "start" "-a" "abd6e5896c18143308c9792fa4fa14cf0c9b174fd82b32c32195b780c1e96076", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `read_documents` [INFO] [stderr] --> src/utils/mod.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | pub use document::{combine_doc_and_prompt, read_documents}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `read_documents` is never used [INFO] [stderr] --> src/utils/document.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn read_documents(file_paths: &[String]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `read_local_html_via_jina_when_key_present` is never used [INFO] [stderr] --> src/utils/doc_html.rs:80:14 [INFO] [stderr] | [INFO] [stderr] 80 | async fn read_local_html_via_jina_when_key_present() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sgpt` (bin "sgpt" test) generated 3 warnings (run `cargo fix --bin "sgpt" -p sgpt --tests` to apply 1 suggestion) [INFO] [stderr] warning: `sgpt` (bin "sgpt") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sgpt-e5812c57133cc3a6) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tui::app::tests::placeholder_submit_and_cleanup ... ok [INFO] [stdout] test external::reader::tests::convert_html_sample_when_key_present ... ok [INFO] [stdout] test utils::pdf::tests::test_is_pdf_file ... ok [INFO] [stdout] test tui::app::tests::cjk_insert_backspace_delete_are_safe ... ok [INFO] [stdout] test utils::pdf::tests::test_format_pages_and_lines_multi_page ... ok [INFO] [stdout] test utils::pdf::tests::test_format_pages_and_lines_single_page ... ok [INFO] [stdout] test utils::pdf::tests::test_extract_nonexistent_pdf ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/pdf_extract_test.rs (/opt/rustwide/target/debug/deps/pdf_extract_test-4c3449042b1ed39e) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_pdf_extract_demo1 ... ok [INFO] [stdout] test test_pdf_extract_basic ... ok [INFO] [stdout] test test_pdf_extract_invalid_file ... ok [INFO] [stdout] test utility_tests::test_pdf_extract_library_info ... ok [INFO] [stdout] test test_pdf_extract_nonexistent_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/simple_pdf_test.rs (/opt/rustwide/target/debug/deps/simple_pdf_test-cd5eb53caa006bd7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_demo_pdf_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "abd6e5896c18143308c9792fa4fa14cf0c9b174fd82b32c32195b780c1e96076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd6e5896c18143308c9792fa4fa14cf0c9b174fd82b32c32195b780c1e96076", kill_on_drop: false }` [INFO] [stdout] abd6e5896c18143308c9792fa4fa14cf0c9b174fd82b32c32195b780c1e96076