[INFO] fetching crate ffmpeg-next-crossfix 4.3.4... [INFO] testing ffmpeg-next-crossfix-4.3.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ffmpeg-next-crossfix 4.3.4 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate ffmpeg-next-crossfix 4.3.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ffmpeg-next-crossfix 4.3.4 [INFO] finished tweaking crates.io crate ffmpeg-next-crossfix 4.3.4 [INFO] tweaked toml for crates.io crate ffmpeg-next-crossfix 4.3.4 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate crates.io crate ffmpeg-next-crossfix 4.3.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1a5618d2a6108027f9ba50b99a70afb792e2190a4952ac519e0a668dcd28a8d [INFO] running `Command { std: "docker" "start" "-a" "b1a5618d2a6108027f9ba50b99a70afb792e2190a4952ac519e0a668dcd28a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1a5618d2a6108027f9ba50b99a70afb792e2190a4952ac519e0a668dcd28a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a5618d2a6108027f9ba50b99a70afb792e2190a4952ac519e0a668dcd28a8d", kill_on_drop: false }` [INFO] [stdout] b1a5618d2a6108027f9ba50b99a70afb792e2190a4952ac519e0a668dcd28a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9775433761ef8441115a11c12d04a1107140c6a335e36decb2aff680e8b10ef [INFO] running `Command { std: "docker" "start" "-a" "c9775433761ef8441115a11c12d04a1107140c6a335e36decb2aff680e8b10ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling ffmpeg-next-crossfix v4.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ffmpeg-sys-next-crossfix v4.3.4 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.31s [INFO] running `Command { std: "docker" "inspect" "c9775433761ef8441115a11c12d04a1107140c6a335e36decb2aff680e8b10ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9775433761ef8441115a11c12d04a1107140c6a335e36decb2aff680e8b10ef", kill_on_drop: false }` [INFO] [stdout] c9775433761ef8441115a11c12d04a1107140c6a335e36decb2aff680e8b10ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6975b512f970daf28ad2237ce5c1015a96a9482d1661c95dacc2feb63540f4c3 [INFO] running `Command { std: "docker" "start" "-a" "6975b512f970daf28ad2237ce5c1015a96a9482d1661c95dacc2feb63540f4c3", kill_on_drop: false }` [INFO] [stderr] Compiling ffmpeg-next-crossfix v4.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/transcode-x264.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/remux.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/transcode-audio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `format` [INFO] [stdout] --> examples/transcode-audio.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let args = format!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/dump-frames.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-audio.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | decoder: &codec::decoder::Audio, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `decoder` [INFO] [stdout] --> examples/transcode-x264.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | decoder: decoder::Video, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `encoder` [INFO] [stdout] --> examples/transcode-x264.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | encoder: encoder::video::Video, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-audio.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | encoder: &codec::encoder::Audio, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | ist: &format::stream::Stream, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `filter` [INFO] [stdout] --> examples/transcode-audio.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | octx: &mut format::context::Output, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/chapters.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/codec-info.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> examples/remux.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | log::set_level(log::Level::Warning); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> examples/remux.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | log::set_level(log::Level::Warning); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | let global_header = octx.format().flags().contains(format::Flags::GLOBAL_HEADER); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `encoder` [INFO] [stdout] --> examples/transcode-x264.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | let mut ost = octx.add_stream(encoder::find(codec::Id::H264))?; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/remux.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut ictx = format::input(&input_file).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-x264.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | let mut ost = octx.add_stream(encoder::find(codec::Id::H264))?; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/remux.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let mut octx = format::output(&output_file).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-x264.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | encoder.set_flags(codec::Flags::GLOBAL_HEADER); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/remux.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | if ist_medium != media::Type::Audio [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/remux.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | && ist_medium != media::Type::Video [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | octx: &mut format::context::Output, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/remux.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | && ist_medium != media::Type::Subtitle [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `encoder` [INFO] [stdout] --> examples/remux.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ost = octx.add_stream(encoder::find(codec::Id::None)).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `filter` [INFO] [stdout] --> examples/transcode-audio.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut filter = filter::Graph::new(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/remux.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ost = octx.add_stream(encoder::find(codec::Id::None)).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `filter` [INFO] [stdout] --> examples/transcode-audio.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | filter.add(&filter::find("abuffer").unwrap(), "in", &args)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `filter` [INFO] [stdout] --> examples/transcode-audio.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | filter.add(&filter::find("abuffersink").unwrap(), "out", "")?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rational` in this scope [INFO] [stdout] --> examples/remux.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut ist_time_bases = vec![Rational(0, 1); ictx.nb_streams() as _]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `filter` [INFO] [stdout] --> examples/transcode-audio.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | filter: filter::Graph, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-audio.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | decoder: codec::decoder::Audio, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-audio.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | encoder: codec::encoder::Audio, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | ictx: &mut format::context::Input, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | octx: &mut format::context::Output, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-audio.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | .best(media::Type::Audio) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-audio.rs:76:65 [INFO] [stdout] | [INFO] [stdout] 76 | let codec = ffmpeg::encoder::find(octx.format().codec(path, media::Type::Audio)) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | fn receive_and_process_encoded_packets(&mut self, octx: &mut format::context::Output) { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> examples/dump-frames.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | .best(Type::Video) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pixel` [INFO] [stdout] --> examples/dump-frames.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Pixel::RGB24, [INFO] [stdout] | ^^^^^ use of undeclared type `Pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags` [INFO] [stdout] --> examples/dump-frames.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Flags::BILINEAR, [INFO] [stdout] | ^^^^^ use of undeclared type `Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Video` [INFO] [stdout] --> examples/dump-frames.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | let mut decoded = Video::empty(); [INFO] [stdout] | ^^^^^ use of undeclared type `Video` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Video` [INFO] [stdout] --> examples/dump-frames.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | let mut rgb_frame = Video::empty(); [INFO] [stdout] | ^^^^^ use of undeclared type `Video` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_and_process_filtered_frames(&mut self, octx: &mut format::context::Output) { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> examples/transcode-audio.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | let mut filtered = frame::Audio::empty(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:181:65 [INFO] [stdout] | [INFO] [stdout] 181 | fn receive_and_process_decoded_frames(&mut self, octx: &mut format::context::Output) { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> examples/dump-frames.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(mut ictx) = input(&env::args().nth(1).expect("Cannot open file.")) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> examples/transcode-x264.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let mut frame = frame::Video::empty(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> examples/dump-frames.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut scaler = Context::get( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `picture` [INFO] [stdout] --> examples/transcode-x264.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | frame.set_kind(picture::Type::None); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `picture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> examples/transcode-x264.rs:106:49 [INFO] [stdout] | [INFO] [stdout] 106 | fn send_frame_to_encoder(&mut self, frame: &frame::Video) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | octx: &mut format::context::Output, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Video` in this scope [INFO] [stdout] --> examples/dump-frames.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn save_file(frame: &Video, index: usize) -> std::result::Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> examples/transcode-audio.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | let mut decoded = frame::Audio::empty(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Packet` [INFO] [stdout] --> examples/transcode-x264.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | let mut encoded = Packet::empty(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dictionary` [INFO] [stdout] --> examples/transcode-x264.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let mut dict = Dictionary::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Dictionary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | let mut ictx = format::input(&input).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> examples/transcode-x264.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | log::set_level(log::Level::Info); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-audio.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | let mut octx = format::output(&output).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> examples/transcode-x264.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | log::set_level(log::Level::Info); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let mut ictx = format::input(&input_file).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | let mut octx = format::output(&output_file).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | format::context::input::dump(&ictx, 0, Some(&input_file)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rescale` [INFO] [stdout] --> examples/transcode-audio.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | let position = position.rescale((1, 1), rescale::TIME_BASE); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `rescale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-x264.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | .best(media::Type::Video) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-x264.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | if ist_medium != media::Type::Audio [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-x264.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | && ist_medium != media::Type::Video [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-x264.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 190 | && ist_medium != media::Type::Subtitle [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `media` [INFO] [stdout] --> examples/transcode-x264.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | if ist_medium == media::Type::Video { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `encoder` [INFO] [stdout] --> examples/transcode-x264.rs:212:43 [INFO] [stdout] | [INFO] [stdout] 212 | let mut ost = octx.add_stream(encoder::find(codec::Id::None)).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codec` [INFO] [stdout] --> examples/transcode-x264.rs:212:57 [INFO] [stdout] | [INFO] [stdout] 212 | let mut ost = octx.add_stream(encoder::find(codec::Id::None)).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `format` [INFO] [stdout] --> examples/transcode-x264.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | format::context::output::dump(&octx, 0, Some(&output_file)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dictionary` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | x264_opts: Dictionary, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Packet` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | fn send_packet_to_decoder(&mut self, packet: &Packet) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rational` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | ost_time_base: Rational, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rational` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | Rational(timestamp.unwrap_or(0) as i32, 1) * self.decoder.time_base(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rational` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | ost_time_base: Rational, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dictionary` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | fn parse_opts<'a>(s: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rational` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:182:35 [INFO] [stdout] | [INFO] [stdout] 182 | let mut ist_time_bases = vec![Rational(0, 0); ictx.nb_streams() as _]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rational` in this scope [INFO] [stdout] --> examples/transcode-x264.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | let mut ost_time_bases = vec![Rational(0, 0); ictx.nb_streams() as _]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ffmpeg_next` [INFO] [stdout] --> examples/metadata.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ffmpeg_next as ffmpeg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 2 previous errors [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 10 previous errors [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 12 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `decoder` on type `&mut _` [INFO] [stdout] --> examples/transcode-x264.rs:241:66 [INFO] [stdout] | [INFO] [stdout] 241 | packet.rescale_ts(stream.time_base(), transcoder.decoder.time_base()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 39 previous errors [INFO] [stdout] error[E0599]: no method named `rescale` found for type `i64` in the current scope [INFO] [stdout] --> examples/transcode-audio.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | let position = position.rescale((1, 1), rescale::TIME_BASE); [INFO] [stdout] | ^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/util/mathematics/rescale.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn rescale(&self, source: S, destination: D) -> i64 [INFO] [stdout] | ------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use ffmpeg_next_crossfix::Rescale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpeg-next-crossfix` due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "6975b512f970daf28ad2237ce5c1015a96a9482d1661c95dacc2feb63540f4c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6975b512f970daf28ad2237ce5c1015a96a9482d1661c95dacc2feb63540f4c3", kill_on_drop: false }` [INFO] [stdout] 6975b512f970daf28ad2237ce5c1015a96a9482d1661c95dacc2feb63540f4c3