[INFO] cloning repository https://github.com/nklnkl/rust-stream
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nklnkl/rust-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnklnkl%2Frust-stream", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnklnkl%2Frust-stream'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b68666952c094b15890f59d0afee62a7779f1806
[INFO] checking nklnkl/rust-stream against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnklnkl%2Frust-stream" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nklnkl/rust-stream on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nklnkl/rust-stream
[INFO] finished tweaking git repo https://github.com/nklnkl/rust-stream
[INFO] tweaked toml for git repo https://github.com/nklnkl/rust-stream written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nklnkl/rust-stream 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ffmpeg-sys-next v6.1.0
[INFO] [stderr]   Downloaded ffmpeg-next v6.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4f9d6e867abe53e2e57f5db6981db239190512dbf2acbb9347ee7644bd2d144
[INFO] running `Command { std: "docker" "start" "-a" "c4f9d6e867abe53e2e57f5db6981db239190512dbf2acbb9347ee7644bd2d144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4f9d6e867abe53e2e57f5db6981db239190512dbf2acbb9347ee7644bd2d144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4f9d6e867abe53e2e57f5db6981db239190512dbf2acbb9347ee7644bd2d144", kill_on_drop: false }`
[INFO] [stdout] c4f9d6e867abe53e2e57f5db6981db239190512dbf2acbb9347ee7644bd2d144
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11e2a6e9ec03d31d8baacfb9601d798c8e2a4201b54205afd4a47e1cf274b3aa
[INFO] running `Command { std: "docker" "start" "-a" "11e2a6e9ec03d31d8baacfb9601d798c8e2a4201b54205afd4a47e1cf274b3aa", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bindgen v0.64.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling ffmpeg-next v6.1.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling ffmpeg-sys-next v6.1.0
[INFO] [stderr]     Checking rust-stream v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `input_with` in module `ffmpeg::format`
[INFO] [stdout]    --> src/main.rs:24:36
[INFO] [stdout]     |
[INFO] [stdout] 24  |       let mut ictx = ffmpeg::format::input_with(&input_device, input_format)?;
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: a function with a similar name exists: `output_with`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/format/mod.rs:238:1
[INFO] [stdout]     |
[INFO] [stdout] 238 | / pub fn output_with<P: AsRef<Path>>(
[INFO] [stdout] 239 | |     path: &P,
[INFO] [stdout] 240 | |     options: Dictionary,
[INFO] [stdout] 241 | | ) -> Result<context::Output, Error> {
[INFO] [stdout]     | |___________________________________- similarly named function `output_with` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `input_with` in module `ffmpeg::format`
[INFO] [stdout]    --> src/main.rs:24:36
[INFO] [stdout]     |
[INFO] [stdout] 24  |       let mut ictx = ffmpeg::format::input_with(&input_device, input_format)?;
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: a function with a similar name exists: `output_with`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/format/mod.rs:238:1
[INFO] [stdout]     |
[INFO] [stdout] 238 | / pub fn output_with<P: AsRef<Path>>(
[INFO] [stdout] 239 | |     path: &P,
[INFO] [stdout] 240 | |     options: Dictionary,
[INFO] [stdout] 241 | | ) -> Result<context::Output, Error> {
[INFO] [stdout]     | |___________________________________- similarly named function `output_with` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]   --> src/main.rs:42:63
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() -> Result<(), ffmpeg::Error> {
[INFO] [stdout]    | -------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     let codec = ffmpeg::encoder::find(ffmpeg::codec::Id::H264)?;
[INFO] [stdout]    |                                                               ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ffmpeg_next::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]   --> src/main.rs:42:63
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() -> Result<(), ffmpeg::Error> {
[INFO] [stdout]    | -------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     let codec = ffmpeg::encoder::find(ffmpeg::codec::Id::H264)?;
[INFO] [stdout]    |                                                               ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ffmpeg_next::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encoder` found for struct `Codec` in the current scope
[INFO] [stdout]   --> src/main.rs:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut encoder = codec.encoder().video()?;
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/codec/traits.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn encoder(self) -> Option<Codec>;
[INFO] [stdout]    |        ------- the method is available for `Codec` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Encoder` which provides `encoder` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use ffmpeg_next::codec::traits::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `is_encoder` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut encoder = codec.is_encoder().video()?;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ffmpeg_next::decoder::Video::decode`: Underlying API avcodec_decode_video2 has been deprecated since FFmpeg 3.1; consider switching to send_packet() and receive_frame()
[INFO] [stdout]   --> src/main.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |             if decoder.decode(&packet, &mut decoded).is_ok() {
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encoder` found for struct `Codec` in the current scope
[INFO] [stdout]   --> src/main.rs:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut encoder = codec.encoder().video()?;
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/codec/traits.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn encoder(self) -> Option<Codec>;
[INFO] [stdout]    |        ------- the method is available for `Codec` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Encoder` which provides `encoder` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use ffmpeg_next::codec::traits::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `is_encoder` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut encoder = codec.is_encoder().video()?;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ffmpeg_next::decoder::Video::decode`: Underlying API avcodec_decode_video2 has been deprecated since FFmpeg 3.1; consider switching to send_packet() and receive_frame()
[INFO] [stdout]   --> src/main.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |             if decoder.decode(&packet, &mut decoded).is_ok() {
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-stream` (bin "rust-stream") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-stream` (bin "rust-stream" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "11e2a6e9ec03d31d8baacfb9601d798c8e2a4201b54205afd4a47e1cf274b3aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11e2a6e9ec03d31d8baacfb9601d798c8e2a4201b54205afd4a47e1cf274b3aa", kill_on_drop: false }`
[INFO] [stdout] 11e2a6e9ec03d31d8baacfb9601d798c8e2a4201b54205afd4a47e1cf274b3aa
