[INFO] fetching crate re_rav1d 0.1.3... [INFO] checking re_rav1d-0.1.3 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate re_rav1d 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate re_rav1d 0.1.3 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate re_rav1d 0.1.3 [INFO] finished tweaking crates.io crate re_rav1d 0.1.3 [INFO] tweaked toml for crates.io crate re_rav1d 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding zerocopy v0.7.35 (available: v0.8.14) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57d9f0c3e0be47d5e0b8885a2dcb7e8015d5b999927e5ca8611c46a8320968f7 [INFO] running `Command { std: "docker" "start" "-a" "57d9f0c3e0be47d5e0b8885a2dcb7e8015d5b999927e5ca8611c46a8320968f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57d9f0c3e0be47d5e0b8885a2dcb7e8015d5b999927e5ca8611c46a8320968f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d9f0c3e0be47d5e0b8885a2dcb7e8015d5b999927e5ca8611c46a8320968f7", kill_on_drop: false }` [INFO] [stdout] 57d9f0c3e0be47d5e0b8885a2dcb7e8015d5b999927e5ca8611c46a8320968f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e1b3d91ef7fbaeaa376b23cd70e4dcbc46de886923d67239ceb85248067e7f5 [INFO] running `Command { std: "docker" "start" "-a" "4e1b3d91ef7fbaeaa376b23cd70e4dcbc46de886923d67239ceb85248067e7f5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking raw-cpuid v11.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling re_rav1d v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling atomig-macro v0.3.0 [INFO] [stderr] Checking atomig v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking av-data v0.4.4 [INFO] [stdout] error: this conversion is useless `Rav1dFilterMode` to `Rav1dFilterMode` [INFO] [stdout] --> src/decode.rs:1287:59 [INFO] [stdout] | [INFO] [stdout] 1287 | case.set_disjoint(&dir.filter[0], filter[0].into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dFilterMode` to `Rav1dFilterMode` [INFO] [stdout] --> src/decode.rs:1288:59 [INFO] [stdout] | [INFO] [stdout] 1288 | case.set_disjoint(&dir.filter[1], filter[1].into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/decode.rs:3490:17 [INFO] [stdout] | [INFO] [stdout] 3490 | dav1d_partition_type_count[bl as usize].into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dFilmGrainData` to `Rav1dFilmGrainData` [INFO] [stdout] --> src/fg_apply.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let data_c = &data.clone().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dLoopfilterModeRefDeltas` to `Rav1dLoopfilterModeRefDeltas` [INFO] [stdout] --> src/lf_mask.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | let mr_deltas = hdr.loopfilter.mode_ref_deltas.clone().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/log.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | Some(cb) if cb == marker::STDOUT => Rav1dLogger::Stdout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 170 | Some(cb) if std::ptr::fn_addr_eq(cb, marker::STDOUT) => Rav1dLogger::Stdout, [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/log.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | Some(cb) if cb == marker::STDERR => Rav1dLogger::Stderr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 171 | Some(cb) if std::ptr::fn_addr_eq(cb, marker::STDERR) => Rav1dLogger::Stderr, [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/picture.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let alloc = self.alloc_picture_callback == dav1d_default_picture_alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 199 | let alloc = std::ptr::fn_addr_eq(self.alloc_picture_callback, dav1d_default_picture_alloc as unsafe extern "C" fn(*mut include::dav1d::picture::Dav1dPicture, Option>) -> Dav1dResult); [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/picture.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | let release = self.release_picture_callback == dav1d_default_picture_release; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 200 | let release = std::ptr::fn_addr_eq(self.release_picture_callback, dav1d_default_picture_release as unsafe extern "C" fn(*mut include::dav1d::picture::Dav1dPicture, Option>)); [INFO] [stdout] | +++++++++++++++++++++ ~ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dFilterMode` to `Rav1dFilterMode` [INFO] [stdout] --> src/decode.rs:1287:59 [INFO] [stdout] | [INFO] [stdout] 1287 | case.set_disjoint(&dir.filter[0], filter[0].into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dFilterMode` to `Rav1dFilterMode` [INFO] [stdout] --> src/decode.rs:1288:59 [INFO] [stdout] | [INFO] [stdout] 1288 | case.set_disjoint(&dir.filter[1], filter[1].into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/decode.rs:3490:17 [INFO] [stdout] | [INFO] [stdout] 3490 | dav1d_partition_type_count[bl as usize].into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dFilmGrainData` to `Rav1dFilmGrainData` [INFO] [stdout] --> src/fg_apply.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let data_c = &data.clone().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rav1dLoopfilterModeRefDeltas` to `Rav1dLoopfilterModeRefDeltas` [INFO] [stdout] --> src/lf_mask.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | let mr_deltas = hdr.loopfilter.mode_ref_deltas.clone().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/log.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | Some(cb) if cb == marker::STDOUT => Rav1dLogger::Stdout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 170 | Some(cb) if std::ptr::fn_addr_eq(cb, marker::STDOUT) => Rav1dLogger::Stdout, [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/log.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | Some(cb) if cb == marker::STDERR => Rav1dLogger::Stderr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 171 | Some(cb) if std::ptr::fn_addr_eq(cb, marker::STDERR) => Rav1dLogger::Stderr, [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/picture.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let alloc = self.alloc_picture_callback == dav1d_default_picture_alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 199 | let alloc = std::ptr::fn_addr_eq(self.alloc_picture_callback, dav1d_default_picture_alloc as unsafe extern "C" fn(*mut include::dav1d::picture::Dav1dPicture, Option>) -> Dav1dResult); [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/picture.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | let release = self.release_picture_callback == dav1d_default_picture_release; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 200 | let release = std::ptr::fn_addr_eq(self.release_picture_callback, dav1d_default_picture_release as unsafe extern "C" fn(*mut include::dav1d::picture::Dav1dPicture, Option>)); [INFO] [stdout] | +++++++++++++++++++++ ~ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `re_rav1d` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `re_rav1d` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e1b3d91ef7fbaeaa376b23cd70e4dcbc46de886923d67239ceb85248067e7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1b3d91ef7fbaeaa376b23cd70e4dcbc46de886923d67239ceb85248067e7f5", kill_on_drop: false }` [INFO] [stdout] 4e1b3d91ef7fbaeaa376b23cd70e4dcbc46de886923d67239ceb85248067e7f5