[INFO] fetching crate cairo-rs-colors 0.15.0... [INFO] checking cairo-rs-colors-0.15.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate cairo-rs-colors 0.15.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cairo-rs-colors 0.15.0 [INFO] finished tweaking crates.io crate cairo-rs-colors 0.15.0 [INFO] tweaked toml for crates.io crate cairo-rs-colors 0.15.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cairo-rs-colors 0.15.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding cairo-sys-rs v0.14.9 (available: v0.21.1) [INFO] [stderr] Adding glib v0.14.8 (available: v0.21.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.0.11 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded cairo-sys-rs v0.14.9 [INFO] [stderr] Downloaded glib-macros v0.14.1 [INFO] [stderr] Downloaded cfg-expr v0.8.1 [INFO] [stderr] Downloaded freetype v0.7.2 [INFO] [stderr] Downloaded glib-sys v0.14.0 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded glib v0.14.8 [INFO] [stderr] Downloaded system-deps v3.2.0 [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded gobject-sys v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3119ec8991951f22e39c4eff59abfb50600cf658670c4778ebb34baef25a173d [INFO] running `Command { std: "docker" "start" "-a" "3119ec8991951f22e39c4eff59abfb50600cf658670c4778ebb34baef25a173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3119ec8991951f22e39c4eff59abfb50600cf658670c4778ebb34baef25a173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3119ec8991951f22e39c4eff59abfb50600cf658670c4778ebb34baef25a173d", kill_on_drop: false }` [INFO] [stdout] 3119ec8991951f22e39c4eff59abfb50600cf658670c4778ebb34baef25a173d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b319057ca2a27604036a4ea04f39360699d32094cf7caf3d080db20ba9c27df [INFO] running `Command { std: "docker" "start" "-a" "6b319057ca2a27604036a4ea04f39360699d32094cf7caf3d080db20ba9c27df", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.9 [INFO] [stderr] Checking glib v0.14.8 [INFO] [stderr] Checking cairo-rs-colors v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Antialias`, `HintMetrics`, `HintStyle`, `SubpixelOrder`, and `TextClusterFlags` [INFO] [stdout] --> src/font/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Antialias, FontSlant, FontType, FontWeight, HintMetrics, HintStyle, SubpixelOrder, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 9 | TextClusterFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Antialias`, `HintMetrics`, `HintStyle`, `SubpixelOrder`, and `TextClusterFlags` [INFO] [stdout] --> src/font/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Antialias, FontSlant, FontType, FontWeight, HintMetrics, HintStyle, SubpixelOrder, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 9 | TextClusterFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn acquire(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | pub fn acquire(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn acquire(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | pub fn acquire(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_surface.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn data(&mut self) -> Result, BorrowError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/paths.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn iter(&self) -> PathSegments { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn iter(&self) -> PathSegments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_surface.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn data(&mut self) -> Result, BorrowError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/paths.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn iter(&self) -> PathSegments { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn iter(&self) -> PathSegments<'_> { [INFO] [stdout] | ++++ [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: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: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] [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-colors` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cairo-rs-colors` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b319057ca2a27604036a4ea04f39360699d32094cf7caf3d080db20ba9c27df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b319057ca2a27604036a4ea04f39360699d32094cf7caf3d080db20ba9c27df", kill_on_drop: false }` [INFO] [stdout] 6b319057ca2a27604036a4ea04f39360699d32094cf7caf3d080db20ba9c27df