[INFO] fetching crate rav1d 1.0.0... [INFO] checking rav1d-1.0.0 against master#068609ce766e55d2e7371cd2a86143a6d7e8e2e4 for pr-138952 [INFO] extracting crate rav1d 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rav1d 1.0.0 on toolchain 068609ce766e55d2e7371cd2a86143a6d7e8e2e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rav1d 1.0.0 [INFO] finished tweaking crates.io crate rav1d 1.0.0 [INFO] tweaked toml for crates.io crate rav1d 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding strum v0.26.3 (available: v0.27.1) [INFO] [stderr] Adding zerocopy v0.7.35 (available: v0.8.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomig v0.4.2 [INFO] [stderr] Downloaded atomig-macro v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64364f562a76cc97031d626b1da8a4399cfa29759528003da417baf23041142c [INFO] running `Command { std: "docker" "start" "-a" "64364f562a76cc97031d626b1da8a4399cfa29759528003da417baf23041142c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64364f562a76cc97031d626b1da8a4399cfa29759528003da417baf23041142c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64364f562a76cc97031d626b1da8a4399cfa29759528003da417baf23041142c", kill_on_drop: false }` [INFO] [stdout] 64364f562a76cc97031d626b1da8a4399cfa29759528003da417baf23041142c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9535992af28950bb70deb16ddc1820fc26c554ca2e3756fea848cb9178f43c7a [INFO] running `Command { std: "docker" "start" "-a" "9535992af28950bb70deb16ddc1820fc26c554ca2e3756fea848cb9178f43c7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Checking assert_matches v1.5.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.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking strum v0.26.3 [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 cb == marker::STDOUT => Rav1dLogger::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 cb == marker::STDERR => Rav1dLogger::Stderr, [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 = self.alloc_picture_callback == dav1d_default_picture_alloc; [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 = self.release_picture_callback == dav1d_default_picture_release; [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/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 cb == marker::STDOUT => Rav1dLogger::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 cb == marker::STDERR => Rav1dLogger::Stderr, [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 = self.alloc_picture_callback == dav1d_default_picture_alloc; [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 = self.release_picture_callback == dav1d_default_picture_release; [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "9535992af28950bb70deb16ddc1820fc26c554ca2e3756fea848cb9178f43c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9535992af28950bb70deb16ddc1820fc26c554ca2e3756fea848cb9178f43c7a", kill_on_drop: false }` [INFO] [stdout] 9535992af28950bb70deb16ddc1820fc26c554ca2e3756fea848cb9178f43c7a