[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#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [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] 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] validating manifest of git repo https://github.com/nklnkl/rust-stream on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f9e4cf0440733c84c5ed6aa11bc8bdb3908c4f4a0457d3ac04f4ab15f2a9455 [INFO] running `Command { std: "docker" "start" "-a" "0f9e4cf0440733c84c5ed6aa11bc8bdb3908c4f4a0457d3ac04f4ab15f2a9455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f9e4cf0440733c84c5ed6aa11bc8bdb3908c4f4a0457d3ac04f4ab15f2a9455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f9e4cf0440733c84c5ed6aa11bc8bdb3908c4f4a0457d3ac04f4ab15f2a9455", kill_on_drop: false }` [INFO] [stdout] 0f9e4cf0440733c84c5ed6aa11bc8bdb3908c4f4a0457d3ac04f4ab15f2a9455 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 670a0193024d29162d226f7f7e8998136f0c8b54eac371bfea3c363a8338c11a [INFO] running `Command { std: "docker" "start" "-a" "670a0193024d29162d226f7f7e8998136f0c8b54eac371bfea3c363a8338c11a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling ffmpeg-next v6.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [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>( [INFO] [stdout] 239 | | path: &P, [INFO] [stdout] 240 | | options: Dictionary, [INFO] [stdout] 241 | | ) -> Result { [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[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; [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] error[E0599]: no method named `decode` found for struct `ffmpeg_next::decoder::Video` in the current scope [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] help: there is a method `decoder` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/codec/context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decoder(self) -> Decoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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>( [INFO] [stdout] 239 | | path: &P, [INFO] [stdout] 240 | | options: Dictionary, [INFO] [stdout] 241 | | ) -> Result { [INFO] [stdout] | |___________________________________- similarly named function `output_with` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-stream` (bin "rust-stream") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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; [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] error[E0599]: no method named `decode` found for struct `ffmpeg_next::decoder::Video` in the current scope [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] help: there is a method `decoder` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-next-6.1.1/src/codec/context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decoder(self) -> Decoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `rust-stream` (bin "rust-stream" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "670a0193024d29162d226f7f7e8998136f0c8b54eac371bfea3c363a8338c11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670a0193024d29162d226f7f7e8998136f0c8b54eac371bfea3c363a8338c11a", kill_on_drop: false }` [INFO] [stdout] 670a0193024d29162d226f7f7e8998136f0c8b54eac371bfea3c363a8338c11a