[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] testing drogus/epub-translator against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrogus%2Fepub-translator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drogus/epub-translator on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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" "+1.100.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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510 [INFO] running `Command { std: "docker" "start" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", 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" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", 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" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling zlib-rs v0.5.5 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling libsql-sqlite3-parser v0.13.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling xml v1.2.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling xml-rs v1.0.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling deflate64 v0.1.10 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling libz-rs-sys v0.5.5 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling zip v3.0.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling epub v2.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling libsql-ffi v0.5.0 [INFO] [stderr] Compiling libsql-hrana v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.26.0 [INFO] [stderr] Compiling libsql-rusqlite v0.33.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [INFO] [stderr] Compiling libsql-sys v0.8.0 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling libsql_replication v0.6.0 [INFO] [stderr] Compiling tonic-web v0.11.0 [INFO] [stderr] Compiling libsql v0.6.0 [INFO] [stderr] Compiling 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: falling back to `f32` as the trait bound `f32: From` 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 [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> { [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 2m 20s [INFO] running `Command { std: "docker" "inspect" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", 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" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling 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: falling back to `f32` as the trait bound `f32: From` 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 [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn find_html_files_recursive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", 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" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/translator.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | .temperature(0.3) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `0.3_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_document_languages` is never used [INFO] [stderr] --> src/db.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 8 | impl Database { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 87 | pub async fn get_document_languages(&self, document_id: i64) -> Result<(String, String)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `chunk_index` and `original_text` are never read [INFO] [stderr] --> src/db.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 218 | pub struct TranslatedChunk { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 219 | pub chunk_index: i64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 220 | pub content_id: String, [INFO] [stderr] 221 | pub original_text: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_spine_length` is never used [INFO] [stderr] --> src/epub_reader.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl EpubReader { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn get_spine_length(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `find_html_files` and `find_html_files_recursive` are never used [INFO] [stderr] --> src/epub_writer.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 11 | impl EpubWriter { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 99 | fn find_html_files(&self, base_path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | fn find_html_files_recursive( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `epub-translator` (bin "epub-translator" test) generated 6 warnings (run `cargo fix --bin "epub-translator" -p epub-translator --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/epub-translator/1d6b082749fb5ecc/out/epub_translator-1d6b082749fb5ecc) [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" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510", kill_on_drop: false }` [INFO] [stdout] 812d4034c7284e0bf157bac3486137d631805eed633eb1be1071d2a2ce73e510