[INFO] fetching crate cairo-rs 0.20.7... [INFO] checking cairo-rs-0.20.7 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate cairo-rs 0.20.7 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cairo-rs 0.20.7 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cairo-rs 0.20.7 [INFO] finished tweaking crates.io crate cairo-rs 0.20.7 [INFO] tweaked toml for crates.io crate cairo-rs 0.20.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding freetype-rs v0.37.0 (available: v0.38.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb2fa56a3f75f70c5efbbfc7a0e9f126e1b0ff4425f14ade1f5739239aedae57 [INFO] running `Command { std: "docker" "start" "-a" "cb2fa56a3f75f70c5efbbfc7a0e9f126e1b0ff4425f14ade1f5739239aedae57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb2fa56a3f75f70c5efbbfc7a0e9f126e1b0ff4425f14ade1f5739239aedae57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2fa56a3f75f70c5efbbfc7a0e9f126e1b0ff4425f14ade1f5739239aedae57", kill_on_drop: false }` [INFO] [stdout] cb2fa56a3f75f70c5efbbfc7a0e9f126e1b0ff4425f14ade1f5739239aedae57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af4bdf390cde8679b12ec4074ac4d039b5f4862ad1fdd2fe366ed3ebe72e2f96 [INFO] running `Command { std: "docker" "start" "-a" "af4bdf390cde8679b12ec4074ac4d039b5f4862ad1fdd2fe366ed3ebe72e2f96", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cfg-expr v0.17.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling system-deps v7.0.3 [INFO] [stderr] Compiling glib-macros v0.20.7 [INFO] [stderr] Compiling glib-sys v0.20.9 [INFO] [stderr] Compiling gobject-sys v0.20.9 [INFO] [stderr] Compiling gio-sys v0.20.9 [INFO] [stderr] Compiling cairo-sys-rs v0.20.7 [INFO] [stderr] Checking glib v0.20.9 [INFO] [stderr] Checking cairo-rs v0.20.7 (/opt/rustwide/workdir) [INFO] [stdout] error: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/surface.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | Some(slice::from_raw_parts(data_ptr as *const u8, length as usize).to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/surface.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | let data_ptr: *mut u8 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/surface.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | Some(slice::from_raw_parts( [INFO] [stdout] | __________________^ [INFO] [stdout] 113 | | data_ptr as *const u8, [INFO] [stdout] 114 | | length as usize, [INFO] [stdout] 115 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/surface.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | let data_ptr: *mut u8 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-rs` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "af4bdf390cde8679b12ec4074ac4d039b5f4862ad1fdd2fe366ed3ebe72e2f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af4bdf390cde8679b12ec4074ac4d039b5f4862ad1fdd2fe366ed3ebe72e2f96", kill_on_drop: false }` [INFO] [stdout] af4bdf390cde8679b12ec4074ac4d039b5f4862ad1fdd2fe366ed3ebe72e2f96