[INFO] fetching crate rust_ffmpeg 1.0.0... [INFO] checking rust_ffmpeg-1.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rust_ffmpeg 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust_ffmpeg 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust_ffmpeg 1.0.0 [INFO] tweaked toml for crates.io crate rust_ffmpeg 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_ffmpeg 1.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_ffmpeg 1.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 865d2a7bea34e1b06f4f7827b1e4c14cf3bec98ee388a54404a5f8a44bde0be7 [INFO] running `Command { std: "docker" "start" "-a" "865d2a7bea34e1b06f4f7827b1e4c14cf3bec98ee388a54404a5f8a44bde0be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "865d2a7bea34e1b06f4f7827b1e4c14cf3bec98ee388a54404a5f8a44bde0be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865d2a7bea34e1b06f4f7827b1e4c14cf3bec98ee388a54404a5f8a44bde0be7", kill_on_drop: false }` [INFO] [stdout] 865d2a7bea34e1b06f4f7827b1e4c14cf3bec98ee388a54404a5f8a44bde0be7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d7f6a73cd3f51391d2be8f345662f31767625884b98e1895c189b428891c8ab [INFO] running `Command { std: "docker" "start" "-a" "6d7f6a73cd3f51391d2be8f345662f31767625884b98e1895c189b428891c8ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking ffmpeg-common v0.1.0 [INFO] [stderr] Checking rust_ffmpeg v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/codec.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{Codec, CommandBuilder, PixelFormat, Result, SampleFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/filter.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{utils, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/format.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{CommandBuilder, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PixelFormat`, `Result`, and `SampleFormat` [INFO] [stdout] --> src/output.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | Codec, CommandBuilder, Duration, MediaPath, PixelFormat, Result, SampleFormat, Size, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration as StdDuration` [INFO] [stdout] --> src/output.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration as StdDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/codec.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{Codec, CommandBuilder, PixelFormat, Result, SampleFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/filter.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{utils, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/format.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_common::{CommandBuilder, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PixelFormat`, `Result`, and `SampleFormat` [INFO] [stdout] --> src/output.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | Codec, CommandBuilder, Duration, MediaPath, PixelFormat, Result, SampleFormat, Size, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration as StdDuration` [INFO] [stdout] --> src/output.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration as StdDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SelectionRule` is more private than the item `StreamSelection::or` [INFO] [stdout] --> src/stream.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn or(mut self, rule: SelectionRule) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StreamSelection::or` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SelectionRule` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/stream.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | enum SelectionRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/filter.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 350 | struct FilterNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 351 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/filter.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 358 | struct FilterEdge { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 359 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 360 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterEdge` 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: missing documentation for a module [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub mod builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub mod codec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub mod filter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub mod format; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub mod input; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod output; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub mod stream; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | CounterClockwiseFlip = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Clockwise = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | CounterClockwise = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | ClockwiseFlip = 3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub default: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub dub: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub original: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub comment: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub lyrics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub karaoke: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub forced: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub hearing_impaired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub visual_impaired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | pub clean_effects: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub attached_pic: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub timed_thumbnails: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub captions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub descriptions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ffmpeg_rs` [INFO] [stdout] --> examples/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffmpeg_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ffmpeg_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ffmpeg_rs`, use `cargo add ffmpeg_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stream::SelectionRule` is more private than the item `stream::StreamSelection::or` [INFO] [stdout] --> src/stream.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn or(mut self, rule: SelectionRule) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `stream::StreamSelection::or` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `stream::SelectionRule` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/stream.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | enum SelectionRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/filter.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 350 | struct FilterNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 351 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/filter.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 358 | struct FilterEdge { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 359 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 360 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterEdge` 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: missing documentation for a module [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub mod builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub mod codec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub mod filter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub mod format; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub mod input; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod output; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub mod stream; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | CounterClockwiseFlip = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Clockwise = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | CounterClockwise = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/filter.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | ClockwiseFlip = 3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub default: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub dub: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub original: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub comment: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub lyrics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub karaoke: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub forced: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub hearing_impaired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub visual_impaired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | pub clean_effects: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub attached_pic: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub timed_thumbnails: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub captions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub descriptions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/stream.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FFmpegBuilder` [INFO] [stdout] --> examples/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | FFmpegBuilder::convert("video.mp4", "output.webm") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FFmpegBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::FFmpegBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FFmpegBuilder` [INFO] [stdout] --> examples/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FFmpegBuilder::new()? [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FFmpegBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::FFmpegBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> examples/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | .input(Input::new("video.mp4")) [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> examples/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Output::new("output.mp4") [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `presets` [INFO] [stdout] --> examples/main.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | .video_codec_opts(presets::h264::youtube_1080p()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `presets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `presets`, use `cargo add presets` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::prelude::presets::h264; [INFO] [stdout] | [INFO] [stdout] help: if you import `h264`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - .video_codec_opts(presets::h264::youtube_1080p()) [INFO] [stdout] 15 + .video_codec_opts(h264::youtube_1080p()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Codec` [INFO] [stdout] --> examples/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | .audio_codec(Codec::aac()) [INFO] [stdout] | ^^^^^ use of undeclared type `Codec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use ffmpeg_common::Codec; [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::Codec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VideoFilter` [INFO] [stdout] --> examples/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | .video_filter(VideoFilter::scale(1920, 1080)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VideoFilter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_ffmpeg::VideoFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ffmpeg` (example "main") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "6d7f6a73cd3f51391d2be8f345662f31767625884b98e1895c189b428891c8ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7f6a73cd3f51391d2be8f345662f31767625884b98e1895c189b428891c8ab", kill_on_drop: false }` [INFO] [stdout] 6d7f6a73cd3f51391d2be8f345662f31767625884b98e1895c189b428891c8ab