[INFO] cloning repository https://github.com/laterbuy/ffmeg-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laterbuy/ffmeg-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaterbuy%2Fffmeg-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaterbuy%2Fffmeg-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e31c5a811ca7df1a3a40115eec2abe70454b6111
[INFO] checking laterbuy/ffmeg-demo against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaterbuy%2Fffmeg-demo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  55% (296/529)
Updating files:  56% (297/529)
Updating files:  57% (302/529)
Updating files:  58% (307/529)
Updating files:  59% (313/529)
Updating files:  60% (318/529)
Updating files:  61% (323/529)
Updating files:  62% (328/529)
Updating files:  63% (334/529)
Updating files:  64% (339/529)
Updating files:  65% (344/529)
Updating files:  66% (350/529)
Updating files:  67% (355/529)
Updating files:  68% (360/529)
Updating files:  69% (366/529)
Updating files:  70% (371/529)
Updating files:  71% (376/529)
Updating files:  72% (381/529)
Updating files:  73% (387/529)
Updating files:  74% (392/529)
Updating files:  75% (397/529)
Updating files:  76% (403/529)
Updating files:  77% (408/529)
Updating files:  78% (413/529)
Updating files:  79% (418/529)
Updating files:  80% (424/529)
Updating files:  81% (429/529)
Updating files:  82% (434/529)
Updating files:  83% (440/529)
Updating files:  84% (445/529)
Updating files:  85% (450/529)
Updating files:  86% (455/529)
Updating files:  87% (461/529)
Updating files:  88% (466/529)
Updating files:  89% (471/529)
Updating files:  90% (477/529)
Updating files:  91% (482/529)
Updating files:  92% (487/529)
Updating files:  93% (492/529)
Updating files:  94% (498/529)
Updating files:  95% (503/529)
Updating files:  96% (508/529)
Updating files:  97% (514/529)
Updating files:  98% (519/529)
Updating files:  99% (524/529)
Updating files: 100% (529/529)
Updating files: 100% (529/529), done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/laterbuy/ffmeg-demo
[INFO] finished tweaking git repo https://github.com/laterbuy/ffmeg-demo
[INFO] tweaked toml for git repo https://github.com/laterbuy/ffmeg-demo written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laterbuy/ffmeg-demo on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laterbuy/ffmeg-demo 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88
[INFO] running `Command { std: "docker" "start" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling bindgen v0.72.1
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling ffmpeg-next v8.1.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling capture-encode v0.1.0 (/opt/rustwide/workdir/crates/capture-encode)
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking mediamtx-service v0.1.0 (/opt/rustwide/workdir/crates/mediamtx-service)
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling ffmpeg-sys-next v8.1.0
[INFO] [stderr]     Checking remote-control-server v0.1.0 (/opt/rustwide/workdir/crates/remote-control-server)
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> crates/capture-encode/src/api/stream.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Err(e) if stop.load(Ordering::Relaxed) => break,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> crates/capture-encode/src/api/stream.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Err(e) if stop.load(Ordering::Relaxed) => break,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h264_packet_bytes` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:332:4
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn h264_packet_bytes(packet: &Packet) -> Option<&[u8]> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `packet_bitstream_format` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn packet_bitstream_format(data: &[u8]) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nal_type_label` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:352:4
[INFO] [stdout]     |
[INFO] [stdout] 352 | fn nal_type_label(nal: &[u8]) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `describe_h264_packet` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:370:8
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub fn describe_h264_packet(packet: &Packet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_extradata` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn log_extradata(label: &str, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_streaming_packet` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:387:8
[INFO] [stdout]     |
[INFO] [stdout] 387 | pub fn log_streaming_packet(seq: usize, packet: &Packet, skipped: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h264_packet_bytes` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:332:4
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn h264_packet_bytes(packet: &Packet) -> Option<&[u8]> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `packet_bitstream_format` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn packet_bitstream_format(data: &[u8]) -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nal_type_label` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:352:4
[INFO] [stdout]     |
[INFO] [stdout] 352 | fn nal_type_label(nal: &[u8]) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `describe_h264_packet` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:370:8
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub fn describe_h264_packet(packet: &Packet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_extradata` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn log_extradata(label: &str, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_streaming_packet` is never used
[INFO] [stdout]    --> crates/capture-encode/src/encode/muxer.rs:387:8
[INFO] [stdout]     |
[INFO] [stdout] 387 | pub fn log_streaming_packet(seq: usize, packet: &Packet, skipped: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ffmpeg-demo v0.1.0 (/opt/rustwide/workdir/crates/app)
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `opts`
[INFO] [stdout]   --> crates/capture-encode/examples/01_list_sources.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let opts = ListSourcesOptions::new();
[INFO] [stdout]    |         ---- first assignment to `opts`
[INFO] [stdout] ...
[INFO] [stdout] 22 |                     opts = opts.display(d);
[INFO] [stdout]    |                     ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut opts = ListSourcesOptions::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0384`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `capture-encode` (example "01_list_sources") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/capture-encode/examples/03_encode.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut encode_opts = EncodeOptions::from_frame(&output, &frame, fps);
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `codec`
[INFO] [stdout]   --> crates/capture-encode/examples/03_encode.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let (source, output, frames, fps, codec) = parse_args()?;
[INFO] [stdout]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_codec`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> crates/capture-encode/examples/03_encode.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let width = frame.width();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> crates/capture-encode/examples/03_encode.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let height = frame.height();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> crates/capture-encode/examples/03_encode.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut codec: Option<String> = None;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88", kill_on_drop: false }`
[INFO] [stdout] 442258e52723d29b870c8beb38606c820c4d25c4f3f989bf22ae7a9c7ff82c88
