[INFO] cloning repository https://github.com/iinwind/rust_finalproject_kbsearch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iinwind/rust_finalproject_kbsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiinwind%2Frust_finalproject_kbsearch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiinwind%2Frust_finalproject_kbsearch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f9e4ff1b2798568bf2ec0b0bac8e575dc4de1eb0
[INFO] testing iinwind/rust_finalproject_kbsearch against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiinwind%2Frust_finalproject_kbsearch" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iinwind/rust_finalproject_kbsearch
[INFO] finished tweaking git repo https://github.com/iinwind/rust_finalproject_kbsearch
[INFO] tweaked toml for git repo https://github.com/iinwind/rust_finalproject_kbsearch written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iinwind/rust_finalproject_kbsearch on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iinwind/rust_finalproject_kbsearch 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809
[INFO] running `Command { std: "docker" "start" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling rle-decode-fast v1.0.3
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling dary_heap v0.3.9
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]    Compiling block-padding v0.3.3
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling pom v1.1.0
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling no_std_io2 v0.9.4
[INFO] [stderr]    Compiling libflate_lz77 v2.3.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling libflate v2.3.0
[INFO] [stderr]    Compiling cbc v0.1.2
[INFO] [stderr]    Compiling ecb v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling pulldown-cmark v0.11.3
[INFO] [stderr]    Compiling rangemap v1.7.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling weezl v0.1.12
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling jieba-macros v0.7.1
[INFO] [stderr]    Compiling cedarwood v0.4.6
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling type1-encoding-parser v0.1.1
[INFO] [stderr]    Compiling adobe-cmap-parser v0.4.1
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]    Compiling euclid v0.20.14
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling postscript v0.14.1
[INFO] [stderr]    Compiling cff-parser v0.1.0
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling nom_locate v5.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling rand v0.9.4
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling docx-lite v0.2.0
[INFO] [stderr]    Compiling lopdf v0.38.0
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling include-flate-compress v0.3.3
[INFO] [stderr]    Compiling include-flate-codegen v0.3.3
[INFO] [stderr]    Compiling include-flate v0.3.3
[INFO] [stderr]    Compiling jieba-rs v0.7.4
[INFO] [stderr]    Compiling pdf-extract v0.10.0
[INFO] [stderr]    Compiling kbsearch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.64s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling lopdf v0.38.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling pulldown-cmark v0.11.3
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling pdf-extract v0.10.0
[INFO] [stderr]    Compiling kbsearch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 14.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kbsearch-b85d0cce032c2daa)
[INFO] [stdout] 
[INFO] [stdout] running 50 tests
[INFO] [stdout] test indexer::tests::test_posting_positions ... ok
[INFO] [stdout] test indexer::tests::test_index_stats ... ok
[INFO] [stdout] test indexer::tests::test_build_from_documents ... ok
[INFO] [stdout] test indexer::tests::test_add_document ... ok
[INFO] [stdout] test indexer::tests::test_tfidf_calculation ... ok
[INFO] [stdout] test indexer::tests::test_tokenizer_single_char_filtered ... ok
[INFO] [stdout] test parser::tests::test_extract_title ... ok
[INFO] [stdout] test indexer::tests::test_simple_tokenizer ... ok
[INFO] [stdout] test parser::tests::test_generate_doc_id_consistency ... ok
[INFO] [stdout] test parser::tests::test_generate_doc_id_uniqueness ... ok
[INFO] [stdout] test parser::tests::test_docx_parser_invalid_file ... ok
[INFO] [stdout] test parser::tests::test_extract_markdown_text ... ok
[INFO] [stdout] test parser::tests::test_markdown_parser ... ok
[INFO] [stdout] test parser::tests::test_parser_registry_markdown ... ok
[INFO] [stdout] test scanner::tests::test_detect_file_type ... ok
[INFO] [stdout] test parser::tests::test_parser_registry_txt ... ok
[INFO] [stdout] test parser::tests::test_parser_registry_unsupported ... ok
[INFO] [stdout] test parser::tests::test_pdf_parser_invalid_file ... ok
[INFO] [stdout] test scanner::tests::test_scan_nonexistent_directory ... ok
[INFO] [stdout] test searcher::tests::test_search_no_results ... ok
[INFO] [stdout] test searcher::tests::test_search_empty_query ... ok
[INFO] [stdout] test scanner::tests::test_scan_skips_hidden ... ok
[INFO] [stdout] test parser::tests::test_docx_parser ... ok
[INFO] [stdout] test searcher::tests::test_search_limit ... ok
[INFO] [stdout] test searcher::tests::test_search_multiple_terms ... ok
[INFO] [stdout] test parser::tests::test_parser_registry_pdf ... ok
[INFO] [stdout] test parser::tests::test_parser_registry_docx ... ok
[INFO] [stdout] test parser::tests::test_txt_parser ... ok
[INFO] [stdout] test searcher::tests::test_search_ranking ... ok
[INFO] [stdout] test storage::tests::test_default_index_path ... ok
[INFO] [stdout] test storage::tests::test_load_nonexistent ... ok
[INFO] [stdout] test tokenizer::tests::test_segment_by_cjk_mixed ... ok
[INFO] [stdout] test searcher::tests::test_search_single_term ... ok
[INFO] [stdout] test tokenizer::tests::test_segment_by_cjk_pure_chinese ... ok
[INFO] [stdout] test tokenizer::tests::test_segment_by_cjk_pure_english ... ok
[INFO] [stdout] test scanner::tests::test_scan_directory ... ok
[INFO] [stdout] test storage::tests::test_save_and_load ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_english_only ... ok
[INFO] [stdout] test storage::tests::test_save_creates_parent_dir ... ok
[INFO] [stdout] test tokenizer::tests::test_simple_tokenizer ... ok
[INFO] [stdout] test tokenizer::tests::test_simple_tokenizer_single_char_filtered ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_english_single_char_filtered ... ok
[INFO] [stdout] test parser::tests::test_pdf_parser ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_chinese ... ok
[INFO] [stdout] test tokenizer::tests::test_jieba_tokenizer ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_search_mode ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_mixed ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_chinese_single_char_not_filtered ... ok
[INFO] [stdout] test tokenizer::tests::test_mixed_tokenizer_chinese_stop_words ... ok
[INFO] [stdout] test searcher::tests::test_search_chinese ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.04s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kbsearch-53d9886322255bbd)
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-405d78cc3e2a70bc)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test test_empty_directory_search ... ok
[INFO] [stdout] test test_index_persistence ... ok
[INFO] [stdout] test test_search_limit ... ok
[INFO] [stdout] test test_reindex_overwrites ... ok
[INFO] [stdout] test test_pdf_docx_search ... ok
[INFO] [stdout] test test_tfidf_ranking ... ok
[INFO] [stdout] test test_mixed_language_search ... ok
[INFO] [stdout] test test_snippet_generation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.92s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests kbsearch
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809", kill_on_drop: false }`
[INFO] [stdout] 8e6d7aa2a14d920b09a3ddd652f4e702bf7f2409d159a3faa39bcdedc5843809
