[INFO] cloning repository https://github.com/drogus/epub-translator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drogus/epub-translator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrogus%2Fepub-translator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrogus%2Fepub-translator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f51d32351e9d806862352b06c620b8dbbd85ccf7
[INFO] checking drogus/epub-translator against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrogus%2Fepub-translator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/drogus/epub-translator
[INFO] finished tweaking git repo https://github.com/drogus/epub-translator
[INFO] tweaked toml for git repo https://github.com/drogus/epub-translator written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drogus/epub-translator on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drogus/epub-translator 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zip v2.4.2
[INFO] [stderr]   Downloaded libsql-hrana v0.2.0
[INFO] [stderr]   Downloaded lzma-rs v0.3.0
[INFO] [stderr]   Downloaded xml-rs v1.0.0
[INFO] [stderr]   Downloaded libsql-sys v0.8.0
[INFO] [stderr]   Downloaded libsql_replication v0.6.0
[INFO] [stderr]   Downloaded reqwest-eventsource v0.6.0
[INFO] [stderr]   Downloaded libz-rs-sys v0.5.5
[INFO] [stderr]   Downloaded bzip2 v0.5.2
[INFO] [stderr]   Downloaded xml v1.2.0
[INFO] [stderr]   Downloaded async-convert v1.0.0
[INFO] [stderr]   Downloaded libsql v0.6.0
[INFO] [stderr]   Downloaded zip v3.0.0
[INFO] [stderr]   Downloaded async-openai v0.26.0
[INFO] [stderr]   Downloaded libsql-rusqlite v0.33.0
[INFO] [stderr]   Downloaded zlib-rs v0.5.5
[INFO] [stderr]   Downloaded epub v2.1.5
[INFO] [stderr]   Downloaded libsql-ffi v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7
[INFO] running `Command { std: "docker" "start" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7", 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" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]     Checking zlib-rs v0.5.5
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking bumpalo v3.19.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking axum-core v0.3.4
[INFO] [stderr]     Checking libz-rs-sys v0.5.5
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking zopfli v0.8.3
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling libsql-sqlite3-parser v0.13.0
[INFO] [stderr]     Checking webpki-roots v1.0.5
[INFO] [stderr]     Checking prost v0.12.6
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking rustls-native-certs v0.7.3
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking xml v1.2.0
[INFO] [stderr]    Compiling zip v2.4.2
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking xz2 v0.1.7
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking bzip2 v0.5.2
[INFO] [stderr]     Checking xml-rs v1.0.0
[INFO] [stderr]     Checking libsql-hrana v0.2.0
[INFO] [stderr]     Checking zip v3.0.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking async-convert v1.0.0
[INFO] [stderr]     Checking deflate64 v0.1.10
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-io-timeout v1.2.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking epub v2.1.5
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking async-openai v0.26.0
[INFO] [stderr]    Compiling libsql-ffi v0.5.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking axum v0.6.20
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking hyper-rustls v0.25.0
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stderr]     Checking tonic-web v0.11.0
[INFO] [stderr]     Checking libsql-rusqlite v0.33.0
[INFO] [stderr]     Checking libsql-sys v0.8.0
[INFO] [stderr]     Checking libsql_replication v0.6.0
[INFO] [stderr]     Checking libsql v0.6.0
[INFO] [stderr]     Checking epub-translator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stdout]   --> src/translator.rs:56:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |             .temperature(0.3)
[INFO] [stdout]    |                          ^^^ help: explicitly specify the type as `f32`: `0.3_f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stdout]    = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stdout]   --> src/translator.rs:56:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |             .temperature(0.3)
[INFO] [stdout]    |                          ^^^ help: explicitly specify the type as `f32`: `0.3_f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stdout]    = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_document_languages` is never used
[INFO] [stdout]   --> src/db.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Database {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn get_document_languages(&self, document_id: i64) -> Result<(String, String)> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk_index` and `original_text` are never read
[INFO] [stdout]    --> src/db.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct TranslatedChunk {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 219 |     pub chunk_index: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 220 |     pub content_id: String,
[INFO] [stdout] 221 |     pub original_text: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_spine_length` is never used
[INFO] [stdout]   --> src/epub_reader.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl EpubReader {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn get_spine_length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_html_files` and `find_html_files_recursive` are never used
[INFO] [stdout]    --> src/epub_writer.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl EpubWriter {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn find_html_files(&self, base_path: &Path) -> Result<Vec<(String, PathBuf)>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn find_html_files_recursive(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_document_languages` is never used
[INFO] [stdout]   --> src/db.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Database {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn get_document_languages(&self, document_id: i64) -> Result<(String, String)> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk_index` and `original_text` are never read
[INFO] [stdout]    --> src/db.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct TranslatedChunk {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 219 |     pub chunk_index: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 220 |     pub content_id: String,
[INFO] [stdout] 221 |     pub original_text: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_spine_length` is never used
[INFO] [stdout]   --> src/epub_reader.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl EpubReader {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn get_spine_length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_html_files` and `find_html_files_recursive` are never used
[INFO] [stdout]    --> src/epub_writer.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl EpubWriter {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn find_html_files(&self, base_path: &Path) -> Result<Vec<(String, PathBuf)>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn find_html_files_recursive(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7", kill_on_drop: false }`
[INFO] [stdout] becf17295cca80048b93db6a74c7a217a4218067a862b074db9def2d7cefb7d7
