[INFO] fetching crate cairo-rs 0.20.5... [INFO] checking cairo-rs-0.20.5 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate cairo-rs 0.20.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cairo-rs 0.20.5 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cairo-rs 0.20.5 [INFO] finished tweaking crates.io crate cairo-rs 0.20.5 [INFO] tweaked toml for crates.io crate cairo-rs 0.20.5 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741fc29f20d4325d8263e4d325bbf142abc9557031d404346db4fae6de5ebdf4 [INFO] running `Command { std: "docker" "start" "-a" "741fc29f20d4325d8263e4d325bbf142abc9557031d404346db4fae6de5ebdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741fc29f20d4325d8263e4d325bbf142abc9557031d404346db4fae6de5ebdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741fc29f20d4325d8263e4d325bbf142abc9557031d404346db4fae6de5ebdf4", kill_on_drop: false }` [INFO] [stdout] 741fc29f20d4325d8263e4d325bbf142abc9557031d404346db4fae6de5ebdf4 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db6332a5f582ec1279bf4a84c5dc8df4d63fc0dcc1161b46988397bf9a70c17 [INFO] running `Command { std: "docker" "start" "-a" "3db6332a5f582ec1279bf4a84c5dc8df4d63fc0dcc1161b46988397bf9a70c17", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cfg-expr v0.17.0 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling futures-macro 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.22 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling system-deps v7.0.3 [INFO] [stderr] Compiling glib-macros v0.20.5 [INFO] [stderr] Compiling glib-sys v0.20.5 [INFO] [stderr] Compiling gobject-sys v0.20.4 [INFO] [stderr] Compiling gio-sys v0.20.5 [INFO] [stderr] Compiling cairo-sys-rs v0.20.0 [INFO] [stderr] Checking glib v0.20.5 [INFO] [stderr] Checking cairo-rs v0.20.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/utils.rs (1 fix) [INFO] [stderr] Fixed src/font/user_fonts.rs (8 fixes) [INFO] [stderr] Fixed src/font/font_face.rs (3 fixes) [INFO] [stderr] Fixed src/rectangle.rs (4 fixes) [INFO] [stderr] Fixed src/enums.rs (2 fixes) [INFO] [stderr] Fixed src/rectangle_int.rs (4 fixes) [INFO] [stderr] Fixed src/paths.rs (1 fix) [INFO] [stderr] Fixed src/surface_macros.rs (6 fixes) [INFO] [stderr] Fixed src/region.rs (6 fixes) [INFO] [stderr] Fixed src/image_surface.rs (1 fix) [INFO] [stderr] Fixed src/user_data.rs (1 fix) [INFO] [stderr] Fixed src/font/scaled_font.rs (2 fixes) [INFO] [stderr] Fixed src/matrices.rs (4 fixes) [INFO] [stderr] Fixed src/lib.rs (7 fixes) [INFO] [stderr] Fixed src/patterns.rs (1 fix) [INFO] [stderr] Fixed src/device.rs (6 fixes) [INFO] [stderr] Fixed src/surface.rs (8 fixes) [INFO] [stderr] Fixed src/font/font_options.rs (1 fix) [INFO] [stderr] Fixed src/context.rs (6 fixes) [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_face_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_face.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | ref => |ptr| ffi::cairo_font_face_reference(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_face.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | #[doc(alias = "cairo_font_face_t")] [INFO] [stdout] 23 | | pub struct FontFace(Shared); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_face_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_face.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | unref => |ptr| ffi::cairo_font_face_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_face.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | #[doc(alias = "cairo_font_face_t")] [INFO] [stdout] 23 | | pub struct FontFace(Shared); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let ptr = ffi::cairo_font_options_copy(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_options.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / glib::wrapper! { [INFO] [stdout] 20 | | #[derive(Debug)] [INFO] [stdout] 21 | | #[doc(alias = "cairo_font_options_t")] [INFO] [stdout] 22 | | pub struct FontOptions(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let status = ffi::cairo_font_options_status(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | free => |ptr| ffi::cairo_font_options_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_options.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / glib::wrapper! { [INFO] [stdout] 20 | | #[derive(Debug)] [INFO] [stdout] 21 | | #[doc(alias = "cairo_font_options_t")] [INFO] [stdout] 22 | | pub struct FontOptions(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_scaled_font_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/scaled_font.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | ref => |ptr| ffi::cairo_scaled_font_reference(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/scaled_font.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug)] [INFO] [stdout] 16 | | #[doc(alias = "cairo_scaled_font_t")] [INFO] [stdout] 17 | | pub struct ScaledFont(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_scaled_font_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/scaled_font.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | unref => |ptr| ffi::cairo_scaled_font_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/scaled_font.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug)] [INFO] [stdout] 16 | | #[doc(alias = "cairo_scaled_font_t")] [INFO] [stdout] 17 | | pub struct ScaledFont(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_face_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_face.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | ref => |ptr| ffi::cairo_font_face_reference(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_face.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | #[doc(alias = "cairo_font_face_t")] [INFO] [stdout] 23 | | pub struct FontFace(Shared); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_face_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_face.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | unref => |ptr| ffi::cairo_font_face_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_face.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | #[doc(alias = "cairo_font_face_t")] [INFO] [stdout] 23 | | pub struct FontFace(Shared); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let ptr = ffi::cairo_font_options_copy(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_options.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / glib::wrapper! { [INFO] [stdout] 20 | | #[derive(Debug)] [INFO] [stdout] 21 | | #[doc(alias = "cairo_font_options_t")] [INFO] [stdout] 22 | | pub struct FontOptions(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let status = ffi::cairo_font_options_status(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_font_options_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/font_options.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | free => |ptr| ffi::cairo_font_options_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/font_options.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / glib::wrapper! { [INFO] [stdout] 20 | | #[derive(Debug)] [INFO] [stdout] 21 | | #[doc(alias = "cairo_font_options_t")] [INFO] [stdout] 22 | | pub struct FontOptions(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_scaled_font_reference` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/scaled_font.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | ref => |ptr| ffi::cairo_scaled_font_reference(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/scaled_font.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug)] [INFO] [stdout] 16 | | #[doc(alias = "cairo_scaled_font_t")] [INFO] [stdout] 17 | | pub struct ScaledFont(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cairo_sys::cairo_scaled_font_destroy` is unsafe and requires unsafe block [INFO] [stdout] --> src/font/scaled_font.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | unref => |ptr| ffi::cairo_scaled_font_destroy(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/font/scaled_font.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug)] [INFO] [stdout] 16 | | #[doc(alias = "cairo_scaled_font_t")] [INFO] [stdout] 17 | | pub struct ScaledFont(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.63s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cairo-rs v0.20.5 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "3db6332a5f582ec1279bf4a84c5dc8df4d63fc0dcc1161b46988397bf9a70c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db6332a5f582ec1279bf4a84c5dc8df4d63fc0dcc1161b46988397bf9a70c17", kill_on_drop: false }` [INFO] [stdout] 3db6332a5f582ec1279bf4a84c5dc8df4d63fc0dcc1161b46988397bf9a70c17