[INFO] cloning repository https://github.com/retblast/ai_translator-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retblast/ai_translator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretblast%2Fai_translator-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretblast%2Fai_translator-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 668f35638508a91b47acb6630874e881570a75e3
[INFO] checking retblast/ai_translator-rs against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretblast%2Fai_translator-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/retblast/ai_translator-rs
[INFO] finished tweaking git repo https://github.com/retblast/ai_translator-rs
[INFO] tweaked toml for git repo https://github.com/retblast/ai_translator-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/retblast/ai_translator-rs on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/retblast/ai_translator-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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.54
[INFO] [stderr]   Downloaded aws-lc-sys v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2
[INFO] running `Command { std: "docker" "start" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2", 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" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2", 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" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling aws-lc-rs v1.15.4
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking clap_lex v0.7.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.54
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling aws-lc-sys v0.37.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.6.2
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.13.1
[INFO] [stderr]     Checking ai_translator-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{BufRead, BufReader},
[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: `get_translated_srt_progress`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::srt_ops::{get_translated_srt_progress, process_srt_file};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{BufRead, BufReader},
[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: `get_translated_srt_progress`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::srt_ops::{get_translated_srt_progress, process_srt_file};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_fragment` is never read
[INFO] [stdout]   --> src/srt_ops.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 |       let mut current_fragment = SRTFragment {
[INFO] [stdout]    |  ________________________________^
[INFO] [stdout] 44 | |         index: 0,
[INFO] [stdout] 45 | |         timing: String::new(),
[INFO] [stdout] 46 | |         line: String::new(),
[INFO] [stdout] 47 | |     };
[INFO] [stdout]    | |_____^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                   current_fragment = SRTFragment {
[INFO] [stdout]    |                   ---------------- `current_fragment` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `translated_fragment` is never read
[INFO] [stdout]   --> src/srt_ops.rs:48:35
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let mut translated_fragment = SRTFragment {
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 49 | |         index: 0,
[INFO] [stdout] 50 | |         timing: String::new(),
[INFO] [stdout] 51 | |         line: String::new(),
[INFO] [stdout] 52 | |     };
[INFO] [stdout]    | |_____^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |                   translated_fragment = current_fragment.clone();
[INFO] [stdout]    |                   ------------------- `translated_fragment` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_fragment` is never read
[INFO] [stdout]   --> src/srt_ops.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 |       let mut current_fragment = SRTFragment {
[INFO] [stdout]    |  ________________________________^
[INFO] [stdout] 44 | |         index: 0,
[INFO] [stdout] 45 | |         timing: String::new(),
[INFO] [stdout] 46 | |         line: String::new(),
[INFO] [stdout] 47 | |     };
[INFO] [stdout]    | |_____^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                   current_fragment = SRTFragment {
[INFO] [stdout]    |                   ---------------- `current_fragment` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `translated_fragment` is never read
[INFO] [stdout]   --> src/srt_ops.rs:48:35
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let mut translated_fragment = SRTFragment {
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 49 | |         index: 0,
[INFO] [stdout] 50 | |         timing: String::new(),
[INFO] [stdout] 51 | |         line: String::new(),
[INFO] [stdout] 52 | |     };
[INFO] [stdout]    | |_____^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |                   translated_fragment = current_fragment.clone();
[INFO] [stdout]    |                   ------------------- `translated_fragment` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let context = cli.keep_context;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context_lines`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let context_lines = cli.context_lines;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_translated_srt_progress` is never used
[INFO] [stdout]    --> src/srt_ops.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn get_translated_srt_progress(read_buffer: &mut BufReader<&File>) -> u16 {
[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 variable: `context`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let context = cli.keep_context;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context_lines`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let context_lines = cli.context_lines;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_translated_srt_progress` is never used
[INFO] [stdout]    --> src/srt_ops.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn get_translated_srt_progress(read_buffer: &mut BufReader<&File>) -> u16 {
[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 17.40s
[INFO] running `Command { std: "docker" "inspect" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2", kill_on_drop: false }`
[INFO] [stdout] b18157d9d5222b308418898a003d5e634a657991cdb61fb028fb0fca6afbd1c2
