[INFO] fetching crate gdk 0.18.0... [INFO] checking gdk-0.18.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate gdk 0.18.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate gdk 0.18.0 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 gdk 0.18.0 [INFO] finished tweaking crates.io crate gdk 0.18.0 [INFO] tweaked toml for crates.io crate gdk 0.18.0 written to /workspace/builds/worker-2-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 61 packages to latest compatible versions [INFO] [stderr] Adding cairo-rs v0.18.5 (available: v0.20.5) [INFO] [stderr] Adding gdk-pixbuf v0.18.5 (available: v0.20.4) [INFO] [stderr] Adding gio v0.18.4 (available: v0.20.5) [INFO] [stderr] Adding glib v0.18.5 (available: v0.20.5) [INFO] [stderr] Adding pango v0.18.3 (available: v0.20.4) [INFO] [stderr] Adding toml v0.8.2 (available: v0.8.19) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.8) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b903e15ea18fa771023eced1c0e40861d808070ebed8e92c42662b2886c1916e [INFO] running `Command { std: "docker" "start" "-a" "b903e15ea18fa771023eced1c0e40861d808070ebed8e92c42662b2886c1916e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b903e15ea18fa771023eced1c0e40861d808070ebed8e92c42662b2886c1916e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b903e15ea18fa771023eced1c0e40861d808070ebed8e92c42662b2886c1916e", kill_on_drop: false }` [INFO] [stdout] b903e15ea18fa771023eced1c0e40861d808070ebed8e92c42662b2886c1916e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8728381b5f1d1589e41019276069d6e0c3c90927f16072795fa2419ed4c61300 [INFO] running `Command { std: "docker" "start" "-a" "8728381b5f1d1589e41019276069d6e0c3c90927f16072795fa2419ed4c61300", 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 winnow v0.5.40 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.68 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking gdk v0.18.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/auto/frame_clock.rs (7 fixes) [INFO] [stderr] Fixed src/auto/enums.rs (31 fixes) [INFO] [stderr] Fixed src/cairo_interaction.rs (1 fix) [INFO] [stderr] Fixed src/auto/device_manager.rs (3 fixes) [INFO] [stderr] Fixed src/auto/keymap.rs (3 fixes) [INFO] [stderr] Fixed src/atom.rs (7 fixes) [INFO] [stderr] Fixed src/auto/screen.rs (5 fixes) [INFO] [stderr] Fixed src/auto/seat.rs (5 fixes) [INFO] [stderr] Fixed src/window.rs (2 fixes) [INFO] [stderr] Fixed src/auto/drag_context.rs (4 fixes) [INFO] [stderr] Fixed src/auto/display.rs (6 fixes) [INFO] [stderr] Fixed src/auto/device.rs (9 fixes) [INFO] [stderr] Fixed src/event.rs (6 fixes) [INFO] [stderr] Fixed src/auto/monitor.rs (10 fixes) [INFO] [stderr] Fixed src/auto/flags.rs (11 fixes) [INFO] [stderr] Fixed src/auto/window.rs (4 fixes) [INFO] [stderr] Fixed src/auto/display_manager.rs (2 fixes) [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_sys::gdk_event_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | copy => |ptr| ffi::gdk_event_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/event.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | /// A generic GDK event. [INFO] [stdout] 22 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "GdkEvent")] [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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_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 `gdk_sys::gdk_event_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | free => |ptr| ffi::gdk_event_free(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/event.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | /// A generic GDK event. [INFO] [stdout] 22 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "GdkEvent")] [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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 `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gdk_event_sequence_get_type(), ptr as *mut _) as *mut ffi::GdkEventSequence, [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/auto/event_sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | pub struct EventSequence(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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 `gdk_sys::gdk_event_sequence_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gdk_event_sequence_get_type(), ptr as *mut _) as *mut ffi::GdkEventSequence, [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 `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_event_sequence_get_type(), ptr as *mut _), [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/auto/event_sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | pub struct EventSequence(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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 `gdk_sys::gdk_event_sequence_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_event_sequence_get_type(), ptr as *mut _), [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 `gdk_sys::gdk_frame_timings_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/frame_timings.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::gdk_frame_timings_ref(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/auto/frame_timings.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / glib::wrapper! { [INFO] [stdout] 8 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 9 | | pub struct FrameTimings(Shared); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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 `gdk_sys::gdk_frame_timings_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/frame_timings.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::gdk_frame_timings_unref(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/auto/frame_timings.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / glib::wrapper! { [INFO] [stdout] 8 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 9 | | pub struct FrameTimings(Shared); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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 `gdk_sys::gdk_rgba_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rgba.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::gdk_rgba_free(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 `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rectangle.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_rectangle_get_type(), ptr as *mut _), [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 `gdk_sys::gdk_rectangle_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rectangle.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_rectangle_get_type(), ptr as *mut _), [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] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/check_gir.rs from 2021 edition to 2024 [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_sys::gdk_event_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | copy => |ptr| ffi::gdk_event_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/event.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | /// A generic GDK event. [INFO] [stdout] 22 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "GdkEvent")] [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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_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 `gdk_sys::gdk_event_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | free => |ptr| ffi::gdk_event_free(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/event.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / glib::wrapper! { [INFO] [stdout] 21 | | /// A generic GDK event. [INFO] [stdout] 22 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 23 | | #[doc(alias = "GdkEvent")] [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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 `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gdk_event_sequence_get_type(), ptr as *mut _) as *mut ffi::GdkEventSequence, [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/auto/event_sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | pub struct EventSequence(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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 `gdk_sys::gdk_event_sequence_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gdk_event_sequence_get_type(), ptr as *mut _) as *mut ffi::GdkEventSequence, [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 `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_event_sequence_get_type(), ptr as *mut _), [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/auto/event_sequence.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | pub struct EventSequence(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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 `gdk_sys::gdk_event_sequence_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/event_sequence.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_event_sequence_get_type(), ptr as *mut _), [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 `gdk_sys::gdk_frame_timings_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/frame_timings.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ref => |ptr| ffi::gdk_frame_timings_ref(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/auto/frame_timings.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / glib::wrapper! { [INFO] [stdout] 8 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 9 | | pub struct FrameTimings(Shared); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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 `gdk_sys::gdk_frame_timings_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/frame_timings.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | unref => |ptr| ffi::gdk_frame_timings_unref(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/auto/frame_timings.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / glib::wrapper! { [INFO] [stdout] 8 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 9 | | pub struct FrameTimings(Shared); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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 `gdk_sys::gdk_rgba_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rgba.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | free => |ptr| ffi::gdk_rgba_free(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 `glib::gobject_sys::g_boxed_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rectangle.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_rectangle_get_type(), ptr as *mut _), [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 `gdk_sys::gdk_rectangle_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/rectangle.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_rectangle_get_type(), ptr as *mut _), [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] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/check_event.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.96s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gdk v0.18.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "8728381b5f1d1589e41019276069d6e0c3c90927f16072795fa2419ed4c61300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8728381b5f1d1589e41019276069d6e0c3c90927f16072795fa2419ed4c61300", kill_on_drop: false }` [INFO] [stdout] 8728381b5f1d1589e41019276069d6e0c3c90927f16072795fa2419ed4c61300