[INFO] fetching crate encode-webm-video-frames 0.4.4...
[INFO] checking encode-webm-video-frames-0.4.4 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate encode-webm-video-frames 0.4.4 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate encode-webm-video-frames 0.4.4 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate encode-webm-video-frames 0.4.4
[INFO] finished tweaking crates.io crate encode-webm-video-frames 0.4.4
[INFO] tweaked toml for crates.io crate encode-webm-video-frames 0.4.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded webm v1.1.0
[INFO] [stderr]   Downloaded libvpx-native-sys v5.0.13
[INFO] [stderr]   Downloaded imgref v1.10.1
[INFO] [stderr]   Downloaded webm-sys v1.0.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b2a6685427879b6f0d5ecd3e5ceeaf659f8bc391d67290b7603396f4edf42bb
[INFO] running `Command { std: "docker" "start" "-a" "1b2a6685427879b6f0d5ecd3e5ceeaf659f8bc391d67290b7603396f4edf42bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b2a6685427879b6f0d5ecd3e5ceeaf659f8bc391d67290b7603396f4edf42bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b2a6685427879b6f0d5ecd3e5ceeaf659f8bc391d67290b7603396f4edf42bb", kill_on_drop: false }`
[INFO] [stdout] 1b2a6685427879b6f0d5ecd3e5ceeaf659f8bc391d67290b7603396f4edf42bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8950342f6560114789ea216fcf3d5cef5fcca579815d36443bf854bc6292d696
[INFO] running `Command { std: "docker" "start" "-a" "8950342f6560114789ea216fcf3d5cef5fcca579815d36443bf854bc6292d696", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling webm-sys v1.0.5
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking rgb v0.8.37
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling libvpx-native-sys v5.0.13
[INFO] [stderr]     Checking webm v1.1.0
[INFO] [stderr]     Checking encode-webm-video-frames v0.4.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/vpxencoder.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/image.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/vpxencoder.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/image.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/vpxencoder.rs:163:73
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 let data = slice::from_raw_parts(frame.buf as *const _, frame.sz);
[INFO] [stdout]     |                            ---------------------                        ^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/slice/raw.rs:95:21
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 let data = slice::from_raw_parts(frame.buf as *const _, frame.sz.try_into().unwrap());
[INFO] [stdout]     |                                                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/vpxencoder.rs:163:73
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 let data = slice::from_raw_parts(frame.buf as *const _, frame.sz);
[INFO] [stdout]     |                            ---------------------                        ^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/slice/raw.rs:95:21
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 let data = slice::from_raw_parts(frame.buf as *const _, frame.sz.try_into().unwrap());
[INFO] [stdout]     |                                                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         assert!(y.buf.len() >= height * luma_stride, "bad buf size");
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         assert!(y.buf.len() >= height * luma_stride, "bad buf size");
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 y.buf.as_ptr() as *mut _ // FFI has needless mut here
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 y.buf.as_ptr() as *mut _ // FFI has needless mut here
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:43:40
[INFO] [stdout]    |
[INFO] [stdout] 43 |             assert_eq!(inner.img_data, y.buf.as_ptr() as *mut _, "bad img ptr");
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:43:40
[INFO] [stdout]    |
[INFO] [stdout] 43 |             assert_eq!(inner.img_data, y.buf.as_ptr() as *mut _, "bad img ptr");
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |             inner.planes[VPX_PLANE_Y as usize] = y.buf.as_ptr() as *mut _; // FFI has needless mut here
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `imgref::Img::buf`: Don't access struct fields directly. Use buf(), buf_mut() or into_buf()
[INFO] [stdout]   --> src/image.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |             inner.planes[VPX_PLANE_Y as usize] = y.buf.as_ptr() as *mut _; // FFI has needless mut here
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encode-webm-video-frames` (lib) due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encode-webm-video-frames` (lib test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8950342f6560114789ea216fcf3d5cef5fcca579815d36443bf854bc6292d696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8950342f6560114789ea216fcf3d5cef5fcca579815d36443bf854bc6292d696", kill_on_drop: false }`
[INFO] [stdout] 8950342f6560114789ea216fcf3d5cef5fcca579815d36443bf854bc6292d696
