[INFO] cloning repository https://github.com/memorysafety/rav1d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memorysafety/rav1d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemorysafety%2Frav1d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemorysafety%2Frav1d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e1a34eca2b92c9b76c0d2123a098d8f8a183024 [INFO] checking memorysafety/rav1d against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemorysafety%2Frav1d" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/memorysafety/rav1d 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-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/memorysafety/rav1d [INFO] finished tweaking git repo https://github.com/memorysafety/rav1d [INFO] tweaked toml for git repo https://github.com/memorysafety/rav1d written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/memorysafety/rav1d 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f3136042dfd139b5c9009ed9c70d0e0f99b3099bac40de5f70e04e6d3bb1c9e [INFO] running `Command { std: "docker" "start" "-a" "4f3136042dfd139b5c9009ed9c70d0e0f99b3099bac40de5f70e04e6d3bb1c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3136042dfd139b5c9009ed9c70d0e0f99b3099bac40de5f70e04e6d3bb1c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3136042dfd139b5c9009ed9c70d0e0f99b3099bac40de5f70e04e6d3bb1c9e", kill_on_drop: false }` [INFO] [stdout] 4f3136042dfd139b5c9009ed9c70d0e0f99b3099bac40de5f70e04e6d3bb1c9e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e10ce99a3e8e0388864cb1da6e46361bc16f52d3e908a36c9075254895b37388 [INFO] running `Command { std: "docker" "start" "-a" "e10ce99a3e8e0388864cb1da6e46361bc16f52d3e908a36c9075254895b37388", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Checking raw-cpuid v11.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rav1d-cli v1.0.0 (/opt/rustwide/workdir/tools) [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Compiling rav1d v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling atomig-macro v0.3.0 [INFO] [stderr] Checking atomig v0.4.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking strum v0.26.3 [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: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 `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 `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 `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] 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/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 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 Dav1dPicture, Option>)); [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 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 Dav1dPicture, Option>)); [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `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 `rav1d` (lib) due to 5 previous errors; 4 warnings emitted [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 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 Dav1dPicture, Option>)); [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rav1d` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e10ce99a3e8e0388864cb1da6e46361bc16f52d3e908a36c9075254895b37388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10ce99a3e8e0388864cb1da6e46361bc16f52d3e908a36c9075254895b37388", kill_on_drop: false }` [INFO] [stdout] e10ce99a3e8e0388864cb1da6e46361bc16f52d3e908a36c9075254895b37388