[INFO] cloning repository https://github.com/comfortablynumb/epub-distiller
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comfortablynumb/epub-distiller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynumb%2Fepub-distiller", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynumb%2Fepub-distiller'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b757ae596c3531b6a527df68a7e2601b80d9c213
[INFO] testing comfortablynumb/epub-distiller against 1.97.0-beta.6 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynumb%2Fepub-distiller" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/comfortablynumb/epub-distiller
[INFO] finished tweaking git repo https://github.com/comfortablynumb/epub-distiller
[INFO] tweaked toml for git repo https://github.com/comfortablynumb/epub-distiller written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/comfortablynumb/epub-distiller on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/comfortablynumb/epub-distiller 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.112
[INFO] [stderr]   Downloaded match_token v0.1.0
[INFO] [stderr]   Downloaded markup5ever v0.16.2
[INFO] [stderr]   Downloaded xml-rs v1.0.0
[INFO] [stderr]   Downloaded upon v0.7.1
[INFO] [stderr]   Downloaded html5ever v0.31.0
[INFO] [stderr]   Downloaded html2text v0.14.4
[INFO] [stderr]   Downloaded dialoguer v0.12.0
[INFO] [stderr]   Downloaded xml v1.2.1
[INFO] [stderr]   Downloaded pulldown-cmark v0.12.2
[INFO] [stderr]   Downloaded epub-builder v0.7.4
[INFO] [stderr]   Downloaded zlib-rs v0.6.3
[INFO] [stderr]   Downloaded zip v3.0.0
[INFO] [stderr]   Downloaded openssl v0.10.76
[INFO] [stderr]   Downloaded epub v2.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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] 21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151
[INFO] running `Command { std: "docker" "start" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", 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" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", 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" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling indexmap v2.13.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling zlib-rs v0.6.3
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling zopfli v0.8.3
[INFO] [stderr]    Compiling quick-xml v0.38.4
[INFO] [stderr]    Compiling pulldown-cmark v0.12.2
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling indenter v0.3.4
[INFO] [stderr]    Compiling xml v1.2.1
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling utf8-width v0.1.8
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling html-escape v0.2.13
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling web_atoms v0.1.3
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling xml-rs v1.0.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling console v0.16.3
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling dialoguer v0.12.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling sanitize-filename v0.6.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling zip v3.0.0
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling match_token v0.1.0
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling epub v2.1.5
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling plist v1.8.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling upon v0.7.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling syntect v5.3.0
[INFO] [stderr]    Compiling markup5ever v0.16.2
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling html5ever v0.31.0
[INFO] [stderr]    Compiling epub-builder v0.7.4
[INFO] [stderr]    Compiling html2text v0.14.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling epub-distiller v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `filter_chapters` is never used
[INFO] [stdout]    --> src/main.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn filter_chapters(chapters: Vec<parser::Chapter>, selected: &[usize]) -> Vec<parser::Chapter> {
[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 19s
[INFO] running `Command { std: "docker" "inspect" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", 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" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling epub-distiller v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.79s
[INFO] running `Command { std: "docker" "inspect" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", 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" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/epub_distiller-d906a9281ce2eb2b)
[INFO] [stdout] 
[INFO] [stdout] running 119 tests
[INFO] [stdout] test chunker::tests::test_assemble_chunks_respects_max ... ok
[INFO] [stdout] test chunker::tests::test_find_sentences_no_split ... ok
[INFO] [stdout] test chunker::tests::test_merge_trailing_chunk ... ok
[INFO] [stdout] test chunker::tests::test_merge_trailing_chunk_keeps_large ... ok
[INFO] [stdout] test chunker::tests::test_split_into_chunks_merges_small_paragraphs ... ok
[INFO] [stdout] test chunker::tests::test_split_into_chunks_no_split_needed ... ok
[INFO] [stdout] test chunker::tests::test_split_into_chunks_splits_on_paragraphs ... ok
[INFO] [stdout] test chunker::tests::test_split_on_words ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_claude_no_key ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_force_flag ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_claude_with_key ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_prompt_load_failure ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_custom_endpoint ... ok
[INFO] [stdout] test config::tests::test_default_endpoints ... ok
[INFO] [stdout] test config::tests::test_default_prompt_path_fiction ... ok
[INFO] [stdout] test config::tests::test_default_prompt_path_nonfiction ... ok
[INFO] [stdout] test config::tests::test_parse_backend_case_insensitive ... ok
[INFO] [stdout] test config::tests::test_parse_backend_claude ... ok
[INFO] [stdout] test config::tests::test_parse_backend_ollama ... ok
[INFO] [stdout] test config::tests::test_parse_backend_openai ... ok
[INFO] [stdout] test config::tests::test_parse_backend_unknown ... ok
[INFO] [stdout] test config::tests::test_parse_mode_fiction ... ok
[INFO] [stdout] test distiller::tests::test_distill_empty_book ... ok
[INFO] [stdout] test config::tests::test_parse_mode_nonfiction ... ok
[INFO] [stdout] test distiller::tests::test_distill_preserves_chapter_metadata ... ok
[INFO] [stdout] test config::tests::test_parse_mode_unknown ... ok
[INFO] [stdout] test distiller::tests::test_extract_tail_sentence_boundary ... ok
[INFO] [stdout] test config::tests::test_build_distill_config_openai ... ok
[INFO] [stdout] test distiller::tests::test_extract_tail_paragraph_boundary ... ok
[INFO] [stdout] test distiller::tests::test_skip_existing_section ... ok
[INFO] [stdout] test epub_gen::tests::test_escape_html ... ok
[INFO] [stdout] test distiller::tests::test_extract_tail_short_text ... ok
[INFO] [stdout] test distiller::tests::test_fallback_section_preserves_original ... ok
[INFO] [stdout] test distiller::tests::test_cross_chunk_context_passed ... ok
[INFO] [stdout] test chunker::tests::test_find_sentences ... ok
[INFO] [stdout] test distiller::tests::test_multisection_chapter ... ok
[INFO] [stdout] test distiller::tests::test_retry_fails_after_two_attempts ... ok
[INFO] [stdout] test distiller::tests::test_distill_book_success ... ok
[INFO] [stdout] test distiller::tests::test_retry_succeeds_on_second_attempt ... ok
[INFO] [stdout] test distiller::tests::test_distill_book_with_failures ... ok
[INFO] [stdout] test epub_gen::tests::test_extract_book_title ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_section_header ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_section_header_no_match ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_keywords_section ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_html_tags ... ok
[INFO] [stdout] test error::tests::test_config_error_display ... ok
[INFO] [stdout] test epub_gen::tests::test_wrap_xhtml ... ok
[INFO] [stdout] test epub_gen::tests::test_inject_heading_ids ... ok
[INFO] [stdout] test error::tests::test_epub_parse_error_display ... ok
[INFO] [stdout] test error::tests::test_llm_response_error_display ... ok
[INFO] [stdout] test epub_gen::tests::test_convert_latex_symbols ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_broken_ref_style_images ... ok
[INFO] [stdout] test epub_gen::tests::test_title_from_path ... ok
[INFO] [stdout] test epub_gen::tests::test_latex_display_math ... ok
[INFO] [stdout] test error::tests::test_io_error_from ... ok
[INFO] [stdout] test highlight::tests::test_normalize_lang ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_broken_image_refs ... ok
[INFO] [stdout] test epub_gen::tests::test_valid_image_refs_preserved ... ok
[INFO] [stdout] test epub_gen::tests::test_latex_inline_math ... ok
[INFO] [stdout] test highlight::tests::test_highlight_unknown_lang_still_wraps ... ok
[INFO] [stdout] test highlight::tests::test_decode_html_entities ... ok
[INFO] [stdout] test highlight::tests::test_generate_syntax_css_has_rules ... ok
[INFO] [stdout] test epub_gen::tests::test_strip_bare_word_image_refs ... ok
[INFO] [stdout] test highlight::tests::test_highlight_preserves_non_code ... ok
[INFO] [stdout] test epub_gen::tests::test_highlight_code_blocks_python ... ok
[INFO] [stdout] test epub_gen::tests::test_highlight_preserves_non_code ... ok
[INFO] [stdout] test epub_gen::tests::test_highlight_output_has_class_spans ... ok
[INFO] [stdout] test output::tests::test_book_folder_path ... ok
[INFO] [stdout] test llm::ollama::tests::test_build_request ... ok
[INFO] [stdout] test output::tests::test_compute_reduction ... ok
[INFO] [stdout] test output::tests::test_format_chapter_title_with_name ... ok
[INFO] [stdout] test output::tests::test_format_chapter_title_without_name ... ok
[INFO] [stdout] test output::tests::test_chapter_filename_without_title ... ok
[INFO] [stdout] test output::tests::test_format_number ... ok
[INFO] [stdout] test output::tests::test_chapter_filename_with_title ... ok
[INFO] [stdout] test epub_gen::tests::test_highlight_code_blocks_unknown_lang ... ok
[INFO] [stdout] test output::tests::test_render_chapter_markdown ... ok
[INFO] [stdout] test output::tests::test_section_filename_without_title ... ok
[INFO] [stdout] test output::tests::test_section_output_path_multi_section ... ok
[INFO] [stdout] test output::tests::test_section_output_path_single_section ... ok
[INFO] [stdout] test output::tests::test_slugify ... ok
[INFO] [stdout] test highlight::tests::test_highlight_produces_class_spans ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_chapter_title_h1 ... ok
[INFO] [stdout] test output::tests::test_mock_writer ... ok
[INFO] [stdout] test llm::claude::tests::test_parse_response_success ... ok
[INFO] [stdout] test output::tests::test_render_section_markdown ... ok
[INFO] [stdout] test output::tests::test_section_filename_with_title ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_chapter_title_none ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_chapter_title_with_inline_tags ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_image_refs ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_image_refs_deduplicates ... ok
[INFO] [stdout] test epub_gen::tests::test_markdown_to_html ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_html_to_plain_text ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_find_first_heading_missing ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_find_next_img_src ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_html_to_plain_text_strips_tags ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_split_into_sections_no_headings ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_chapter_title_h2 ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_section_gets_image_refs ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_find_next_img_src_single_quotes ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_split_into_sections_with_h2 ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_extract_image_refs_no_images ... ok
[INFO] [stdout] test llm::claude::tests::test_parse_response_empty_content ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_toc_based_parsing ... ok
[INFO] [stdout] test tests::test_count_sections ... ok
[INFO] [stdout] test llm::claude::tests::test_parse_response_invalid_json ... ok
[INFO] [stdout] test tests::test_process_book_multi_section_creates_folder ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_strip_inline_tags ... ok
[INFO] [stdout] test tests::test_process_book_writes_chapter_file ... ok
[INFO] [stdout] test tests::test_is_epub_file ... ok
[INFO] [stdout] test parser::epub_impl::tests::test_find_first_heading_empty ... ok
[INFO] [stdout] test tests::test_filter_chapters ... ok
[INFO] [stdout] test llm::openai::tests::test_build_request ... ok
[INFO] [stdout] test llm::ollama::tests::test_parse_response_invalid_json ... ok
[INFO] [stdout] test llm::claude::tests::test_build_request ... ok
[INFO] [stdout] test llm::openai::tests::test_parse_response_empty_choices ... ok
[INFO] [stdout] test llm::ollama::tests::test_parse_response_success ... ok
[INFO] [stdout] test llm::openai::tests::test_parse_response_invalid_json ... ok
[INFO] [stdout] test llm::openai::tests::test_parse_response_success ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 119 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151", kill_on_drop: false }`
[INFO] [stdout] 21d1da221b1f6365dbeb803fa0a558869e5d143eed06b48eb7ed288ef1a57151
