[INFO] fetching crate encode-webm-video-frames 0.4.4... [INFO] testing encode-webm-video-frames-0.4.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate encode-webm-video-frames 0.4.4 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate encode-webm-video-frames 0.4.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding webm v1.1.2 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84814199782a297932cd6ef85a6573f513d53a2cbbe07d2b558b5bd28edbffb2 [INFO] running `Command { std: "docker" "start" "-a" "84814199782a297932cd6ef85a6573f513d53a2cbbe07d2b558b5bd28edbffb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84814199782a297932cd6ef85a6573f513d53a2cbbe07d2b558b5bd28edbffb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84814199782a297932cd6ef85a6573f513d53a2cbbe07d2b558b5bd28edbffb2", kill_on_drop: false }` [INFO] [stdout] 84814199782a297932cd6ef85a6573f513d53a2cbbe07d2b558b5bd28edbffb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5adf9237ad8b69aeb2aff8497de2500d8337dd2608b4ef796c6dd9c75f0676b [INFO] running `Command { std: "docker" "start" "-a" "b5adf9237ad8b69aeb2aff8497de2500d8337dd2608b4ef796c6dd9c75f0676b", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling webm-sys v1.0.7 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Compiling libvpx-native-sys v5.0.13 [INFO] [stderr] Compiling webm v1.1.2 [INFO] [stderr] Compiling encode-webm-video-frames v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | iface: iface, [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut vpx_codec_iface` [INFO] [stdout] found raw pointer `*const vpx_codec_iface` [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: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] 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 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b5adf9237ad8b69aeb2aff8497de2500d8337dd2608b4ef796c6dd9c75f0676b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5adf9237ad8b69aeb2aff8497de2500d8337dd2608b4ef796c6dd9c75f0676b", kill_on_drop: false }` [INFO] [stdout] b5adf9237ad8b69aeb2aff8497de2500d8337dd2608b4ef796c6dd9c75f0676b