[INFO] cloning repository https://github.com/marccoadou/video-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marccoadou/video-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccoadou%2Fvideo-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccoadou%2Fvideo-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2854dc756caf17111558c802c3902fa6392f52aa [INFO] building marccoadou/video-server against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccoadou%2Fvideo-server" "/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/marccoadou/video-server [INFO] finished tweaking git repo https://github.com/marccoadou/video-server [INFO] tweaked toml for git repo https://github.com/marccoadou/video-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marccoadou/video-server on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marccoadou/video-server 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129c8de991b1f9e767d08e6963e76b5f25cd7cdf978ecdb2064f565bfed66739 [INFO] running `Command { std: "docker" "start" "-a" "129c8de991b1f9e767d08e6963e76b5f25cd7cdf978ecdb2064f565bfed66739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129c8de991b1f9e767d08e6963e76b5f25cd7cdf978ecdb2064f565bfed66739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129c8de991b1f9e767d08e6963e76b5f25cd7cdf978ecdb2064f565bfed66739", kill_on_drop: false }` [INFO] [stdout] 129c8de991b1f9e767d08e6963e76b5f25cd7cdf978ecdb2064f565bfed66739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84bc36ae22f2661e0946a55b2657243ac73d566a8718d939e72312568c0dd1d [INFO] running `Command { std: "docker" "start" "-a" "a84bc36ae22f2661e0946a55b2657243ac73d566a8718d939e72312568c0dd1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.1 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling sea-query v0.32.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sea-orm v1.1.1 [INFO] [stderr] Compiling emby-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `packet` [INFO] [stdout] --> src/routes/media.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use ffmpeg_next::{codec, encoder, format, log, media, packet, Rational}; [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 variable: `subtitle_stream_index` [INFO] [stdout] --> src/routes/media.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let (subtitle_stream_index, subtitle_params) = input_context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subtitle_stream_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/routes/media.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let decoder = decoder_ctx.decoder().subtitle().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_stream` [INFO] [stdout] --> src/routes/media.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut output_stream = output_ctx [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_params` [INFO] [stdout] --> src/routes/media.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut output_params = Parameters::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input_context = format::input(&input_file_path).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut output_stream = output_ctx [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut output_params = Parameters::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffmpeg_next::codec::traits::Encoder` [INFO] [stdout] --> src/services/transcode_media_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ffmpeg_next::codec::traits::Encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x264_opts` [INFO] [stdout] --> src/services/transcode_media_service.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | x264_opts: Dictionary, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x264_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octx` [INFO] [stdout] --> src/services/transcode_media_service.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | fn receive_and_process_decoded_frames(&mut self, octx: &mut Output, ost_time_base: Rational) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_octx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ost_time_base` [INFO] [stdout] --> src/services/transcode_media_service.rs:130:73 [INFO] [stdout] | [INFO] [stdout] 130 | fn receive_and_process_decoded_frames(&mut self, octx: &mut Output, ost_time_base: Rational) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ost_time_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/services/transcode_media_service.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | fn log_progress(&mut self, timestamp: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_media_content` is never used [INFO] [stdout] --> src/services/media_service.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn full_media_content(file: &mut File) -> Result { [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 `logging_enabled`, `frame_count`, `last_log_frame_count`, `starting_time`, and `last_log_frame` are never read [INFO] [stdout] --> src/services/transcode_media_service.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SubtitleTranscoder { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | logging_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | frame_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | last_log_frame_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | starting_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | last_log_frame: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "a84bc36ae22f2661e0946a55b2657243ac73d566a8718d939e72312568c0dd1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84bc36ae22f2661e0946a55b2657243ac73d566a8718d939e72312568c0dd1d", kill_on_drop: false }` [INFO] [stdout] a84bc36ae22f2661e0946a55b2657243ac73d566a8718d939e72312568c0dd1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9efd5e14fdf9eaed3a6f52c4b45af9a13ebcfe2ae6d22558071338a030eea021 [INFO] running `Command { std: "docker" "start" "-a" "9efd5e14fdf9eaed3a6f52c4b45af9a13ebcfe2ae6d22558071338a030eea021", kill_on_drop: false }` [INFO] [stderr] Compiling emby-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `packet` [INFO] [stdout] --> src/routes/media.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use ffmpeg_next::{codec, encoder, format, log, media, packet, Rational}; [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 variable: `subtitle_stream_index` [INFO] [stdout] --> src/routes/media.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let (subtitle_stream_index, subtitle_params) = input_context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subtitle_stream_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/routes/media.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let decoder = decoder_ctx.decoder().subtitle().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_stream` [INFO] [stdout] --> src/routes/media.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut output_stream = output_ctx [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_params` [INFO] [stdout] --> src/routes/media.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut output_params = Parameters::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input_context = format::input(&input_file_path).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut output_stream = output_ctx [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/media.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut output_params = Parameters::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffmpeg_next::codec::traits::Encoder` [INFO] [stdout] --> src/services/transcode_media_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ffmpeg_next::codec::traits::Encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x264_opts` [INFO] [stdout] --> src/services/transcode_media_service.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | x264_opts: Dictionary, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x264_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octx` [INFO] [stdout] --> src/services/transcode_media_service.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | fn receive_and_process_decoded_frames(&mut self, octx: &mut Output, ost_time_base: Rational) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_octx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ost_time_base` [INFO] [stdout] --> src/services/transcode_media_service.rs:130:73 [INFO] [stdout] | [INFO] [stdout] 130 | fn receive_and_process_decoded_frames(&mut self, octx: &mut Output, ost_time_base: Rational) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ost_time_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/services/transcode_media_service.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | fn log_progress(&mut self, timestamp: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_media_content` is never used [INFO] [stdout] --> src/services/media_service.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn full_media_content(file: &mut File) -> Result { [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 `logging_enabled`, `frame_count`, `last_log_frame_count`, `starting_time`, and `last_log_frame` are never read [INFO] [stdout] --> src/services/transcode_media_service.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SubtitleTranscoder { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | logging_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | frame_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | last_log_frame_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | starting_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | last_log_frame: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "9efd5e14fdf9eaed3a6f52c4b45af9a13ebcfe2ae6d22558071338a030eea021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9efd5e14fdf9eaed3a6f52c4b45af9a13ebcfe2ae6d22558071338a030eea021", kill_on_drop: false }` [INFO] [stdout] 9efd5e14fdf9eaed3a6f52c4b45af9a13ebcfe2ae6d22558071338a030eea021