[INFO] cloning repository https://github.com/go-numb/auto-mv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/go-numb/auto-mv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgo-numb%2Fauto-mv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgo-numb%2Fauto-mv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 927ba6869f545c69a06382dba19320e34260c679 [INFO] building go-numb/auto-mv against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgo-numb%2Fauto-mv" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/go-numb/auto-mv [INFO] finished tweaking git repo https://github.com/go-numb/auto-mv [INFO] tweaked toml for git repo https://github.com/go-numb/auto-mv written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/go-numb/auto-mv on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/go-numb/auto-mv 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded anyhow v1.0.89 [INFO] [stderr] Downloaded prost-derive v0.13.3 [INFO] [stderr] Downloaded prost-types v0.13.3 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded hyper-timeout v0.5.1 [INFO] [stderr] Downloaded prost v0.13.3 [INFO] [stderr] Downloaded gauth v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded pin-project-internal v1.1.6 [INFO] [stderr] Downloaded pin-project v1.1.6 [INFO] [stderr] Downloaded prettyplease v0.2.22 [INFO] [stderr] Downloaded prost-build v0.13.3 [INFO] [stderr] Downloaded hyper v1.4.1 [INFO] [stderr] Downloaded cc v1.1.29 [INFO] [stderr] Downloaded libc v0.2.159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb1414b3e3c26992f867c3f57e962a8d6b9ba0736996faef3c62d627fe2028d [INFO] running `Command { std: "docker" "start" "-a" "0cb1414b3e3c26992f867c3f57e962a8d6b9ba0736996faef3c62d627fe2028d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb1414b3e3c26992f867c3f57e962a8d6b9ba0736996faef3c62d627fe2028d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb1414b3e3c26992f867c3f57e962a8d6b9ba0736996faef3c62d627fe2028d", kill_on_drop: false }` [INFO] [stdout] 0cb1414b3e3c26992f867c3f57e962a8d6b9ba0736996faef3c62d627fe2028d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9269067c0de6f113b2de7645cb7dfa7187b1a70653c7fbf6084e25950512296 [INFO] running `Command { std: "docker" "start" "-a" "c9269067c0de6f113b2de7645cb7dfa7187b1a70653c7fbf6084e25950512296", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.1.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling gauth v0.8.0 [INFO] [stderr] Compiling auto-mv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | for (i, script) in slides.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | for (i, script) in slides.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut slides: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crop` is never used [INFO] [stdout] --> src/ffmpeg/command.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn crop( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/ass_subtitle.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subtitle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outline_color` is never read [INFO] [stdout] --> src/models/ass_subtitle.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Style { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub outline_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/models/ass_subtitle.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Style { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 85 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ass_subtitle.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl StyleType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 204 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `start_time`, `end_time`, `image_path`, and `display_options` are never read [INFO] [stdout] --> src/models/slide.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SlideImage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | /// 画像表示の開始時間 [INFO] [stdout] 8 | pub start_time: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | /// 画像表示の終了時間 [INFO] [stdout] 10 | pub end_time: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | /// 画像のファイルパス(またはURL) [INFO] [stdout] 12 | pub image_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | /// 画像の表示位置やサイズのオプション(オプション) [INFO] [stdout] 14 | pub display_options: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlideImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_pos`, `y_pos`, `width`, and `height` are never read [INFO] [stdout] --> src/models/slide.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ImageDisplayOptions { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 20 | /// 表示するX座標(左上を基準) [INFO] [stdout] 21 | pub x_pos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | /// 表示するY座標(左上を基準) [INFO] [stdout] 23 | pub y_pos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// 画像の幅 [INFO] [stdout] 25 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | /// 画像の高さ [INFO] [stdout] 27 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageDisplayOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subtitle` is never constructed [INFO] [stdout] --> src/models/subtitle.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subtitle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration_as_srt_time` is never used [INFO] [stdout] --> src/models/subtitle.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn format_duration_as_srt_time(duration: Duration) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Style` is never constructed [INFO] [stdout] --> src/models/subtitle.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Style { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_style` is never used [INFO] [stdout] --> src/models/subtitle.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Style { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 66 | /// Generate the style string for passing to ffmpeg's force_style option [INFO] [stdout] 67 | pub fn to_style(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/models/subtitle.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/models/subtitle.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 120 | pub fn to_string(&self, alpha: u8) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "c9269067c0de6f113b2de7645cb7dfa7187b1a70653c7fbf6084e25950512296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9269067c0de6f113b2de7645cb7dfa7187b1a70653c7fbf6084e25950512296", kill_on_drop: false }` [INFO] [stdout] c9269067c0de6f113b2de7645cb7dfa7187b1a70653c7fbf6084e25950512296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e4f5dd134c558379a643a897b7aee0479511d5db8ec2687a6e4b6369ba9d81b [INFO] running `Command { std: "docker" "start" "-a" "0e4f5dd134c558379a643a897b7aee0479511d5db8ec2687a6e4b6369ba9d81b", kill_on_drop: false }` [INFO] [stderr] Compiling auto-mv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | for (i, script) in slides.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | for (i, script) in slides.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut slides: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crop` is never used [INFO] [stdout] --> src/ffmpeg/command.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn crop( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/ass_subtitle.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subtitle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outline_color` is never read [INFO] [stdout] --> src/models/ass_subtitle.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Style { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub outline_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/models/ass_subtitle.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Style { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 85 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ass_subtitle.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl StyleType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 204 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `start_time`, `end_time`, `image_path`, and `display_options` are never read [INFO] [stdout] --> src/models/slide.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SlideImage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | /// 画像表示の開始時間 [INFO] [stdout] 8 | pub start_time: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | /// 画像表示の終了時間 [INFO] [stdout] 10 | pub end_time: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | /// 画像のファイルパス(またはURL) [INFO] [stdout] 12 | pub image_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | /// 画像の表示位置やサイズのオプション(オプション) [INFO] [stdout] 14 | pub display_options: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlideImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_pos`, `y_pos`, `width`, and `height` are never read [INFO] [stdout] --> src/models/slide.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ImageDisplayOptions { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 20 | /// 表示するX座標(左上を基準) [INFO] [stdout] 21 | pub x_pos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | /// 表示するY座標(左上を基準) [INFO] [stdout] 23 | pub y_pos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// 画像の幅 [INFO] [stdout] 25 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | /// 画像の高さ [INFO] [stdout] 27 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageDisplayOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subtitle` is never constructed [INFO] [stdout] --> src/models/subtitle.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subtitle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration_as_srt_time` is never used [INFO] [stdout] --> src/models/subtitle.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn format_duration_as_srt_time(duration: Duration) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x2` and `y2` are never read [INFO] [stdout] --> src/models/subtitle.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Style { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub x2: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 62 | pub y2: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "0e4f5dd134c558379a643a897b7aee0479511d5db8ec2687a6e4b6369ba9d81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4f5dd134c558379a643a897b7aee0479511d5db8ec2687a6e4b6369ba9d81b", kill_on_drop: false }` [INFO] [stdout] 0e4f5dd134c558379a643a897b7aee0479511d5db8ec2687a6e4b6369ba9d81b